sob gw minta tolong di cek skrip js sederhana ini
[spoiler]document.write("<script type='text/javascript' src='http://h1.ripway.com/08121984/ini.txt''></script>");
document.write("<script type='text/javascript' src='http://h1.ripway.com/08121984/ini.txt''></script>");
document.write("<script type='text/javascript' src='http://h1.ripway.com/08121984/ini.txt''></script>");
//BAGIAN A
document.getElementById("shimrow").style.display="none";
getElementByClassName("rtd")[0].style.display="none";
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
get_nextsibling(getElementByClassName("ltd")[0]).style.display="none";
function get_nextsibling(n)
{
x=n.nextSibling;
while (x.nodeType!=1)
{
x=x.nextSibling;
}
return x;
}
function getElementByClassName(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
//css injection
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/basing666/theo.css ");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
//GOODBYE ALERT
function goodbye(){
alert('Nag Kmn Bro... ??? ');
alert('Buru2 Nian...??? ');
alert("Kpan-Kpan Maen Lgi e.....?!!!");
}parent.window.onunload=goodbye;
//onload handler
function onProfileLoad() {
//shortcut icon
var shortc = document.createElement("link");
shortc.rel = "SHORTCUT ICON";
shortc.href = "http://i281.photobucket.com/albums/kk218/agam789/FTI.png";
document.getElementsByTagName("head")[0].appendChild(shortc);
//Aquarium
var banyubiru= "<div align=\"center\"><embed src='http://www.layoutcodez.net/flashtoys/aquarium.swf' wmode='transparent' quality='high' width='470px' height='400px' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_strezzbox_165'); return false\"><div title=\"header=[Awas !!!] body=[JgN SaMpAi DiAmBiL IkAnnya <br><img src='http://www.planetsmilies.com/smilies/fighting/fighting0019.gif'>]\">"+pageOwnerFName+"'s <blink>Aquarium </blink></div></a>",banyubiru,"strezzbox_165",null);
show_hide('content_strezzbox_165');
var code= "<div align='center'><a href='http://www.friendster.com'><br><img src='http://images.friendster.com/images/friendster_nav_logo.png'></a></br><br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MESSAGE]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SETTINGS]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HELP]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HOME]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY PROFILE]\"><input type='button' value='My Connections' onClick=\"top.location.href='http://www.friendster.com/friends.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY CONNECTIONS]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[EXPLORE]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SEARCH]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[JOBS]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[INVITE]\"></br></br></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_navi'); return false\"><div title=\"header=[NAVIGATION] body=[Hello "+pageViewerFName+". Click Here 4 Navigation]\"><img src='http://i302.photobucket.com/albums/nn107/eriklupuz/Frederic-Metal-Smiey-GIF.gif'></div></a>",code,"navi","0");
//cbox
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='305' src='http://www5.cbox.ws/box/?boxid=294789&boxtag=rk0l71&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 0px solid;' id='cboxmain'></iframe><br/>"+
"<iframe frameborder='0' width='170%' height='115' src='http://www5.cbox.ws/box/?boxid=294789&boxtag=rk0l71&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 0px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>";
addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_cboxbox'); return false\"><div>"+pageOwnerFName+"'s <blink>Shoutbox </blink></div></a>",cbox,"cboxbox",null);
show_hide('content_cboxbox');
// FRIENDS
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><center><img src='http://i255.photobucket.com/albums/hh150/metropoliz/header%20font/plensky.png'></center></a>";
show_hide('content_2');
// GROUPS
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><center><img src='http://i255.photobucket.com/albums/hh150/metropoliz/header%20font/grupsky.png'></center></a>";
show_hide('content_8');
// FANS
h=document.getElementById("7").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><center><img src='http://i255.photobucket.com/albums/hh150/metropoliz/header%20font/pensop.png'></center></a>";
show_hide('content_7');
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else var ul=document.getElementById("2").parentNode.parentNode;
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
//BAGIAN C
//marquee status bar atas
<!--//
function tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "WeLcoMe To PrOfiLe ThIo Qcubunk,,,";
tb10_rptType = 'infinite';
tb10_rptNbr = 5;
tb10_speed = 100;
tb10_delay = 2000;
var tb10_wiper
var tb10_space="_"
var tb10_currMsg=0;
var tb10_counter=1;
var tb10_index=0
tb10_main()
function tb10_main()
{
document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);}
else{setTimeout('tb10_main()',tb10_speed)}
}
function tb10_reset_clear()
{
tb10_index=0
tb10_wiper=""
for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space}
tb10_clearem()
}
function tb10_clearem()
{
document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){
if (tb10_currMsg == tb10_messages.length-1){
if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){
document.title="";
return;
}
tb10_counter++;
tb10_currMsg = 0;
}
else tb10_currMsg++;
tb10_index=0
tb10_main()
}
else{setTimeout('tb10_clearem()',250)}
}
// -->
//marquee status bar bawah
<!--//
function doClock() {
window.setTimeout( "doClock()", 1000 );
today = new Date();
self.status = today.toString();
}
doClock()
// -->
// FLOATING JAM KANAN
wOOveR="<div id='divstayTopRight' style='position:absolute;z-index:50;'><embed src=\"http://i76.photobucket.com/albums/j2/flashclocks/zodiac/libra.swf\"class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=10788861&path=2008/07/09&mycolor=CC333F&mycolor2=EB6841&mycolor3=EDC951&autoplay=true&rand=0&f=4&vol=100&pat=13\" width=\"100\" height=\"100\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" /></div>";
paradise=document.getElementById('flo_wrapper');
hEaVen=document.createElement("div");
hEaVen.innerHTML=wOOveR;
paradise.parentNode.insertBefore(hEaVen,paradise);
var verticalpos="fromtop"
function bEkERkAnaN(){
var mulAiX = 30; var mulAiY = 250;
function cEt(siM){
if (document.getElementById){
var AiiE=document.getElementById(siM);}
else if (document.all){
var AiiE=document.all[siM];}
else{
var AiiE=document.layers[siM];}
if(document.layers){
AiiE.style=AiiE;}
AiiE.cUih = function(nO,yes) {mOchiE(nO,yes);};
function mOchiE(nO,yes){
AiiE.style.right=nO;
AiiE.style.top=yes;}
AiiE.nO = mulAiX;
if (verticalpos=="fromtop"){
AiiE.yes = mulAiY;}
else{
if (navigator.appName.indexOf("Netscape") != -1) {
AiiE.yes = pageYOffset + innerHeight;}
else{
AiiE.yes = document.body.scrollTop + document.body.clientHeight;
}
AiiE.yes -= mulAiY;}
return AiiE;}
window.stayTopRight = function () {cHiEMo();};
function cHiEMo(){
if (verticalpos=="fromtop"){
if (navigator.appName.indexOf("Netscape") != -1) {
var zEppEliN = pageYOffset;}
else {
var zEppEliN = document.body.scrollTop;}
sEcARa.yes += (zEppEliN + mulAiY - sEcARa.yes)/8; }
else {
if (navigator.appName.indexOf("Netscape") != -1) {
var zEppEliN = pageYOffset + innerHeight; }
else {
var zEppEliN = document.body.scrollTop + document.body.clientHeight;
}
sEcARa.yes += (zEppEliN - mulAiY - sEcARa.yes)/8; }
sEcARa.cUih(sEcARa.nO, sEcARa.yes);
oalaH=setTimeout("stayTopRight()", 50); }
sEcARa = cEt("divstayTopRight");
stayTopRight(); }
bEkERkAnaN();
/* FLOATING OBJECT (SHAKIRO214) ----------------------------- */
dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><div id='mainpic'></div></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=dude;
flow.parentNode.insertBefore(river,flow);
//in this part you can change it into "frombottom" or "fromtop"
var verticalpos="frombottom"
function BoyantDiv()
{
var startX = 800;
var startY = 250;
function ml(id)
{
if (document.getElementById)
{
var wek=document.getElementById(id);
}
else if (document.all)
{
var wek=document.all[id];
}
else
{
var wek=document.layers[id];
}
if(document.layers)
{
wek.style=wek;
}
wek.sP = function(x,y) {shino(x,y);};
function shino(x,y)
{
wek.style.left=x;
wek.style.top=y;
}
wek.x = startX;
if (verticalpos=="fromtop")
{
wek.y = startY;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
wek.y = pageYOffset + innerHeight;
}
else
{
wek.y = document.body.scrollTop + document.body.clientHeight;
}
wek.y -= startY;
}
return wek;
}
window.stayTopLeft = function () {boyant();};
function boyant()
{
if (verticalpos=="fromtop"){
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset;
}
else
{
var tenten = document.body.scrollTop;
}
ftlObj.y += (tenten + startY - ftlObj.y)/8;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset + innerHeight;
}
else
{
var tenten = document.body.scrollTop + document.body.clientHeight;
}
ftlObj.y += (tenten - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
wakoko=setTimeout("stayTopLeft()", 50);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
BoyantDiv();
// CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><center><img src='http://i255.photobucket.com/albums/hh150/metropoliz/propildatasky.png'></a>";
// PHOTOS
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><center><img src='http://i255.photobucket.com/albums/hh150/metropoliz/header%20font/photoLagi-1.png'></center></a>";
show_hide('content_1');
// MOREABOUT
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><center><img src='http://i255.photobucket.com/albums/hh150/metropoliz/header%20font/moreaboutsky.png'></a>";
show_hide('content_6');
// PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><center><img src='http://i255.photobucket.com/albums/hh150/metropoliz/testimonialsky.png'></a>";
show_hide('content_18');
function show_hide(the_box) {
if (document.getElementById(the_box)) {
if (document.getElementById(the_box).style.display == 'none') {
document.getElementById(the_box).style.display = 'block';
}
else {
document.getElementById(the_box).style.display = 'none';
}
}
}[/spoiler]
nih gw ngeditin pnya adek gw,,
tp waktu dibuka putih doang..
udah di cek kode js nya perasaan g ada iang salah..
pa link nya gak tau jg....
tolong di bantu ya bro..
tnk kiyu bro,,gw tunggu iaa...