2008-08-16 14:47:22

KaNaLiTnUk
» FTalkFreak
FTalk Level: zero
1911
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote=Alex_gokil]MISI OMZZZ ADA YANG TW GA NAPA FS AQ GA JALAN????[/quote] Coba scriptnya begini bro Alex :) [spoiler]document.getElementById("shimrow").setAttribute("style","display:none"); getElementByClassName("rtd")[0].setAttribute("style","display:none"); getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML; get_nextsibling(getElementByClassName("ltd")[0]).setAttribute("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; } //TITLE BAR var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = " http://h1.ripway.com/ROJER/agusfs/titel.js"; document.getElementsByTagName("head")[0].appendChild(myjs); var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://lerro.fileave.com/keren/link.js"; document.getElementsByTagName("head")[0].appendChild(myjs); 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/ROJER/agusfs/andu.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); // tooltips cursor document.write("<body title=\"header=[++> Hi "+pageViewerFName+" <++] body=[Powerted By franklerro<img src='http://i287.photobucket.com/albums/ll160/agonyskull/skull.gif'>]\">"); //Loading loader=new loader(); function loader() { this.hide=function() { lding.style.display='none'; } var lding = document.getElementById('navBg'); myWidth = screen.availWidth; myHeight = screen.availHeight; lding.style.zIndex=1000; lding.style.backgroundImage ="url(http://i137.photobucket.com/albums/q205/ezil2007/zaren/12345.gif)"; lding.style.backgroundRepeat='repeat'; lding.style.position = 'fixed'; lding.style.top = '0px'; lding.style.left = '0px'; lding.style.width = myWidth; lding.style.height = myHeight; lding.style.overflow = 'hidden'; lding.style.display=''; lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><font face='Papyrus' color='darkgreen' size='16'>"+pageViewerFName+" WELCOME TO MY PROFILE! <br><br><br><br>Loading.. Please Wait...</font><b><br><br><br><br><br><img src='http://i219.photobucket.com/albums/cc210/jaceejoef/loadindkx9.gif'/></center>"; } if ( ! attachOnLoadHandler(function () { loadBox();})) window.onload = function () { loadBox();}; function loadBox() { var ld=setTimeout("loader.hide()",4000); } function onProfileLoad() { //onlinenow under recent updates var onlinenow; try {onlinenow = document.createElement("div");} catch (e) {onlinenow = document.createElement("<div>");} onlinenow.innerHTML = "<img src='http://i331.photobucket.com/albums/l465/garyboypalabok/skull.gif' border='0'></a>"; onlinenow.setAttribute("style","text-align:right;padding-top:10px"); document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(onlinenow); var penyuberenang; try {penyuberenang = document.createElement("div");} catch (e) {penyuberenang = document.createElement("<div>");} penyuberenang.innerHTML = "<embed src='_ISI_image_mu_Ya_HEHEHE_' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' name='flashticker' align='middle'/>"; penyuberenang.setAttribute("style","text-align:center;padding-top:10px"); document.getElementById("controlPanelButtons").parentNode.appendChild(penyuberenang); //nav 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]\">NAVIGATION</div></a>",code,"navi","0"); //mp3 var mp3="<center style=\"line-height:0;\"><embed src=\"http://www.singingbox.com/singingbox.swf?user10=c,g,fj,z,wlse,q==\" wmode=\"transparent\" quality=\"high\" width=\"228\" height=\"140\" name=\"sbox\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed><br>"+ "<a href=\"http://www.singingbox.org/\" target=\"_blank\" style=\"line-height:20px;\">"+ "<img src=\"http://www.singingbox.com/i/33ff00/000000.gif\" border=\"0\" />"+ "</a></center>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_musik'); return false\"><div>music</div></a>",mp3,"musik",null); //clock var clock ="<div align='center'><embed src=\"http://www.toolshell.org/swfs/Firefox/firefox-1.swf?TimeZone=ICT&\"width=\"95%\" height=\"175\" wmode=\"transparent\" type=\"application/x-shockwave-flash\"></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke3'); return false\"><div>CloCK</div></a>",clock,"box_ke3",null); show_hide('content_box_ke3'); //vidio var video ="<div align='center'><embed src='http://www.youtube.com/watch?v=mUJxHGV3cl8' type='application/x-shockwave-flash' width='425'height='344'></embed></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke4'); return false\"><div>"+pageOwnerFName+" VidEo</div></a>",video,"box_ke4",null); show_hide('content_box_ke4'); // FRIENDS h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>"+pageOwnerFName+"\'s Friends</div></a>"; show_hide('content_2'); // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>"+pageOwnerFName+"\'s a FanS</div></a>"; show_hide('content_7'); // GROUPS h=document.getElementById("8").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>"+pageOwnerFName+"\'s Groups</div></a>"; show_hide('content_8'); } 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 APPEND INSERTBEFORE */ 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); } } // CONTROLPANEL h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</div></a>"; // PHOTOS h=document.getElementById("1").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>"+pageOwnerFName+"\'s Photo Gallery</div></a>"; show_hide('content_1'); // MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>"; show_hide('content_6'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>"+pageOwnerFName+"\'s TestimoniaL</div></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'; } } } if (!attachOnLoadHandler(function() { SPAWNPIC.init(); })) window.onload = function() { SPAWNPIC.init(); }; if (typeof SPAWNPIC == "undefined" || !SPAWNPIC) { SPAWNPIC = window.SPAWNPIC || {}; } (function() { SPAWNPIC = { // private property photo: null, info: { name: null, photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { name: /controlpanel_header">([\S\s]*?)<a\s*name="controlpanel/i, photo: /imgblock200"><a[\S\s]*?>([\S\s]*?)<\/a><\/div>/i, gender: /q">([\S]*male)/i, age: /male,\s*([\d]*),/i, status: /male,\s*[\d]*,\s*([\S\s]*?)<\/span>/i, location: /Location\:\s*<\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /Interested\s*In\:\s*<\/span>([\S\s]*?)<\/li>/i, since: /Member\s*Since\:\s*<\/span>([\S\s]*?)<\/li>/i }, init: function() { try { SPAWNPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, SPAWNPIC.viewer, null); } catch(e) {} }, viewer: function(mypic) { if (mypic.replace(/^\s*|\s*$/g, "") === null) { alert("VMP Error: Unable to parse user details!"); return; } else if (mypic) { for (var val in SPAWNPIC.info) { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/^(\d)$/, "0$1"); } catch(e) { SPAWNPIC.info[val] = ""; } } var status = SPAWNPIC.info.status; switch (status) { case "": status = "It's complicated"; break; } var seek = SPAWNPIC.info.seek; switch (seek) { case "": seek = "Just looking around"; break; } SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" + "<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" + SPAWNPIC.info.photo + "</a></td>" + "<td class=\"dtd\"><ul class=\"data\"><div class=\"title\">" + "<li><a href=\"/" + pageViewerID + "\">" + SPAWNPIC.info.name + "</a><br>" + pageViewerID.replace(/^\s*[\d]*?/gi, "No. ID FS Kamu: ") + "<br>" + SPAWNPIC.info.gender + ", " + SPAWNPIC.info.age + ", " + status + "<br>" + "Interest In :" + seek + "<br>" + SPAWNPIC.info.since.replace(/^\s*[\w]*?/gi, "Join di FS sejak :") + "<br>" + SPAWNPIC.info.location.replace(/^\s*[\S\s]*?/gi, "Negara Favorit :") + "</li>" + "</div></ul></td></tr></table></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_spawnpic'); return false\"><blink>Hello "+pageViewerFName+"</blink></a>", SPAWNPIC.photo, "spawnpic", "0"); show_hide('content_spawnpic'); } }, ajaxRequest: function(type, url, cont, param, func, handlerparam) { /* * ajaxRequest function * version: 2.1 * Copyright: ALEX_GOKIL © http://profiles.friendster.com/54967670 * * @type: "GET" | "POST" * @cont: true | false * @param: param | null */ var httprequest = null; var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"]; for (var x = 0, len = msxml.length; x < len; x++) { try { httprequest = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(msxml[x]); break; } catch(e) { httprequest = null; } } if (typeof func === "function") { httprequest.onreadystatechange = function() { if (httprequest.readyState === 4) { if (httprequest.status === 200) { func(httprequest.responseText, handlerparam); } } }; } httprequest.open(type, url, cont); httprequest.setRequestHeader("ajaxRequest", "true"); httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest"); if (type === "POST") { var contentLength = param ? param.length: 0; httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); httprequest.setRequestHeader("Content-length", contentLength); if (httprequest.overrideMimeType) { httprequest.setRequestHeader("Connection", "close"); } } httprequest.send(param); } }; })(); /* FLOATING OBJECT (SHAKIRO214) */ dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://images.friendster.com/images/friendster_nav_logo.png'><br><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 = 15; var startY = 170; 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(); /* VISITOR PICTURE (ALEX_GOKIL) --------------------------------- */ if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();}; function viewer() { if(pageViewerID!="") VIEWERPIC.init(); } function spawnImage(mypic) { if (!mypic) { VIEWERPIC.getCode(); return; }else { for (val in VIEWERPIC.info) { try { VIEWERPIC.getPhoto = new RegExp(VIEWERPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); document.getElementById("mainpic").innerHTML = VIEWERPIC.getPhoto; } catch(e) { VIEWERPIC.getPhoto = ""; document.getElementById("mainpic").innerHTML = ""; } } } } if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; } VIEWERPIC = { getPhoto: [], info: { photo: null }, regexp: { photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/ }, init: function() { if(document.getElementById("mainpic") != null) { this.ajaxRequest("/user.php?uid="+pageViewerID,54967670"spawnImage",null); } }, ajaxRequest: function(url,ajaxfunc,handler) { if(handler) { handler = ","+handler; } else handler = ""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(ajaxfunc) { eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}"); } httprequest.open('GET', url, true); httprequest.send(null); } }; /******* Floating MP3 ********/ wOOveR="<div id='divstayTopRight' style='position:absolute;z-index:50;'><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://assets.myflashfetish.com/swf/mp3/mff-circle.swf\"class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' quality=\"high\" wmode=\"transparent\" flashvars=\"myid=10866717&path=2008/07/12&mycolor=2E0F2C&mycolor2=5C0617&mycolor3=68A663&autoplay=true&rand=0&f=4&vol=100&pat=0\" width=\"150\" height=\"200\" 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="frombottom" function bEkERkAnaN(){ var mulAiX = 40; var mulAiY = 300; 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=="frombottom"){ 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=="frombottom"){ 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();[/spoiler]

Board footer

© 2024 F Talk

Current time is 09:36

[ 12 queries - 0.553 second ]
Privacy Policy