2008-10-11 01:12:17

jujum
» FTalkElite
FTalk Level: zero
4080
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

[quote=jay_chou]coba liat kode aq[/quote] Coba digini'in... :thumbsdown: [spoiler][quote]/*============================================= || ultra maniac girl layout || dont steal maii code and dont modify without maii permission dont remove this! CREDIT : ►Friendstertalk forum ►All hail class-s ►All Member Friendstertalk © kevin LAYOUT 2008 ================================================*/ /* --------------------------------------- TITLE BAR --- */ function tb8_makeArray(n){ this.length = n; return this.length; } tb8_messages = new tb8_makeArray(1); tb8_messages[0] = ".::welcome in my profile::."; tb8_rptType = 'infinite'; tb8_rptNbr = 5; tb8_speed = 100; tb8_delay = 2000; var tb8_counter=1; var tb8_currMsg=0; var tb8_tekst =""; var tb8_i=0; var tb8_TID = null; function tb8_pisi(){ tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1); document.title = tb8_tekst; tb8_sp=tb8_speed; tb8_i++; if (tb8_i==tb8_messages[tb8_currMsg].length){ tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay; } if (tb8_currMsg == tb8_messages.length){ if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){ clearTimeout(tb8_TID); return; } tb8_counter++; tb8_currMsg = 0; } tb8_TID = setTimeout("tb8_pisi()", tb8_sp); } tb8_pisi() /*-------------------------------------------------------------loading time*/ var from_time = new Date(); from_time = from_time.getTime(); function show_loading_time() { var to_time = new Date(); to_time = to_time.getTime(); var secs = (to_time - from_time) /1000; alert("Hanya "+secs+" detik Untuk membuka Profil "+pageOwnerFName+"") } document.write('<body onLoad="show_loading_time()">') ; /* ------------------------------------------------------ favicon by Xavierkym */ var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://i33.tinypic.com/2zpkwzq.png"; document.getElementsByTagName("head")[0].appendChild(icon); /* --------------------------------------------------------------------------- CSS INJECTION */ var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = " http://h1.ripway.com/kevinzzz/ayouyuna.css "; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); /* --------------------------------------------------------------*/ if(pageViewerID==""){ alert("Please log in your Friendster account to view my page!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } 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'; } } } /*------------------------------------------style forum----------------*/ /*CUSTOM COMMENT*/ var akoay ="<img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif'> <img src='http://img153.imageshack.us/img153/8171/cupukisruh1ru5.png'> <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif'>"; document.getElementsByTagName('h1')[0].innerHTML="<center>"+akoay+"</center>"; function forumstyle() { var nbsp = "&nb"+"sp;"; for ( var i = 0; i < 10; i++) {document.getElementById("content_18").getElementsByTagName("ul")[i].innerHTML+="<br><hr><br><br><span style=\"padding-left:100px !important\"><a href=\"#quickreply\"><b>REPLY</b></a>"+nbsp+nbsp+" | "+nbsp+nbsp+"<a href=\"#quickreply\" onClick=\"quote("+i+");\"><b>QUOTE</b></a></span>";} var online="<span style=\"color:#006600\"><b>Online</b></span>"; document.getElementById("content_18").getElementsByTagName("td")[0].innerHTML +="<br>Posts: 98980<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/6.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[2].innerHTML +="<br>Posts: 74352<br><br><img src=\"http://www.planetsmilies.com/smilies/ashamed/ashamed0002.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[4].innerHTML +="<br>Posts: 55213<br><br><img src=\"http://www.planetsmilies.com/smilies/ashamed/ashamed0005.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[6].innerHTML +="<br>Posts: 43020<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/69.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[8].innerHTML +="<br>Posts: 20500<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/77.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[10].innerHTML +="<br>Posts: 18745<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[12].innerHTML +="<br>Posts: 7200<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[14].innerHTML +="<br>Posts: 5567<br><br><img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/111.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[16].innerHTML +="<br>Posts: 450<br><br><img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/36.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[18].innerHTML +="<br>Posts: 120<br><br><img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/63.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML+="<div class=\"viewall\"><span id=\"komenbutton\" style=\"position:relative; right:30px\"><input type=\"button\" name=\"addkomen\" value=\"Post New\" class=\"mybutton\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',1000);setTimeout('komenPage()',7000);\"></span><span id=\"pleasewait\" style=\"display:none;\">Please Wait...</span><b>..:[[ PERATURAN COMENT DI SINI ]]:..<br><br>"+ "1. JANGAN BAWA MAKANAN DARI LUAR<br>"+ "2. JANGAN NGIRIM GAMBAR YANG MENIMBULKAN BIRAHI<br>"+ " Tapi KLO LANGGSUNG KASIH FILM NYA BOLEH Juga TU.. :P~<br>"+ "3. JANGAN MENYATAKAN CINTA KE GW DI SINI!! <img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif\"></div>"; document.getElementById("content_18").getElementsByTagName("div")[22].innerHTML = "<div class=\"viewall\" id=\"quickreply\"><center><form name=\"testimonial_form\" method=\"post\"><input type=\"hidden\" name=\"testimonial_firstname\" value=\""+pageOwnerFName+"\"><input type=\"hidden\" name=\"testimonial_uid\" value=\""+pageViewerID+"\"><input type=\"hidden\" name=\"_submitted\" value=\"1\"><textarea style=\"width: 400px; height: 100px;\" rows=\"5\" cols=\"60\" name=\"body\" title=\"header=[Wanna say sumthin?] body=[Just enter your comment here. Thank you very much!]\"></TEXTAREA><br><input readonly type=\"hidden\" name=\"inputcount\" size=\"5\" maxlength=\"4\" value=\"500\"><input type=\"button\" name=\"Submit\" onMouseOver=\"window.status='Post';return true;\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Post\" class=\"mybutton\"><input type=\"reset\" name=\"autoreset\" value=\"Reset\" class=\"mybutton\"><br></form></center></div>"; } if (!attachOnLoadHandler(function(){forumstyle()})) window.onload = function(){forumstyle()}; /*----------------------------------------*/ //onload handler function onProfileLoad() { repcomment(); /*------------------------------------------style forum----------------*/ /*CUSTOM COMMENT*/ var akoay ="<img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif'> <img src='http://img153.imageshack.us/img153/8171/cupukisruh1ru5.png'> <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif'>"; document.getElementsByTagName('h1')[0].innerHTML="<center>"+akoay+"</center>"; function forumstyle() { var nbsp = "&nb"+"sp;"; for ( var i = 0; i < 10; i++) {document.getElementById("content_18").getElementsByTagName("ul")[i].innerHTML+="<br><hr><br><br><span style=\"padding-left:100px !important\"><a href=\"#quickreply\"><b>REPLY</b></a>"+nbsp+nbsp+" | "+nbsp+nbsp+"<a href=\"#quickreply\" onClick=\"quote("+i+");\"><b>QUOTE</b></a></span>";} var online="<span style=\"color:#006600\"><b>Online</b></span>"; document.getElementById("content_18").getElementsByTagName("td")[0].innerHTML +="<br>Posts: 98980<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/6.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[2].innerHTML +="<br>Posts: 74352<br><br><img src=\"http://www.planetsmilies.com/smilies/ashamed/ashamed0002.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[4].innerHTML +="<br>Posts: 55213<br><br><img src=\"http://www.planetsmilies.com/smilies/ashamed/ashamed0005.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[6].innerHTML +="<br>Posts: 43020<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/69.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[8].innerHTML +="<br>Posts: 20500<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/77.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[10].innerHTML +="<br>Posts: 18745<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[12].innerHTML +="<br>Posts: 7200<br><br><img src=\"http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[14].innerHTML +="<br>Posts: 5567<br><br><img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/111.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("td")[16].innerHTML +="<br>Posts: 450<br><br><img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/36.gif\"><br><br>"+online+"<br>"; document.getElementById("content_18").getElementsByTagName("td")[18].innerHTML +="<br>Posts: 120<br><br><img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/63.gif\"><br><br>Offline<br>"; document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML+="<div class=\"viewall\"><span id=\"komenbutton\" style=\"position:relative; right:30px\"><input type=\"button\" name=\"addkomen\" value=\"Post New\" class=\"mybutton\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',1000);setTimeout('komenPage()',7000);\"></span><span id=\"pleasewait\" style=\"display:none;\">Please Wait...</span><b>..:[[ PERATURAN COMENT DI SINI ]]:..<br><br>"+ "1. JANGAN BAWA MAKANAN DARI LUAR<br>"+ "2. JANGAN NGIRIM GAMBAR YANG MENIMBULKAN BIRAHI<br>"+ " Tapi KLO LANGGSUNG KASIH FILM NYA BOLEH Juga TU.. :P~<br>"+ "3. JANGAN MENYATAKAN CINTA KE GW DI SINI!! <img src=\"http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif\"></div>"; document.getElementById("content_18").getElementsByTagName("div")[22].innerHTML = "<div class=\"viewall\" id=\"quickreply\"><center><form name=\"testimonial_form\" method=\"post\"><input type=\"hidden\" name=\"testimonial_firstname\" value=\""+pageOwnerFName+"\"><input type=\"hidden\" name=\"testimonial_uid\" value=\""+pageViewerID+"\"><input type=\"hidden\" name=\"_submitted\" value=\"1\"><textarea style=\"width: 400px; height: 100px;\" rows=\"5\" cols=\"60\" name=\"body\" title=\"header=[Wanna say sumthin?] body=[Just enter your comment here. Thank you very much!]\"></TEXTAREA><br><input readonly type=\"hidden\" name=\"inputcount\" size=\"5\" maxlength=\"4\" value=\"500\"><input type=\"button\" name=\"Submit\" onMouseOver=\"window.status='Post';return true;\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Post\" class=\"mybutton\"><input type=\"reset\" name=\"autoreset\" value=\"Reset\" class=\"mybutton\"><br></form></center></div>"; } if (!attachOnLoadHandler(function(){forumstyle()})) } /* ------------------------------------------------------------- END TRACKER OBJECT */ if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function repcomment() { for ( var i = 0; i < 10; i++) { ulcmntx=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0]; licmntx=ulcmntx.getElementsByTagName("li")[0]; linkxcmnt=ulcmntx.getElementsByTagName("li")[0].getElementsByTagName("a")[0]; xcmntHref=linkxcmnt.getAttribute("href"); document.getElementById("content_18").getElementsByTagName("ul")[i].innerHTML+="<br><hr><br><span style=\"text-align:right !important\"><a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/comments.php?uid=")+"' style='background:#ffcc00;padding:0px;border:1px solid #ff9933!important;'><b>REPLY</b></a></span>";} } /*MISC FUNCTIONS*/ 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); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { //by marfillaster //type 'POST' | 'GET' //cont 'true' | 'false' //param string | null //handler string | null //handlerparam string |null if(handlerparam) handlerparam=","+handlerparam; else handlerparam=""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}"); httprequest.open( type, url, cont); if(type=="POST") { httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); httprequest.setRequestHeader("Content-length", param.length); httprequest.setRequestHeader("Connection", "close"); } httprequest.send(param); } function invert(x) { if(x>0) return parseInt("-"+x); else if(x<0) { x=x+""; return parseInt(x.substr(1,x.length-1)); } return 0; } function randOrd(){ return (Math.round(Math.random())-0.5); } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } /*END MISC FUNCTIONS*/ //centered left box if (!attachOnLoadHandler(function(){leftBoxes()})) window.onload = function(){leftBoxes()}; function leftBoxes() { fixBox("0",null); //Cpanel fixBox("1",null); //Photos fixBox("13",null); //blogs fixBox("6",null); //MoreAbout fixBox("18",null); //Comments } function fixBox(boxID,set) { //by xavierkym //set "CUSTOM" | null //if "CUSTOM" set your settings in the function below /* Available default boxID RIGHT BOXES 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook */ var box; box = parent.document.getElementById(boxID); if (set == null) { box.style.position = "relative"; box.style.overflow = "auto"; box.style.overflowX = "hidden"; box.style.overflowY = "hidden"; box.style.left = "160px"; box.style.width = "490px"; } else if (set == "CUSTOM") { box.style.position = "relative"; box.style.overflow = "hidden"; box.style.left = "160px"; box.style.width = "490px"; } } //centered right box if (!attachOnLoadHandler(function(){rightBoxes()})) window.onload = function(){rightBoxes()}; function rightBoxes() { centerBox("2","6","UP",null); //Friends di bawah Blogs centerBox("7","6","DOWN",null); //Fanof di atas Media Box centerBox("8","18","UP",null); //Groups di ATAS Comments } function centerBox(boxID,sibling,insert,set) { //by xavierkym //insert "UP" | "DOWN" //set default is = null /* Available default boxID RIGHT BOXES 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = groups Available default sibling LEFT BOXES 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook */ var baseID; var cNode; var module; var box; baseID = document.getElementById(sibling); cNode = baseID.parentNode; module = document.getElementById(boxID); box = parent.document.getElementById(boxID); if (set == null) { box.style.position = "relative"; box.style.overflow = "auto"; box.style.overflowY = "hidden"; box.style.overflowX = "hidden"; box.style.left = "160px"; box.style.width = "490px"; } if (insert == "UP") { cNode.parentNode.insertBefore(module,cNode); } else if (insert == "DOWN") { cNode.appendChild(module); } } /* 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 = 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 (FERUZZ) --------------------------------- */ 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,"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); } }; /*============================================= || ultra maniac girl layout || dont steal maii code and dont modify without maii permission dont remove this! CREDIT : ►Friendstertalk forum ►All hail class-s ►All Member Friendstertalk © kevin LAYOUT 2008 ================================================*/ /* --------------------------------------- TITLE BAR --- */ function tb8_makeArray(n){ this.length = n; return this.length; } tb8_messages = new tb8_makeArray(1); tb8_messages[0] = ".::welcome in my profile::."; tb8_rptType = 'infinite'; tb8_rptNbr = 5; tb8_speed = 100; tb8_delay = 2000; var tb8_counter=1; var tb8_currMsg=0; var tb8_tekst =""; var tb8_i=0; var tb8_TID = null; function tb8_pisi(){ tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1); document.title = tb8_tekst; tb8_sp=tb8_speed; tb8_i++; if (tb8_i==tb8_messages[tb8_currMsg].length){ tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay; } if (tb8_currMsg == tb8_messages.length){ if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){ clearTimeout(tb8_TID); return; } tb8_counter++; tb8_currMsg = 0; } tb8_TID = setTimeout("tb8_pisi()", tb8_sp); } tb8_pisi() /*-------------------------------------------------------------loading time*/ var from_time = new Date(); from_time = from_time.getTime(); function show_loading_time() { var to_time = new Date(); to_time = to_time.getTime(); var secs = (to_time - from_time) /1000; alert("Hanya "+secs+" detik Untuk membuka Profil "+pageOwnerFName+"") } document.write('<body onLoad="show_loading_time()">') ; /* ------------------------------------------------------ favicon by Xavierkym */ var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://i33.tinypic.com/2zpkwzq.png"; document.getElementsByTagName("head")[0].appendChild(icon); /*-----------------------------------------------------quik reply------------------------------*/ var css = document.createElement("link"); function injectcss() { if(window.cssinjected == undefined) { cssinjected = 1; var css = document.createElement("link"); css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://project.smarterdos.co.cc/Friendster/komen.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); } }injectcss(); /* --------------------------------------------------------------------------- CSS INJECTION */ var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = " http://h1.ripway.com/kevinzzz/ultramainac.css "; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); /* --------------------------------------------------------------*/ if(pageViewerID==""){ alert("Please log in your Friendster account to view my page!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } 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'; } } } //onload handler function onProfileLoad() { repcomment(); } /* ------------------------------------------------------------- END TRACKER OBJECT */ if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function repcomment() { for ( var i = 0; i < 10; i++) { ulcmntx=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0]; licmntx=ulcmntx.getElementsByTagName("li")[0]; linkxcmnt=ulcmntx.getElementsByTagName("li")[0].getElementsByTagName("a")[0]; xcmntHref=linkxcmnt.getAttribute("href"); document.getElementById("content_18").getElementsByTagName("ul")[i].innerHTML+="<br><hr><br><span style=\"text-align:right !important\"><a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/comments.php?uid=")+"' style='background:#ffcc00;padding:0px;border:1px solid #ff9933!important;'><b>REPLY</b></a></span>";} } /*MISC FUNCTIONS*/ 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); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { //by marfillaster //type 'POST' | 'GET' //cont 'true' | 'false' //param string | null //handler string | null //handlerparam string |null if(handlerparam) handlerparam=","+handlerparam; else handlerparam=""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}"); httprequest.open( type, url, cont); if(type=="POST") { httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); httprequest.setRequestHeader("Content-length", param.length); httprequest.setRequestHeader("Connection", "close"); } httprequest.send(param); } function invert(x) { if(x>0) return parseInt("-"+x); else if(x<0) { x=x+""; return parseInt(x.substr(1,x.length-1)); } return 0; } function randOrd(){ return (Math.round(Math.random())-0.5); } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } /*END MISC FUNCTIONS*/ //centered left box if (!attachOnLoadHandler(function(){leftBoxes()})) window.onload = function(){leftBoxes()}; function leftBoxes() { fixBox("0",null); //Cpanel fixBox("1",null); //Photos fixBox("13",null); //blogs fixBox("6",null); //MoreAbout fixBox("18",null); //Comments } function fixBox(boxID,set) { //by xavierkym //set "CUSTOM" | null //if "CUSTOM" set your settings in the function below /* Available default boxID RIGHT BOXES 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook */ var box; box = parent.document.getElementById(boxID); if (set == null) { box.style.position = "relative"; box.style.overflow = "auto"; box.style.overflowX = "hidden"; box.style.overflowY = "hidden"; box.style.left = "160px"; box.style.width = "490px"; } else if (set == "CUSTOM") { box.style.position = "relative"; box.style.overflow = "hidden"; box.style.left = "160px"; box.style.width = "490px"; } } //centered right box if (!attachOnLoadHandler(function(){rightBoxes()})) window.onload = function(){rightBoxes()}; function rightBoxes() { centerBox("2","6","UP",null); //Friends di bawah Blogs centerBox("7","6","DOWN",null); //Fanof di atas Media Box centerBox("8","18","UP",null); //Groups di ATAS Comments } function centerBox(boxID,sibling,insert,set) { //by xavierkym //insert "UP" | "DOWN" //set default is = null /* Available default boxID RIGHT BOXES 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = groups Available default sibling LEFT BOXES 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook */ var baseID; var cNode; var module; var box; baseID = document.getElementById(sibling); cNode = baseID.parentNode; module = document.getElementById(boxID); box = parent.document.getElementById(boxID); if (set == null) { box.style.position = "relative"; box.style.overflow = "auto"; box.style.overflowY = "hidden"; box.style.overflowX = "hidden"; box.style.left = "160px"; box.style.width = "490px"; } if (insert == "UP") { cNode.parentNode.insertBefore(module,cNode); } else if (insert == "DOWN") { cNode.appendChild(module); } } /* 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 = 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 (FERUZZ) --------------------------------- */ 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,"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); } };[/quote] [/spoiler] Maaf kalau salah,...

Board footer

© 2024 F Talk

Current time is 07:52

[ 12 queries - 0.241 second ]
Privacy Policy