2008-09-29 09:18:57

h312y_sh
» FTalkFreak
FTalk Level: zero
1641
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=traNzisTa]ga bisa liad fs desii iia?[/quote] js nya ga da yg salah koq =) [spoiler]//force login 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"; } var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/siisongil/tabcontent.txt"; document.getElementsByTagName("head")[0].appendChild(myjs); var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "http://h1.ripway.com/siisongil/cssdesii.css"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); //shortcut icon var shortc = document.createElement("link"); shortc.rel = "SHORTCUT ICON"; shortc.href = "http://i233.photobucket.com/albums/ee151/traNzisTa/jack.gif"; document.getElementsByTagName("head")[0].appendChild(shortc); //onload handler function onProfileLoad() { //addboxes here //flash banner var ctHulhu = "<br><embed src='http://andha.fileave.com/fsbacktoschool/addons/bannerreal.swf' width='500' height='300'></embed>"; document.getElementById('marketing_bg').style.height='100%'; document.getElementById('marketing_bg').style.overflowY='hidden'; document.getElementById('marketing_bg').innerHTML = "<table width='100%'><tr><td align='center'>"+ctHulhu+"</td></tr></table>"; document.getElementById("content_14").innerHTML="<div><iframe frameborder='0' width='300' height='250' " +"src='http://pagead2.googlesyndication.com/pagead/ads?client=ca-friendster_btf_intl_js&dt=1209664661015&" +"lmt=1209576384&alternate_ad_url=http://images.friendster.com/images/remnant.html&targeting=site_content&" +"format=300x250_pas_abgnc&output=html&correlator=1209664661015&url=http://www.friendster.com&color_bg=000000&" +"color_text=b3b3b3&color_link=39618C&color_url=ffffff&color_border=414141&color_line=414141&ad_type=text_image_flash&" +"frm=0&cc=68&ga_vid=963961750795756500.1209664661&ga_sid=1209664661&ga_hid=1776963697&flash=9.0.115&u_h=768&" +"u_w=1024&u_ah=740&u_aw=1024&u_cd=16&u_tz=420&u_his=1&u_java=true&u_nplug=8&u_nmime=21'></iframe></div>" var kawanku = "<div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='49433366'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kadoni.jpg'></a></div><div class='dr'><a href='49433366'><div title=\"header=[TENTANG KAK DONI] body=[kakak yang narsis SANGAT. ngaku bakal jadi artis, disuruh audisi malah ga mau. SOK KEGANTENGAN. kata orang sih IA tapi ogah bagi desii. galak CEMEKE AND tapi tetep BAEK]\">ka.doni</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='36306080'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kaktiaz.jpg'></a></div><div class='dr'><a href='36306080'><div title=\"header=[TENTANG KAK TIAZ] body=[kakak angkad desii dari kelas 3 smp. galak gila²and tapi SERU. sayangs kamu kakando]\">ka.tiaz</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='31180360'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakdedi.jpg'></a></div><div class='dr'><a href='31180360'><div title=\"header=[TENTANG KAK DEDI] body=[tiap ketemu kakak pasti nyanyi. cuek sii,, tapi sebenernyo baeg. YAKINLAH.]\">ka.dedii</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='43228834'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakalem.jpg'></a></div><div class='dr'><a href='43228834'><div title=\"header=[TENTANG KAK ALEM] body=[senior desii. tapi dag pernah mandang junior apo senior. BAEK iohh.. MURAH SENYUM iiohh]\">ka.alemm</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='37147903'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/1_554633819l.jpg'></a></div><div class='dr'><a href='37147903'><div title=\"header=[TENTANG KAK ALDI] body=[orangnya narsis banged. ngaku banyak yang ngeFANS dia. omongannya selalu pedes sama desi sampe² desii dipanggil SONGIL | tapi orangnya baek kok. SANGAT. ga pernah sombong]\">ka.aldi</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='65932517'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/ayuusendiri.jpg'></a></div><div class='dr'><a href='65932517'><div title=\"header=[TENTANG AYU] body=[ayu ituhh imud, cerewed, ngerepotin | tapi menyenangkand. hHags. salah satu teman terbaikku :D]\">ayuw.ncceL</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='34930729'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/anggiekedua.jpg'></a></div><div class='dr'><a href='34930729'><div title=\"header=[TENTANG ANGGIE] body=[muludnya heboohhand. sama cerewednya | teman menggila di kelas sepuluh. hhags | teman terbaik jugga]\">gie.neh</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='44958376'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakvaza.jpg'></a></div><div class='dr'><a href='44958376'><div title=\"header=[TENTANG KAK VAZANI] body=[kakak tempad desii curhat. walau sekarang udah IDAK LAGII.. BAEG?? TENTUNYA]\">ka.vaza</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='40637287'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/popo.jpg'></a></div><div class='dr'><a href='40637287'><div title=\"header=[TENTANG BUSYRO] body=[popo tuh sahabad aku dari OROK | hhags. galak ngeBREAK samo SELINGKUH | PAKAM!!]\">po.po</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='32516109'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakaboo.jpg'></a></div><div class='dr'><a href='32516109'><div title=\"header=[TENTANG KAK TANTI] body=[kak aboo tuhh senior yang baaegg neand | hha.]\">ka.aboo</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='38497645'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakiki.jpg'></a></div><div class='dr'><a href='38497645'><div title=\"header=[TENTANG KAK IKI] body=[kak iki mahh orangnya cueg amaad]\">ka.iki</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='33728711'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakkin.jpg'></a></div><div class='dr'><a href='33728711'><div title=\"header=[TENTANG KAK IKIN] body=[banyak tingka!! hha. kak kin sok sibug sekarang. hobi merokok! ga baik tau kak]\">ka.kin</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='38225251'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/dadi.jpg'></a></div><div class='dr'><a href='38225251'><div title=\"header=[TENTANG DADI] body=[dadi orangnya baeg. iiahh walo kalo ngomong pake bahasa sunda. ramah mahh. terkadang suka buad kesel, tapi juga ambekan]\">ka.idadz</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='35437536'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kacleio.jpg'></a></div><div class='dr'><a href='35437536'><div title=\"header=[TENTANG KAK CLEIO] body=[kenal kak cleio di fti. kak clei yang suka ngingetin desii buad sabar :D baeg mampus gilaa]\">ka.cleio</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='57027964'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kaandha.jpg''></a></div><div class='dr'><a href='57027964'><div title=\"header=[TENTANG KAK ANDHA] body=[kak andha baeg. terkadang suka lebai mengatakan dirinya narsis. pinter beud buad flash! tapi mo merendah]\">ka.andha</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='49763947'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakveri.jpg'></a></div><div class='dr'><a href='49763947'><div title=\"header=[TENTANG KAK VERY] body=[kak very kakak nya dd yang kesekian. hha. apa iia?? suka berantem ga jelas. hhags* suka juga ngeledekin dia x)]\">ka.verii</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='60533683'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kabim.jpg'></a></div><div class='dr'><a href='60533683'><div title=\"header=[TENTANG KAK BIMBIM] body=[kabim enak diajak becanda. dd suka manggil dia KAMBING!! :P orang kalimantan antah berantah nii]\">ka.bim</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='57467791'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakandi.jpg'></a></div><div class='dr'><a href='57467791'><div title=\"header=[TENTANG KAK ANDI] body=[ga tau kenalnya dari mana. pertama kalii kesel soalnya ga telitian liad script. tapi sekarang udah mantep dahh ilmunya. TOKCERR kak dhie!]\">ka.dhie</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='34431506'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakaan.jpg'></a></div><div class='dr'><a href='34431506'><div title=\"header=[TENTANG KAK AAN] body=[mega senior mantan murid mamah!! hha. agak mudeng juga sii. ramahh iiakkk]\">ka.aan</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='22455455'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakaldy.jpg'></a></div><div class='dr'><a href='22455455'><div title=\"header=[TENTANG KAK ALDY] body=[anak jakarte!! hha. ngejekin dd dodol :P sok sok imud. hha PISS* kak]\">ka.aldy</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='35437536'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kakivan.jpg'></a></div><div class='dr'><a href='35437536'><div title=\"header=[TENTANG KAK IVAN] body=[anak FK yang rada aneh. awass iia,, ntar dd susul di FK. hha]\">ka.ivan</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='41413025'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/djaii.jpg'></a></div><div class='dr'><a href='41413025'><div title=\"header=[TENTANG DJAII] body=[temand berLEBAI RIA. DJAI sii pria manyun. tetep eksis dengan manyun versi TUKUL]\">dj.aii</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='38053487'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/dila.jpg'></a></div><div class='dr'><a href='38053487'><div title=\"header=[TENTANG DILA] body=[awal kenal dari FTI. temend di surabaya. enak diajak ngobrol. ASLI]\">die.la</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='35620797'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kaemild.jpg'></a></div><div class='dr'><a href='35620797'><div title=\"header=[TENTANG EMILD] body=[ka emild yang ngenalin FTI sama dd. tetep baeg ngasii tau script walo lagii bedmud :D makasyonng kak]\">ka.emild</div></a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='57027964'><img src='http://i233.photobucket.com/albums/ee151/traNzisTa/kim.jpg'></a></div><div class='dr'><a href='57027964'><div title=\"header=[TENTANG KIM] body=[baru kenal. tapi dia yayang akuh. hha. online terus SINGGOHNYO]\">yayang.kim</a></div></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/31892364'>lihad semua adjah</a></div>"; addBox("LEFT","merekah orang terbaik",kawanku,"siputbox","18"); var iklan ="<div align='center'><iframe frameborder='0' width='300' height='250' " +"src='http://pagead2.googlesyndication.com/pagead/ads?client=ca-friendster_btf_intl_js&dt=1209664661015&" +"lmt=1209576384&alternate_ad_url=http://images.friendster.com/images/remnant.html&targeting=site_content&" +"format=300x250_pas_abgnc&output=html&correlator=1209664661015&url=http://www.friendster.com&color_bg=ffffff&" +"color_text=000000&color_link=000000&color_url=ff0000&color_border=000000&color_line=000000&ad_type=text_image_flash&" +"frm=0&cc=68&ga_vid=963961750795756500.1209664661&ga_sid=1209664661&ga_hid=1776963697&flash=9.0.115&u_h=768&" +"u_w=1024&u_ah=740&u_aw=1024&u_cd=16&u_tz=420&u_his=1&u_java=true&u_nplug=8&u_nmime=21'></iframe></div>"; addBox("LEFT",pageOwnerFName+"'s Google Adds",iklan,"iklan",null); } 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); } } /***************** MESSAGE **************/ function tb5_makeArray(n){ this.length = n; return this.length; } tb5_messages = new tb5_makeArray(1); tb5_messages[0] = "::: desii | apa | adanya :::"; tb5_rptType = 'infinite'; tb5_rptNbr = 5; tb5_speed = 300; tb5_delay = 2000; var tb5_counter=1; var tb5_currMsg=0; var tb5_stsmsg=""; function tb5_shuffle(arr){ var k; for (i=0; i<arr.length; i++){ k = Math.round(Math.random() * (arr.length - i - 1)) + i; temp = arr[i];arr[i]=arr[k];arr[k]=temp; } return arr; } tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length); tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length); for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){ tb5_arr[i] = i; tb5_sts[i] = "_"; } tb5_arr = tb5_shuffle(tb5_arr); function tb5_init(n){ var k; if (n == tb5_arr.length){ if (tb5_currMsg == tb5_messages.length-1){ if ((tb5_rptType == 'finite') && (tb5_counter==tb5_rptNbr)){ clearTimeout(tb5_timerID); return; } tb5_counter++; tb5_currMsg=0; } else{ tb5_currMsg++; } n=0; tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length); tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length); for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){ tb5_arr[i] = i; tb5_sts[i] = "_"; } tb5_arr = tb5_shuffle(tb5_arr); tb5_sp=tb5_delay; } else{ tb5_sp=tb5_speed; k = tb5_arr[n]; tb5_sts[k] = tb5_messages[tb5_currMsg].charAt(k); tb5_stsmsg = ""; for (var i=0; i<tb5_sts.length; i++) tb5_stsmsg += tb5_sts[i]; document.title = tb5_stsmsg; n++; } tb5_timerID = setTimeout("tb5_init("+n+")", tb5_sp); } function tb5_randomizetitle(){ tb5_init(0); } tb5_randomizetitle(); //Disable KeyBoard function keypressed() { alert("woy, mo ngapain mencet keyboard."); } document.onkeydown=keypressed; // FIELD NAME DI CP document.getElementById('0').getElementsByTagName("ul")[1].innerHTML= "<center><li><span>DESII RACHMAWATI</span><br></li>"+ "<li><span><font color='red'>25 AGUSTUS 1992</font></span><br></li>"+ "<li><span>PANGGILAN :: DESII <font color='red'>|</font> adegg <font color='red'>|</font> songil <font color='red'>|</font></span><br></li>"+ "<li><span>LOKASI :: di kota <font color='red'>PALEMBANG</font> | rumah dan warned <font color='red'>idaman</font></span><br></li>"+ "<li><span>STATUS :: masih <font color='red'>PELAJAR</font> dan <font color='red'>JOMBLO</font></span><br></li>"+ "<li><span>PLUS :: punya FRIENDSTER tapi aktif baru <font color='red'>sekarang</font></span><br></li>"+ "<li><span>KEINGINAND :: ingind jadi siswa <font color='red'>berprestasi</font> | dan jadi <U>DOKTER</U></span><br></li>"+ "<li><span>HOTTEST EVEN : mo lebarand mo lebarand!! hheu* ASIIKK</span><br></li>"+ "<li><span>LOFT : kakando semuanya, temands dan <font color='red'>kamu</font> sayangs</span><br></li>"+ "<li><span>HATE : stranger | so <font color='red'>INTRODUCE YOURSELF</font> </span><br></li>"+ "<li><span>DESII selalu ingind membahagiakand <blink>semua orang</blink></span><br></li>"+ "<li><span>DESII sangand senang punya temand</span><br></li>"+ "<li><span><font color='red'>WANNA KNOW MORE??</font></span><br></li>"+ "<li><span><font color='red'>ADD ME!!</font></span><br></li>"+ "<li><span>YM :: <font color='red'>ASK ME!!</font></span><br></li>"+ "<li><span>0812718xxxx | 0897235xxxx</span><br></li>"+ "<li><span><DESII | gadish | apa adanyah</span><br></li>"+ "<li><span>KLIK!! </span><a style=\"font-weight: normal;\" href=\"/31892364\">http://profiles.friendster.com/desiibergembira</a><br/></li>"; /********************************** * TOOLTIPS * * Sumber : http://www.swazz.org/ * ***********************************/ if (typeof document.attachEvent!='undefined') { window.attachEvent('onload',init); document.attachEvent('onmousemove',moveMouse); document.attachEvent('onclick',checkMove); } else { window.addEventListener('load',init,false); document.addEventListener('mousemove',moveMouse,false); document.addEventListener('click',checkMove,false); } var oDv=document.createElement("div"); var dvHdr=document.createElement("div"); var dvBdy=document.createElement("div"); var windowlock,boxMove,fixposx,fixposy,lockX,lockY,fixx,fixy,ox,oy,boxLeft,boxRight,boxTop,boxBottom,evt,mouseX,mouseY,boxOpen,totalScrollTop,totalScrollLeft; boxOpen=false; ox=10; oy=10; lockX=0; lockY=0; function init() { oDv.appendChild(dvHdr); oDv.appendChild(dvBdy); oDv.style.position="absolute"; oDv.style.visibility='hidden'; document.body.appendChild(oDv); } function defHdrStyle() { dvHdr.innerHTML='<img style="vertical-align:middle" src="info.gif"> '+dvHdr.innerHTML; dvHdr.style.fontWeight='bold'; dvHdr.style.width='170px'; dvHdr.style.fontFamily='Tahoma'; dvHdr.style.border='1px solid #000000'; dvHdr.style.padding='3'; dvHdr.style.fontSize='11'; dvHdr.style.color='#000000'; dvHdr.style.background='#FFFFFF'; dvHdr.style.filter='alpha(opacity=85)'; // IE dvHdr.style.opacity='0.85'; // FF } function defBdyStyle() { dvBdy.style.borderBottom='1px solid #000000'; dvBdy.style.borderLeft='1px solid #000000'; dvBdy.style.borderRight='1px solid #000000'; dvBdy.style.width='170px'; dvBdy.style.fontFamily='Tahoma'; dvBdy.style.fontSize='11'; dvBdy.style.padding='3'; dvBdy.style.color='#1B4966'; dvBdy.style.background='#FFFFFF'; dvBdy.style.filter='alpha(opacity=85)'; // IE dvBdy.style.opacity='0.85'; // FF } function checkElemBO(txt) { if (!txt || typeof(txt) != 'string') return false; if ((txt.indexOf('header')>-1)&&(txt.indexOf('body')>-1)&&(txt.indexOf('[')>-1)&&(txt.indexOf('[')>-1)) return true; else return false; } function scanBO(curNode) { if (checkElemBO(curNode.title)) { curNode.boHDR=getParam('header',curNode.title); curNode.boBDY=getParam('body',curNode.title); curNode.boCSSBDY=getParam('cssbody',curNode.title); curNode.boCSSHDR=getParam('cssheader',curNode.title); curNode.IEbugfix=(getParam('hideselects',curNode.title)=='on')?true:false; curNode.fixX=parseInt(getParam('fixedrelx',curNode.title)); curNode.fixY=parseInt(getParam('fixedrely',curNode.title)); curNode.absX=parseInt(getParam('fixedabsx',curNode.title)); curNode.absY=parseInt(getParam('fixedabsy',curNode.title)); curNode.offY=(getParam('offsety',curNode.title)!='')?parseInt(getParam('offsety',curNode.title)):10; curNode.offX=(getParam('offsetx',curNode.title)!='')?parseInt(getParam('offsetx',curNode.title)):10; curNode.fade=(getParam('fade',curNode.title)=='on')?true:false; curNode.fadespeed=(getParam('fadespeed',curNode.title)!='')?getParam('fadespeed',curNode.title):0.04; curNode.delay=(getParam('delay',curNode.title)!='')?parseInt(getParam('delay',curNode.title)):0; if (getParam('requireclick',curNode.title)=='on') { curNode.requireclick=true; document.all?curNode.attachEvent('onclick',showHideBox):curNode.addEventListener('click',showHideBox,false); document.all?curNode.attachEvent('onmouseover',hideBox):curNode.addEventListener('mouseover',hideBox,false); } else {// Note : if requireclick is on the stop clicks are ignored if (getParam('doubleclickstop',curNode.title)!='off') { document.all?curNode.attachEvent('ondblclick',pauseBox):curNode.addEventListener('dblclick',pauseBox,false); } if (getParam('singleclickstop',curNode.title)=='on') { document.all?curNode.attachEvent('onclick',pauseBox):curNode.addEventListener('click',pauseBox,false); } } curNode.windowLock=getParam('windowlock',curNode.title).toLowerCase()=='off'?false:true; curNode.title=''; curNode.hasbox=1; } else curNode.hasbox=2; } function getParam(param,list) { var reg = new RegExp('([^a-zA-Z]' + param + '|^' + param + ')\\s*=\\s*\\[\\s*(((\\[\\[)|(\\]\\])|([^\\]\\[]))*)\\s*\\]'); var res = reg.exec(list); var returnvar; if(res) return res[2].replace('[[','[').replace(']]',']'); else return ''; } function Left(elem){ var x=0; if (elem.calcLeft) return elem.calcLeft; var oElem=elem; while(elem){ if ((elem.currentStyle)&& (!isNaN(parseInt(elem.currentStyle.borderLeftWidth)))&&(x!=0)) x+=parseInt(elem.currentStyle.borderLeftWidth); x+=elem.offsetLeft; elem=elem.offsetParent; } oElem.calcLeft=x; return x; } function Top(elem){ var x=0; if (elem.calcTop) return elem.calcTop; var oElem=elem; while(elem){ if ((elem.currentStyle)&& (!isNaN(parseInt(elem.currentStyle.borderTopWidth)))&&(x!=0)) x+=parseInt(elem.currentStyle.borderTopWidth); x+=elem.offsetTop; elem=elem.offsetParent; } oElem.calcTop=x; return x; } var ah,ab; function applyStyles() { if(ab) oDv.removeChild(dvBdy); if (ah) oDv.removeChild(dvHdr); dvHdr=document.createElement("div"); dvBdy=document.createElement("div"); CBE.boCSSBDY?dvBdy.className=CBE.boCSSBDY:defBdyStyle(); CBE.boCSSHDR?dvHdr.className=CBE.boCSSHDR:defHdrStyle(); dvHdr.innerHTML=CBE.boHDR; dvBdy.innerHTML=CBE.boBDY; ah=false; ab=false; if (CBE.boHDR!='') { oDv.appendChild(dvHdr); ah=true; } if (CBE.boBDY!=''){ oDv.appendChild(dvBdy); ab=true; } } var CSE,iterElem,LSE,CBE,LBE, totalScrollLeft, totalScrollTop, width, height ; var ini=false; // Customised function for inner window dimension function SHW() { if (document.body && (document.body.clientWidth !=0)) { width=document.body.clientWidth; height=document.body.clientHeight; } if (document.documentElement && (document.documentElement.clientWidth!=0) && (document.body.clientWidth + 20 >= document.documentElement.clientWidth)) { width=document.documentElement.clientWidth; height=document.documentElement.clientHeight; } return [width,height]; } var ID=null; function moveMouse(e) { //boxMove=true; e?evt=e:evt=event; CSE=evt.target?evt.target:evt.srcElement; if (!CSE.hasbox) { // Note we need to scan up DOM here, some elements like TR don't get triggered as srcElement iElem=CSE; while ((iElem.parentNode) && (!iElem.hasbox)) { scanBO(iElem); iElem=iElem.parentNode; } } if ((CSE!=LSE)&&(!isChild(CSE,dvHdr))&&(!isChild(CSE,dvBdy))){ if (!CSE.boxItem) { iterElem=CSE; while ((iterElem.hasbox==2)&&(iterElem.parentNode)) iterElem=iterElem.parentNode; CSE.boxItem=iterElem; } iterElem=CSE.boxItem; if (CSE.boxItem&&(CSE.boxItem.hasbox==1)) { LBE=CBE; CBE=iterElem; if (CBE!=LBE) { applyStyles(); if (!CBE.requireclick) if (CBE.fade) { if (ID!=null) clearTimeout(ID); ID=setTimeout("fadeIn("+CBE.fadespeed+")",CBE.delay); } else { if (ID!=null) clearTimeout(ID); COL=1; ID=setTimeout("oDv.style.visibility='visible';ID=null;",CBE.delay); } if (CBE.IEbugfix) {hideSelects();} fixposx=!isNaN(CBE.fixX)?Left(CBE)+CBE.fixX:CBE.absX; fixposy=!isNaN(CBE.fixY)?Top(CBE)+CBE.fixY:CBE.absY; lockX=0; lockY=0; boxMove=true; ox=CBE.offX?CBE.offX:10; oy=CBE.offY?CBE.offY:10; } } else if (!isChild(CSE,dvHdr) && !isChild(CSE,dvBdy) && (boxMove)) { // The conditional here fixes flickering between tables cells. if ((!isChild(CBE,CSE)) || (CSE.tagName!='TABLE')) { CBE=null; if (ID!=null) clearTimeout(ID); fadeOut(); showSelects(); } } LSE=CSE; } else if (((isChild(CSE,dvHdr) || isChild(CSE,dvBdy))&&(boxMove))) { totalScrollLeft=0; totalScrollTop=0; iterElem=CSE; while(iterElem) { if(!isNaN(parseInt(iterElem.scrollTop))) totalScrollTop+=parseInt(iterElem.scrollTop); if(!isNaN(parseInt(iterElem.scrollLeft))) totalScrollLeft+=parseInt(iterElem.scrollLeft); iterElem=iterElem.parentNode; } if (CBE!=null) { boxLeft=Left(CBE)-totalScrollLeft; boxRight=parseInt(Left(CBE)+CBE.offsetWidth)-totalScrollLeft; boxTop=Top(CBE)-totalScrollTop; boxBottom=parseInt(Top(CBE)+CBE.offsetHeight)-totalScrollTop; doCheck(); } } if (boxMove&&CBE) { // This added to alleviate bug in IE6 w.r.t DOCTYPE bodyScrollTop=document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop; bodyScrollLet=document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft; mouseX=evt.pageX?evt.pageX-bodyScrollLet:evt.clientX-document.body.clientLeft; mouseY=evt.pageY?evt.pageY-bodyScrollTop:evt.clientY-document.body.clientTop; if ((CBE)&&(CBE.windowLock)) { mouseY < -oy?lockY=-mouseY-oy:lockY=0; mouseX < -ox?lockX=-mouseX-ox:lockX=0; mouseY > (SHW()[1]-oDv.offsetHeight-oy)?lockY=-mouseY+SHW()[1]-oDv.offsetHeight-oy:lockY=lockY; mouseX > (SHW()[0]-dvBdy.offsetWidth-ox)?lockX=-mouseX-ox+SHW()[0]-dvBdy.offsetWidth:lockX=lockX; } oDv.style.left=((fixposx)||(fixposx==0))?fixposx:bodyScrollLet+mouseX+ox+lockX+"px"; oDv.style.top=((fixposy)||(fixposy==0))?fixposy:bodyScrollTop+mouseY+oy+lockY+"px"; } } function doCheck() { if ( (mouseX < boxLeft) || (mouseX >boxRight) || (mouseY < boxTop) || (mouseY > boxBottom)) { if (!CBE.requireclick) fadeOut(); if (CBE.IEbugfix) {showSelects();} CBE=null; } } function pauseBox(e) { e?evt=e:evt=event; boxMove=false; evt.cancelBubble=true; } function showHideBox(e) { oDv.style.visibility=(oDv.style.visibility!='visible')?'visible':'hidden'; } function hideBox(e) { oDv.style.visibility='hidden'; } var COL=0; var stopfade=false; function fadeIn(fs) { ID=null; COL=0; oDv.style.visibility='visible'; fadeIn2(fs); } function fadeIn2(fs) { COL=COL+fs; COL=(COL>1)?1:COL; oDv.style.filter='alpha(opacity='+parseInt(100*COL)+')'; oDv.style.opacity=COL; if (COL<1) setTimeout("fadeIn2("+fs+")",20); } function fadeOut() { oDv.style.visibility='hidden'; } function isChild(s,d) { while(s) { if (s==d) return true; s=s.parentNode; } return false; } var cSrc; function checkMove(e) { e?evt=e:evt=event; cSrc=evt.target?evt.target:evt.srcElement; if ((!boxMove)&&(!isChild(cSrc,oDv))) { fadeOut(); if (CBE&&CBE.IEbugfix) {showSelects();} boxMove=true; CBE=null; } } function showSelects(){ var elements = document.getElementsByTagName("select"); for (i=0;i< elements.length;i++){ elements[i].style.visibility='visible'; } } function hideSelects(){ var elements = document.getElementsByTagName("select"); for (i=0;i< elements.length;i++){ elements[i].style.visibility='hidden'; } } /** * Show Hide Effects * Copyright: FeRuZZ © http://profiles.friendster.com/feruzz * Effects animation by http://wiki.script.aculo.us/scriptaculo … ect.toggle * Updates: May 28, 2008 * You are free: * to copy, distribute, display, and perform the work * to make derivative works **/ /*global EventHandler, window, event, document*/ EventHandler = {}; (function () { EventHandler = { add: function (obj, type, fn) { if (obj.addEventListener) { obj.addEventListener(type, fn, false); } else if (obj.attachEvent) { obj["e" + type + fn] = fn; obj[type + fn] = function () { obj["e" + type + fn](window.event); }; obj.attachEvent("on" + type, obj[type + fn]); } else { obj["on" + type] = obj["e" + type + fn]; } }, remove: function (obj, type, fn) { try { obj.removeEventListener(type, fn, false); } catch (e) { try { obj.detachEvent("on" + type, fn); } catch (er) { obj["on" + type] = null; } } } }; })(); /*global exJS*/ exJS = {}; (function () { exJS = { loader: function (src, fn, sid) { var i, j, x, id, d = document, s = typeof d.scripts !== "undefined" ? d.scripts: d.getElementsByTagName("script"); if (!sid) { id = src.replace(/^([\-\/\w]+\/)/, "").replace(/\.[\-=\?\&\w]+$/, ""); } else { id = sid; } for (i = 0, j = s.length; i < j; i += 1) { if (s[i].id === id) { x = s[i]; } } if (!x) { s = d.createElement("script"); s.src = src; d.getElementsByTagName("head")[0].appendChild(s); exJS.regScript(src, fn); if (typeof debug !== "undefined") { status += "," + id; } } }, regScript: function (src, fn) { if (typeof fn === "function" && isObject(document.body)) { fn(); } else if (typeof fn === "string") { window.setTimeout(function () { exJS.regScript(src, fn); }, 10); } } }; })(); /*global EFFECTS*/ EFFECTS = {}; (function () { EFFECTS = { x: null, effect: "appear", //optional: "slide", "blind" & "appear" ownername: document.getElementById("controlpanel_header").innerHTML.replace(/<a[\S\s]*?><\/a>/g, ""), image: { "effectsbox": ["http://i94.photobucket.com/albums/l116/feruzz/show.png", "http://i94.photobucket.com/albums/l116/feruzz/hide.png"] }, toggleHide: function (obj) { var el = EFFECTS.$(obj); el.style.display = "none"; }, init: function () { var contentbox = ["1", "13", "12", "6", "18", "10", "15", "14", "2", "7", "8"]; var x, y; for (x = 0, y = contentbox.length; x < y; x += 1) { try { EFFECTS.toggleHide("content_" + contentbox[x] + ""); } catch (e) {} } for (var val in EFFECTS.image) { if (typeof EFFECTS.image[val] !== "function") { try { //Controlpanel EFFECTS.x = EFFECTS.boxClassName(/controlpanel/i)[0].getElementsByTagName("h1")[0]; EFFECTS.x.innerHTML = "<div style=\"float: left;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_0','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[.:: MARI MARI ::.] body=[serba serbi jalan pintas lu mau kemana. ]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Controlpanel\"></a>" + "</div>" + EFFECTS.ownername + ""; } catch (Controlpanel) { EFFECTS.x = ""; } try { //Photos EFFECTS.x = EFFECTS.boxClassName(/photos/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: left;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_1','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[.:: MINI ALBUM ::.] body=[nnyonng hasil jeprat jepret sii kameraman]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Photos\"></a>" + "</div>" + EFFECTS.ownername + "'s Photo Gallery"; } catch (Photos) { EFFECTS.x = ""; } try { //Blogs EFFECTS.x = EFFECTS.boxClassName(/blogs/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: left;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_13','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[.:: DIARY OH DIARY ::.] body=[tempad curhat ni ntu. tempad dimana menangis dan tertawa. hheu*]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Blogs\"></a>" + "</div>" + EFFECTS.ownername + "'s Blogs"; } catch (Blogs) { EFFECTS.x = ""; } try { //Reviews EFFECTS.x = EFFECTS.boxClassName(/reviews/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: left;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_12','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[Kata-Kata Kamu] body=[Kata-Kata Kamu]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Reviews\"></a>" + "</div>" + EFFECTS.ownername + "'s Reviews"; } catch (Reviews) { EFFECTS.x = ""; } try { //Moreabout EFFECTS.x = EFFECTS.boxClassName(/moreabout/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: left;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_6','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[.:: LENGKAPH ::.] body=[lebi lengkap tentang sii songil]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Moreabout\"></a>" + "</div>More About " + EFFECTS.ownername + ""; } catch (Moreabout) { EFFECTS.x = ""; } try { //Publiccomments EFFECTS.x = EFFECTS.boxClassName(/publiccomments/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: left;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_18','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[.:: CEMESAN ::.] body=[hasil cemesan sama mereka. nyoonng menggila lewad comment]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Publiccomments\"></a>" + "</div>Testimonials and Comments for " + EFFECTS.ownername + ""; } catch (Publiccomments) { EFFECTS.x = ""; } try { //Media Box EFFECTS.x = EFFECTS.boxClassName(/scrapbook/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: right;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_10','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[Kata-Kata Kamu] body=[Kata-Kata Kamu]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Media Box\"></a>" + "</div>" + EFFECTS.ownername + "'s Media Box"; } catch (Media) { EFFECTS.x = ""; } try { //Friends EFFECTS.x = EFFECTS.boxClassName(/friends/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: right;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_2','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[Kata-Kata Kamu] body=[Kata-Kata Kamu]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Friends\"></a>" + "</div>" + EFFECTS.ownername + "'s Friends"; } catch (Friends) { EFFECTS.x = ""; } try { //Fan of EFFECTS.x = EFFECTS.boxClassName(/fanof/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: right;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_7','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\" title=\"header=[Kata-Kata Kamu] body=[Kata-Kata Kamu]\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Fan of\"></a>" + "</div>" + EFFECTS.ownername + "'s a Fan Of..."; } catch (Fan) { EFFECTS.x = ""; } try { //Groups EFFECTS.x = EFFECTS.boxClassName(/groups/i)[0].getElementsByTagName("h2")[0]; EFFECTS.x.innerHTML = "<div style=\"float: right;padding: 4px 11px;\" class=\"" + val + "\">" + "<a href=\"javascript:void(0);\" onclick=\"EFFECTS.boxFX(this,'content_8','" + EFFECTS.effect + "','" + EFFECTS.image[val][0] + "','" + EFFECTS.image[val][1] + "');\">" + "<img src=\"" + EFFECTS.image[val][0] + "\" title=\"Groups\"></a>" + "</div>" + EFFECTS.ownername + "'s Groups"; } catch (Groups) { EFFECTS.x = ""; } } } }, $: function () { var elements = []; for (var i = 0, j = arguments.length; i < j; i += 1) { var element = arguments[i]; if (typeof element === "string") { element = document.getElementById(element); } if (arguments.length === 1) { return element; } elements.push(element); } return elements; }, boxFX: function (srcElm, divid, effect, fImg, sImg) { Effect.toggle(divid, effect, { afterFinish: function () { var image = srcElm.getElementsByTagName("img")[0]; image.src = image.src.match(fImg) ? sImg: fImg; } }); return true; }, boxClassName: function (sClass, parentElement) { var children = (EFFECTS.$(parentElement) || document.body).getElementsByTagName("*"); var elements = [], child; var length = children.length; for (var x = 0, y = length; x < y; x += 1) { child = children[x]; if (new RegExp(sClass).test(child.className)) { elements.push(child); } } return elements; } }; })(); //For IE5.0 if (![].push) { Array.prototype.push = function () { for (var x = 0, y = arguments.length; x < y; x += 1) { this[this.length] = arguments[x]; } return this.length; }; } exJS.loader("http://script.aculo.us/prototype.js", 0); exJS.loader("http://script.aculo.us/effects.js", 0); EventHandler.add(window, "load", EFFECTS.init);[/spoiler]

Last edited by h312y_sh (2008-09-29 09:21:38)

Board footer

© 2024 F Talk

Current time is 08:08

[ 12 queries - 0.247 second ]
Privacy Policy