• ARCHIVES 
  • » [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-

[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-

Freeya
» FTalkElite
FTalk Level: zero
3517
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=Chester Benington]okok mas, makasih dah mau bantu saya, gimana aku membalas kebaikan mas ini yak.[/quote] pertama jangan panggil mas =( panggil [b]david[/b] ;):thumbsup: kedua cukup memberi yang terbaik buat kita semua =) ketiga di sini kita saling membantu dan salaing belajar =)
Chester Benington
» n00b
FTalk Level: zero
46
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=Freeya]pertama jangan panggil mas =( panggil david ;):thumbsup: kedua cukup memberi yang terbaik buat kita semua =) ketiga di sini kita saling membantu dan salaing belajar =)[/quote] ghitu ya david, aneh bngt klo ga pake mas ato abng. soalnya umur aku masih 16 taon,
EbengMaya
» FTalkFreak
FTalk Level: zero
1890
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=Chester Benington]ghitu ya david, aneh bngt klo ga pake mas ato abng. soalnya umur aku masih 16 taon,[/quote] hahaha santai aja bro umur gk jd masalah disini umur gk dibatasin mau anak sd jg :lol: klw ada apa2 lg tanya aja ke tread ini ya ingat jangan sampai salah posting di tread yg gk berhubungan dgn apa yg kita postingkan ;) :thumbsup:
Kap_j4ck
» FTalker
FTalk Level: zero
143
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-

bro tlg chat box saia dunk... smile na kalo di klik g' keluar neh:D :arrow: [spoiler]//Bagian a //css injection var css; try { css = document.createElement("link"); }catch(e) { css = document.createElement("<link>"); } css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://h1.ripway.com/4760135840/wvm3.9/wvm3.9.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); /*********** tooltips cursor by : sahabat_peterpan **********/ document.write("<body title=\"header=[Hi "+pageViewerFName+"] body=[selamat datang aja]\">"); /************ Accordion Testimonial with Tooltips ======> by : kap_j4ck **********/ var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/4760135840/wvm3.9/mempercantik%20cmmnt.js"; document.getElementsByTagName("head")[0].appendChild(myjs); /***** komen Smilies by : kap_j4ck *******/ var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/4760135840/wvm3.9/smile%20cmmnt.js"; document.getElementsByTagName("head")[0].appendChild(myjs); /******** ICON ********/ var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://h1.ripway.com/4760135840/kode%20gambar/dunia.gif"; document.getElementsByTagName("head")[0].appendChild(icon); /******** Ym Status ********/ var penyuberenang; try {penyuberenang = document.createElement("div");} catch (e) {penyuberenang = document.createElement("<div>");} penyuberenang.innerHTML = "<font color='#0033ff'><b>kap jack yahoo! messenger status:</b></font><br><br><a href='ymsgr:sendim?kap_j4ck'><img src='http://opi.yahoo.com/online?u=kap_j4ck&m=g&t=8'></a>"; penyuberenang.setAttribute("style","text-align:center;padding-top:8px"); document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(penyuberenang); /* -------------------------------------------------------------------- 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"; } /* ----------------------------------------------------------------- onload handler */ function onProfileLoad() { //Bagian B addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right"); var cip = document.getElementById("navLang").innerHTML+="<div align=\"center\" style=\"width:100%;\"><div id=\"hit_area\" onmouseover=\"toggleDown();\"><center><img src='http://h1.ripway.com/4760135840/kode%20gambar/anger.png ' border=0></center></div><div id=\"menu_holder\"><div id=\"nav\"><ul><div id=\"dropmenudiv\" style=\"visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'\" onMouseover=\"clearhidemenu()\" onMouseout=\"dynamichide(event)\"></div><li><a href=\"http://www.friendster.com/\" onMouseover=\"dropdownmenu(this, event, menu1, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/money.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/user.php\" onMouseover=\"dropdownmenu(this, event, menu2, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/super_man.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/widget_myapps.php\" onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_bad_egg.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/friends.php\" onMouseover=\"dropdownmenu(this, event, menu4, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_beaten.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/explorer.php\" onMouseover=\"dropdownmenu(this, event, menu5, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_electric_shock.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/gallery.php\" onMouseover=\"dropdownmenu(this, event, menu6, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_grimace.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://olx.friendster.com/gateway_cobranded.php?country=\" onMouseover=\"dropdownmenu(this, event, menu7, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_scorn.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/invite.php\" onMouseover=\"dropdownmenu(this, event, menu8, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_victory.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li></ul></div></div><div id=\"hit_area2\" onmouseover=\"toggleUp();\"><br><br><br><br></div></div>"; //slide photo gallery var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=2810246167484362554&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/45818890\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=58081520\" target=\"_blank\">Upload Photo Fo Me</b></a></div>"; document.getElementById('content_1').style.height='100%'; document.getElementById('content_1').style.overflowY='hidden'; document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>"; //-----chat box var cbox1="<div align='center' id='cboxdiv' style='width:100%;' >"+"<div style='border: 0px solid #000000';><iframe frameborder='0' width='100%' height='250' src='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=main' scrolling='auto' allowtransparency='yes' name='khershout' id='khershout'></iframe><br></div><form name='chat' target='khershout' action='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><br><textarea style='color: #CCCCCC; border: 1px solid #808080; background-color: #404040; padding: 4px; overflow:hidden' class='cboxMsgArea' cols='42' rows='4' name='pst'></textarea><br \><input type='submit' class='tombol' value='Submit' name='submit'><input class='tombol' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='tombol' value='Refresh' name='khershout' onClick='window.khershout.location.href=document.getElementById(\"khershout\").src'><br>"+"<div id='show' style='display: inline'><a href='javascript:showForm()'><font color='#ff6666'>[= show smilies =] </font></a></div>"+ "<div id='close' style='display: none'><a href='javascript:showForm()'><font color='#ff6666'>[= hide smilies =]</font></a></div>"+ "<div id='hide' style='display: none'>"+ "<div width='100%' style='border:0px solid #000000; background:transparent;padding:4px' align='center'>"+ "<a href=\"javascript:DoSmilie(' :) ')\"><img src='http://theftalk.com/img/smilies/smile.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =) ')\"><img src='http://theftalk.com/img/smilies/nod.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :| ')\"><img src='http://theftalk.com/img/smilies/neutral.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =| ')\"><img src='http://theftalk.com/img/smilies/smirk.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :( ')\"><img src='http://theftalk.com/img/smilies/frown.gif'></a>"+ "<a href=\"javascript:DoSmilie(' T_T ')\"><img src='http://theftalk.com/img/smilies/cry.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =( ')\"><img src='http://theftalk.com/img/smilies/tear.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :D ')\"><img src='http://theftalk.com/img/smilies/biggrin.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =D ')\"><img src='http://theftalk.com/img/smilies/badgrin.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :lol: ')\"><img src='http://theftalk.com/img/smilies/lol.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :o ')\"><img src='http://theftalk.com/img/smilies/eek.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :O ')\"><img src='http://theftalk.com/img/smilies/shock.gif'></a>"+ "<a href=\"javascript:DoSmilie(' ;) ')\"><img src='http://theftalk.com/img/smilies/wink.gif'></a>"+ "<a href=\"javascript:DoSmilie(' ;] ')\"><img src='http://theftalk.com/img/smilies/slywink.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :/ ')\"><img src='http://theftalk.com/img/smilies/confused.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :s ')\"><img src='http://theftalk.com/img/smilies/paranoid.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :rolleyes: ')\"><img src='http://theftalk.com/img/smilies/roll.gif'></a>"+ "<a href=\"javascript:DoSmilie(' B) ')\"><img src='http://theftalk.com/img/smilies/cool.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :P ')\"><img src='http://theftalk.com/img/smilies/tongue.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :mad: ')\"><img src='http://theftalk.com/img/smilies/mad.gif'></a>"+ "<a href=\"javascript:DoSmilie(' X( ')\"><img src='http://theftalk.com/img/smilies/angry.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :disgust: ')\"><img src='http://theftalk.com/img/smilies/disgust.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :doubt: ')\"><img src='http://theftalk.com/img/smilies/doubt.gif'></a>"+ "<a href=\"javascript:DoSmilie(' >:) ')\"><img src='http://theftalk.com/img/smilies/evil.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :> ')\"><img src='http://theftalk.com/img/smilies/redface.gif'></a>"+ "<a href=\"javascript:DoSmilie(' /:) ')\"><img src='http://theftalk.com/img/smilies/unibrow.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :retard: ')\"><img src='http://theftalk.com/img/smilies/retard.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :wasted: ')\"><img src='http://theftalk.com/img/smilies/wasted.gif'></a>"+ "<a href=\"javascript:DoSmilie(' smoke: ')\"><img src='http://theftalk.com/img/smilies/smoke.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :ninja: ')\"><img src='http://theftalk.com/img/smilies/ninja.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :drool: ')\"><img src='http://theftalk.com/img/smilies/drool.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :crybaby: ')\"><img src='http://theftalk.com/img/smilies/crybaby.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :puke: ')\"><img src='http://theftalk.com/img/smilies/puke.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :thumbsup: ')\"><img src='http://theftalk.com/img/smilies/thumbsup.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :thumbsdown: ')\"><img src='http://theftalk.com/img/smilies/thumbsdown.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :rose: ')\"><img src='http://theftalk.com/img/smilies/rose.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :norose: ')\"><img src='http://theftalk.com/img/smilies/norose.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :-* ')\"><img src='http://theftalk.com/img/smilies/kiss.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :cake: ')\"><img src='http://theftalk.com/img/smilies/cake.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :gift: ')\"><img src='http://theftalk.com/img/smilies/gift.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :x ')\"><img src='http://theftalk.com/img/smilies/wow.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :wallbash: ')\"><img src='http://theftalk.com/img/smilies/wallbash.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :penguin: ')\"><img src='http://theftalk.com/img/smilies/penguin.gif'></a>"+ "</div></div></form></div>"; addBox(""+pageOwnerFName+"\'s Chat Box",cbox1,"cboxdiv",/commonbox[\s]*?publiccomments/i); } /* ---------------------------------------------------------------- TRACKER OBJECT */ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { style: { filter: "chroma(color='#FFFFFF')", width: '300px', height: '525px', border: '0px', overflow: 'hidden' //to make it scroll, change to 'auto' }, attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://www.balibersatu.com/wvm/tracker.php", display: 7, //display perpage /* ------------------------------------------------------------------------------- */ /** -------------------------------------------------------------------------------- *** WVMv3.1 by marfillaster, *** copyright 2007 http://profiles.friendster.com/mumbhaki *** hosted 2008 http://www.balibersatu.com *** credits: feruzz, friendstertalk.com, friendster.com *** modified by Kher Navarro *** powered by Okacybernet *** Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. *** Author will not be liable of ANY damage through the use of this program *** ------------------------------------------------------------------------------ */ base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmiframe", details: { photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { photo: /imgblock200\x22><a[\S\s]*?img src="([\S\s]*?)"/i, gender: />([\S]*?male)/i, age: /male, ([\d]*?),/i, status: /male, [\d]*?, ([\S\s]*?)<\/span>/i, location: /Location\: <\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /In\: <\/span>([\S\s]*?)<\/li>/i, since: /Since\: <\/span>([\S\s]*?)<\/li>/i }, init: function() { try{getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" style=\"display:none\" src=\"about:blank\"></iframe>";}catch(e){this.error("Cannot insert inline iframe.");return;} var d= new Date(); var hr=invert(d.getTimezoneOffset()/60); this.timedetails="os="+hr; var ifsrc=this.phplink+"?"+this.timedetails+"&id="+pageViewerID+"&owner="+pageOwnerID+"&num="+this.display; var atr=""; var sty=""; for (val in this.attributes) { atr += val +"="+ this.attributes[val]+" "; } for (val in this.style) { sty += val +":"+ this.style[val]+";"; } try {this.div=document.createElement("<div>")} catch(e){this.div=document.createElement("div")} this.div.innerHTML="<iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe>"; if(pageViewerID!=pageOwnerID) if(pageViewerID!="") this.getDETAILS(); }, getDETAILS: function() { processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "TRACKER.parseDETAILS",null); }, parseDETAILS: function(htm) { if(htm.replace(/^\s*|\s*$/mg,"")=="") {this.error("Empty xmlresponse! Unable to parse your details!");return;} else { for (val in this.details) { try { this.details[val]=encodeURIComponent(new RegExp(this.regexp[val]).exec(htm)[1]); } catch(e) { this.details[val]=""; } } if(!this.details.photo) {this.error("Unable to parse primary photo! Invalid xmlresponse or incorrect photo regexp.");return;} this.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&img="+this.details.photo+"&gen="+this.details.gender+"&age="+this.details.age+"&stat="+this.details.status+"&loc="+this.details.location+"&seek="+this.details.seek+"&since="+this.details.since; try{document.getElementById(this.iframeid).src=this.phplink+this.param;}catch(e){this.error("Unable to locate inline iframe id:"+this.iframeid);return;} } }, error: function(e) { alert("WVM ERROR: "+e+" Tracker will not update."); } }; /* ------------------------------------------------------------- END TRACKER OBJECT */ if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; TRACKER.init(); /* ----------------------------------------------------------------- MISC FUNCTIONS */ function addBox(head,code,id,siblingafter) { try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { 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 */ //Bagian C /****** Cp_Butons by : Kap_j4ck *******/ content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>" +"<input type='button' value='Buka aja' onclick='showButtons()' style='border:1px solid #999999;background-color:#ff0000;color:#ffffff;font-size:9pt'>" +"</div>" controlPanelButtons.style.display="none" function showButtons(){ controlPanelButtons.style.display="block" myCPButtons.innerHTML="<input type='button' value='Tutup Gi' onclick='hideButtons()' style='border:1px solid #999999;background-color:#ff0000;color:#ffffff;font-size:9pt'>" } function hideButtons(){ controlPanelButtons.style.display="none" myCPButtons.innerHTML="<input type='button' value='Buka aja' onclick='showButtons()' style='border:1px solid #999999;background-color:#ff0000;color:#ffffff;font-size:9pt'>" } //-----smilies cbox function showForm() { var div = document.getElementById("hide"); var show = document.getElementById("show"); var close = document.getElementById("close"); if(div.style.display!="none") { hideForm(); } else { div.style.display = "block"; show.style.display = "none"; close.style.display = "block"; } } function hideForm() { var div = document.getElementById("hide"); var show = document.getElementById("show"); var close = document.getElementById("close"); div.style.display = "none"; show.style.display = "block"; close.style.display = "none"; } function x(){ return; } function DoSmilie(addSmilie, messageDef){ var addSmilie, messageDef, revisedMessage; var currentMessage = document.chat.pst.value; if(currentMessage==messageDef){currentMessage='';} revisedMessage = currentMessage+addSmilie; document.chat.pst.value=revisedMessage; document.chat.pst.focus(); return; } //--------------------------------------------floating var currentTime = new Date(); var hours = currentTime.getHours(); var minutes = currentTime.getMinutes(); if (minutes < 10) minutes = "0" + minutes; var jamenit = (hours + ":" + minutes + " "); if(hours > 11){ var ampm = ("PM"); } else { var ampm = ("AM"); } dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><b><font color='white'>Hi..</b></font><br><div id='mainpic'></div><br><img src='http://fwt.txdnl.com/6-20/k/a/kap_j4ck/Hello.jpg'><br><b><font color='white'>Logged in as</font> <font color='white'> "+pageViewerFName+" </font></b><br>"+ "<b><font color='white'>Last visit</font><font color='white'>: Today "+jamenit+ampm+" </font></b><br></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="fromtop" function BoyantDiv() { var startX = 15; var startY = 100; 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(); //marquee status bar atas <!--// function tb10_makeArray(n){ this.length = n; return this.length; } tb10_messages = new tb10_makeArray(1); tb10_messages[0] = "Holla"; tb10_messages[0] = "wellcome in my friendster"; tb10_rptType = 'infinite'; tb10_rptNbr = 5; tb10_speed = 100; tb10_delay = 2000; var tb10_wiper var tb10_space="_" var tb10_currMsg=0; var tb10_counter=1; var tb10_index=0 tb10_main() function tb10_main() { document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);} else{setTimeout('tb10_main()',tb10_speed)} } function tb10_reset_clear() { tb10_index=0 tb10_wiper="" for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space} tb10_clearem() } function tb10_clearem() { document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){ if (tb10_currMsg == tb10_messages.length-1){ if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){ document.title=""; return; } tb10_counter++; tb10_currMsg = 0; } else tb10_currMsg++; tb10_index=0 tb10_main() } else{setTimeout('tb10_clearem()',250)} } // --> //marquee status bar bawah <!--// function doClock() { window.setTimeout( "doClock()", 1000 ); today = new Date(); self.status = today.toString(); } doClock() // --> //mini viewer if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();}; function mainVpic() { if(pageViewerID!="") SPAWNPIC.init(); } function getRegExpDetails(mypic) { if(!mypic) { SPAWNPIC.getCode(); return; }else { for (val in SPAWNPIC.info) { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); }catch(e) { SPAWNPIC.info[val] = ""; } } if(pageViewerID != "") SPAWNPIC.openForm(); } } if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; } SPAWNPIC = { viewerphoto: [], info: { name: null, photo: null, status: null, since: null, location: null }, regexp: { name: /controlpanel_header">((.|\s)+?)<a\s*name="controlpanel/, photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/, status: /data">((.|\s)+?)<\/span><\/li>/, since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/, location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/ }, content: { id: "viewerphoto", sibling: "15" }, init: function() { this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1"); }, openForm: function() { this.viewerphoto = "<div class='fitem1wrapper'>"+ "<table class'fitem1table'>"+ "<tr>"+ "<td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a>"+ "</td>" + "<td class='dtd'>"+ "<ul class='data'>"+ "<div class='title'>" + "<li>"+ "<a href='/" + pageViewerID + "'>" + this.info.name + "</a>"+ "<br />Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+ this.info.status + "<br>Member Since: " + this.info.since + "<br />Location: " + this.info.location + "</li>"+ "</div>" + "</ul>"+ "</td>"+ "</tr>"+ "</table>"+ "</div>"; this.addContent("Welcome to my page "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling); }, ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) { eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');"); eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}"); eval(xmlHttp + ".open('GET','" + base_domain + "',true);"); eval(xmlHttp + ".send(null);"); }, addContent: function(header,cont,id,sibling) { var box = document.getElementById(sibling).parentNode; try { var obj = document.createElement("LI"); }catch(e) { var obj = document.createElement("<LI>"); } obj.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+ "<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+ "<div id='content_"+id+"'>"+cont+"</div>"+ "</div>"; box.parentNode.insertBefore(obj,box); } }; //GOOB BYE ALERT function goodbye(){ alert('Thanks da buka fs koe & jangan lupa kembali lagi !!! ..., '+parent.pageViewerFName+' !!!'); } alert('Wellcome in my friendster'+parent.pageViewerFName+''); alert('& jangan lupa ninggalin cmmnt ya '+parent.pageViewerFName+''); parent.window.onunload=goodbye; /********************************** * 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 #A5CFE9'; dvHdr.style.padding='3'; dvHdr.style.fontSize='11'; dvHdr.style.color='#4B7A98'; dvHdr.style.background='#D5EBF9'; dvHdr.style.filter='alpha(opacity=85)'; // IE dvHdr.style.opacity='0.85'; // FF } function defBdyStyle() { dvBdy.style.borderBottom='1px solid #A5CFE9'; dvBdy.style.borderLeft='1px solid #A5CFE9'; dvBdy.style.borderRight='1px solid #A5CFE9'; 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'; } } var down = false; function toggleDown() { if(down==false){ down=true; t1 = new Tween(document.getElementById('menu_holder').style, 'top', Tween.strongEaseOut, -70, 0, .4, 'px'); t1.start(); } } function toggleUp() { if(down==true){ down=false; t1 = new Tween(document.getElementById('menu_holder').style, 'top', Tween.strongEaseIn, 0, -70, .6, 'px'); t1.start(); } } /********************************************************************** TERMS OF USE - EASING EQUATIONS Open source under the BSD License. Copyright (c) 2001 Robert Penner JavaScript version copyright (C) 2006 by Philippe Maegerman All rights reserved. Promoted by: cip6192 of friendstertalk.com **********************************************************************/ function Delegate() {} Delegate.create = function (o, f) { var a = new Array() ; var l = arguments.length ; for(var i = 2 ; i < l ; i++) a[i - 2] = arguments[i] ; return function() { var aP = [].concat(arguments, a) ; f.apply(o, aP); } } Tween = function(obj, prop, func, begin, finish, duration, suffixe){ this.init(obj, prop, func, begin, finish, duration, suffixe) } var t = Tween.prototype; t.obj = new Object(); t.prop=''; t.func = function (t, b, c, d) { return c*t/d + b; }; t.begin = 0; t.change = 0; t.prevTime = 0; t.prevPos = 0; t.looping = false; t._duration = 0; t._time = 0; t._pos = 0; t._position = 0; t._startTime = 0; t._finish = 0; t.name = ''; t.suffixe = ''; t._listeners = new Array(); t.setTime = function(t){ this.prevTime = this._time; if (t > this.getDuration()) { if (this.looping) { this.rewind (t - this._duration); this.update(); this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'}); } else { this._time = this._duration; this.update(); this.stop(); this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'}); } } else if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } t.getTime = function(){ return this._time; } t.setDuration = function(d){ this._duration = (d == null || d <= 0) ? 100000 : d; } t.getDuration = function(){ return this._duration; } t.setPosition = function(p){ this.prevPos = this._pos; var a = this.suffixe != '' ? this.suffixe : ''; this.obj[this.prop] = Math.round(p) + a; this._pos = p; this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'}); } t.getPosition = function(t){ if (t == undefined) t = this._time; return this.func(t, this.begin, this.change, this._duration); }; t.setFinish = function(f){ this.change = f - this.begin; }; t.geFinish = function(){ return this.begin + this.change; }; t.init = function(obj, prop, func, begin, finish, duration, suffixe){ if (!arguments.length) return; this._listeners = new Array(); this.addListener(this); if(suffixe) this.suffixe = suffixe; this.obj = obj; this.prop = prop; this.begin = begin; this._pos = begin; this.setDuration(duration); if (func!=null && func!='') { this.func = func; } this.setFinish(finish); } t.start = function(){ this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'}); //alert('in'); } t.rewind = function(t){ this.stop(); this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); } t.fforward = function(){ this._time = this._duration; this.fixTime(); this.update(); } t.update = function(){ this.setPosition(this.getPosition(this._time)); } t.startEnterFrame = function(){ this.stopEnterFrame(); this.isPlaying = true; this.onEnterFrame(); } t.onEnterFrame = function(){ if(this.isPlaying) { this.nextFrame(); setTimeout(Delegate.create(this, this.onEnterFrame), 0); } } t.nextFrame = function(){ this.setTime((this.getTimer() - this._startTime) / 1000); } t.stop = function(){ this.stopEnterFrame(); this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'}); } t.stopEnterFrame = function(){ this.isPlaying = false; } t.continueTo = function(finish, duration){ this.begin = this._pos; this.setFinish(finish); if (this._duration != undefined) this.setDuration(duration); this.start(); } t.resume = function(){ this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'}); } t.yoyo = function (){ this.continueTo(this.begin,this._time); } t.addListener = function(o){ this.removeListener (o); return this._listeners.push(o); } t.removeListener = function(o){ var a = this._listeners; var i = a.length; while (i--) { if (a[i] == o) { a.splice (i, 1); return true; } } return false; } t.broadcastMessage = function(){ var arr = new Array(); for(var i = 0; i < arguments.length; i++){ arr.push(arguments[i]) } var e = arr.shift(); var a = this._listeners; var l = a.length; for (var i=0; i<l; i++){ if(a[i][e]) a[i][e].apply(a[i], arr); } } t.fixTime = function(){ this._startTime = this.getTimer() - this._time * 1000; } t.getTimer = function(){ return new Date().getTime() - this._time; } Tween.backEaseIn = function(t,b,c,d,a,p){ if (s == undefined) var s = 1.70158; return c*(t/=d)*t*((s+1)*t - s) + b; } Tween.backEaseOut = function(t,b,c,d,a,p){ if (s == undefined) var s = 1.70158; return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; } Tween.backEaseInOut = function(t,b,c,d,a,p){ if (s == undefined) var s = 1.70158; if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; } Tween.elasticEaseIn = function(t,b,c,d,a,p){ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; if (!a || a < Math.abs(c)) { a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; } Tween.elasticEaseOut = function (t,b,c,d,a,p){ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; if (!a || a < Math.abs(c)) { a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); return (a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b); } Tween.elasticEaseInOut = function (t,b,c,d,a,p){ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) var p=d*(.3*1.5); if (!a || a < Math.abs(c)) {var a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; } Tween.bounceEaseOut = function(t,b,c,d){ if ((t/=d) < (1/2.75)) { return c*(7.5625*t*t) + b; } else if (t < (2/2.75)) { return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; } else if (t < (2.5/2.75)) { return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; } else { return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; } } Tween.bounceEaseIn = function(t,b,c,d){ return c - Tween.bounceEaseOut (d-t, 0, c, d) + b; } Tween.bounceEaseInOut = function(t,b,c,d){ if (t < d/2) return Tween.bounceEaseIn (t*2, 0, c, d) * .5 + b; else return Tween.bounceEaseOut (t*2-d, 0, c, d) * .5 + c*.5 + b; } Tween.strongEaseInOut = function(t,b,c,d){ return c*(t/=d)*t*t*t*t + b; } Tween.regularEaseIn = function(t,b,c,d){ return c*(t/=d)*t + b; } Tween.regularEaseOut = function(t,b,c,d){ return -c *(t/=d)*(t-2) + b; } Tween.regularEaseInOut = function(t,b,c,d){ if ((t/=d/2) < 1) return c/2*t*t + b; return -c/2 * ((--t)*(t-2) - 1) + b; } Tween.strongEaseIn = function(t,b,c,d){ return c*(t/=d)*t*t*t*t + b; } Tween.strongEaseOut = function(t,b,c,d){ return c*((t=t/d-1)*t*t*t*t + 1) + b; } Tween.strongEaseInOut = function(t,b,c,d){ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; return c/2*((t-=2)*t*t*t*t + 2) + b; } /*********************************************** * AnyLink Drop Down Menu- Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ //Contents for home var menu1=new Array() menu1[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Home</font>' //Contents for my profile var menu2=new Array() menu2[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">My Profile</font>' menu2[1]='<a href="http://www.friendster.com/editprofile.php">Edit Profile</a>' menu2[2]='<a href="http://www.friendster.com/photos/'+pageViewerID+'">Photos</a>' menu2[3]='<a href="http://widgets.friendster.com/meezavatars">Avatars</a>' menu2[4]='<a href="http://widgets.friendster.com/meezavatars?app=games">Games</a>' menu2[5]='<a href="http://www.friendster.com/review.php">Reviews</a>' menu2[6]='<a href="http://www.friendster.com/blogs.php">Blogs</a>' menu2[7]='<a href="http://www.friendster.com/featuredfriends.php">Featured Friends</a>' menu2[8]='<a href="http://www.friendster.com/video.php">Video</a>' menu2[9]='<a href="http://www.friendster.com/bulletinboard.php">Bulletin Board</a>' //Contents for my app var menu3=new Array() menu3[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">My App</font>' //Contents for my connections var menu4=new Array() menu4[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">My Connection</font>' menu4[1]='<a href="http://www.friendster.com/friends.php">Friends</a>' menu4[2]='<a href="http://www.friendster.com/schools.php">Schools</a>' menu4[3]='<a href="http://www.friendster.com/friends.php?action=spusers">Im a Fan of...</a>' menu4[4]='<a href="http://www.friendster.com/bookmarks.php">Bookmarks</a>' menu4[5]='<a href="http://www.friendster.com/mygroup.php">Groups</a>' //Contents for explorer var menu5=new Array() menu5[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Explorer</font>' menu5[1]='<a href="http://www.friendster.com/userlist.php?list=newusers">People</a>' menu5[2]='<a href="http://www.friendster.com/photolist.php?list=mostrecent">Photos</a>' menu5[3]='<a href="http://www.friendster.com/video.php">Video</a>' menu5[4]='<a href="http://www.friendster.com/userlist.php?list=feat_profile">Fan Profiles</a>' menu5[5]='<a href="http://www.friendster.com/widgetdirectory.php">Applications</a>' var menu6=new Array() menu6[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Search</font>' var menu7=new Array() menu7[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Classified</font>' var menu8=new Array() menu8[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Invite</font>' var menuwidth='165px' //default menu width var menubgcolor='lightyellow' //menu bgcolor var disappeardelay=90 //menu disappear speed onMouseout (in miliseconds) var hidemenu_onclick="yes" //hide menu when user clicks within menu? /////No further editting needed var ie4=document.all var ns6=document.getElementById&&!document.all if (ie4||ns6) function getposOffset(what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop; var parentEl=what.offsetParent; while (parentEl!=null){ totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } function showhide(obj, e, visible, hidden, menuwidth){ if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top="-500px" if (menuwidth!=""){ dropmenuobj.widthobj=dropmenuobj.style dropmenuobj.widthobj.width=menuwidth } if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible else if (e.type=="click") obj.visibility=hidden } function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function clearbrowseredge(obj, whichedge){ var edgeoffset=0 if (whichedge=="rightedge"){ var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15 dropmenuobj.contentmeasure=dropmenuobj.offsetWidth if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth } else{ var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18 dropmenuobj.contentmeasure=dropmenuobj.offsetHeight if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up? edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge } } return edgeoffset } function populatemenu(what){ if (ie4||ns6) dropmenuobj.innerHTML=what.join("") } function dropdownmenu(obj, e, menucontents, menuwidth){ if (window.event) event.cancelBubble=true else if (e.stopPropagation) e.stopPropagation() clearhidemenu() dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv populatemenu(menucontents) if (ie4||ns6){ showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth) dropmenuobj.x=getposOffset(obj, "left") dropmenuobj.y=getposOffset(obj, "top") dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px" dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px" } return clickreturnvalue() } function clickreturnvalue(){ if (ie4||ns6) return false else return true } function contains_ns6(a, b) { while (b.parentNode) if ((b = b.parentNode) == a) return true; return false; } function dynamichide(e){ if (ie4&&!dropmenuobj.contains(e.toElement)) delayhidemenu() else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhidemenu() } function hidemenu(e){ if (typeof dropmenuobj!="undefined"){ if (ie4||ns6) dropmenuobj.style.visibility="hidden" } } function delayhidemenu(){ if (ie4||ns6) delayhide=setTimeout("hidemenu()",disappeardelay) } function clearhidemenu(){ if (typeof delayhide!="undefined") clearTimeout(delayhide) } if (hidemenu_onclick=="yes") document.onclick=hidemenu //***no right click***** var msg =" Hayo,"+pageViewerFName+" Mo Ngapain ?!!..........coba aja kalo berani...SIAP-SIAP MENERIMA AKIBATNYA YA,"+pageViewerFName+"!!!HE3X" function noRclick( event ) { if( event.which == 3 ) { alert( msg ); return false; } return true; } function noRclick2() { alert( msg ); top.location.href = "http://h1.ripway.com/4760135840/right%20clik.html"; return false; } document.oncontextmenu = noRclick2; document.captureEvents( Event.MOUSEDOWN ); if( document.layers ) document.onmousedown = noRclick; var rector=3 var stopit=0 var a=1 function initshake(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1) return if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a<4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 which.style.left=0 which.style.top=0 } [/spoiler]
ekek
» FTalkManiac
FTalk Level: zero
809
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=Kap_j4ck]smile na kalo di klik g' keluar neh:D[/quote] Ini sudah saya editin dicoba dulu yah....sebelumnya kamu backup dulu [b].JS[/b] nya OK [spoiler]//Bagian a //css injection var css; try { css = document.createElement("link"); }catch(e) { css = document.createElement("<link>"); } css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://h1.ripway.com/4760135840/wvm3.9/wvm3.9.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); /*********** tooltips cursor by : sahabat_peterpan **********/ document.write("<body title=\"header=[Hi "+pageViewerFName+"] body=[selamat datang aja]\">"); /************ Accordion Testimonial with Tooltips ======> by : kap_j4ck **********/ var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/4760135840/wvm3.9/mempercantik%20cmmnt.js"; document.getElementsByTagName("head")[0].appendChild(myjs); /***** komen Smilies by : kap_j4ck *******/ var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/4760135840/wvm3.9/smile%20cmmnt.js"; document.getElementsByTagName("head")[0].appendChild(myjs); /******** ICON ********/ var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://h1.ripway.com/4760135840/kode%20gambar/dunia.gif"; document.getElementsByTagName("head")[0].appendChild(icon); /******** Ym Status ********/ var penyuberenang; try {penyuberenang = document.createElement("div");} catch (e) {penyuberenang = document.createElement("<div>");} penyuberenang.innerHTML = "<font color='#0033ff'><b>kap jack yahoo! messenger status:</b></font><br><br><a href='ymsgr:sendim?kap_j4ck'><img src='http://opi.yahoo.com/online?u=kap_j4ck&m=g&t=8'></a>"; penyuberenang.setAttribute("style","text-align:center;padding-top:8px"); document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(penyuberenang); /* -------------------------------------------------------------------- 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"; } /* ----------------------------------------------------------------- onload handler */ function onProfileLoad() { //Bagian B addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right"); var cip = document.getElementById("navLang").innerHTML+="<div align=\"center\" style=\"width:100%;\"><div id=\"hit_area\" onmouseover=\"toggleDown();\"><center><img src='http://h1.ripway.com/4760135840/kode%20gambar/anger.png ' border=0></center></div><div id=\"menu_holder\"><div id=\"nav\"><ul><div id=\"dropmenudiv\" style=\"visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'\" onMouseover=\"clearhidemenu()\" onMouseout=\"dynamichide(event)\"></div><li><a href=\"http://www.friendster.com/\" onMouseover=\"dropdownmenu(this, event, menu1, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/money.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/user.php\" onMouseover=\"dropdownmenu(this, event, menu2, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/super_man.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/widget_myapps.php\" onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_bad_egg.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/friends.php\" onMouseover=\"dropdownmenu(this, event, menu4, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_beaten.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/explorer.php\" onMouseover=\"dropdownmenu(this, event, menu5, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_electric_shock.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/gallery.php\" onMouseover=\"dropdownmenu(this, event, menu6, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_grimace.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://olx.friendster.com/gateway_cobranded.php?country=\" onMouseover=\"dropdownmenu(this, event, menu7, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_scorn.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li><li><a href=\"http://www.friendster.com/invite.php\" onMouseover=\"dropdownmenu(this, event, menu8, '150px')\" onMouseout=\"delayhidemenu()\"><img src=\"http://h1.ripway.com/4760135840/kode%20gambar/th_victory.png\"class=\"shakeimage\"onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\"onClick=\"top.focus()\"></a></li></ul></div></div><div id=\"hit_area2\" onmouseover=\"toggleUp();\"><br><br><br><br></div></div>"; //slide photo gallery var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=2810246167484362554&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/45818890\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=58081520\" target=\"_blank\">Upload Photo Fo Me</b></a></div>"; document.getElementById('content_1').style.height='100%'; document.getElementById('content_1').style.overflowY='hidden'; document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>"; //chat box var cbox1="<div align='center' id='cboxdiv' style='width:100%;' >"+"<div style='border: 0px solid #000000';><iframe frameborder='0' width='100%' height='250' src='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=main' scrolling='auto' allowtransparency='yes' name='khershout' id='khershout'></iframe><br></div><form name='chat' target='khershout' action='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><br><textarea style='color: #CCCCCC; border: 1px solid #808080; background-color: #404040; padding: 4px; overflow:hidden' class='cboxMsgArea' cols='42' rows='4' name='pst'></textarea><br \><input type='submit' class='tombol' value='Submit' name='submit'><input class='tombol' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='tombol' value='Refresh' name='khershout' onClick='window.khershout.location.href=document.getElementById(\"khershout\").src'><br>"+"<div id='show' style='display: inline'><a href='javascript:showForm()'><font color='#ff6666'>[= show smilies =] </font></a></div>"+ "<div id='close' style='display: none'><a href='javascript:showForm()'><font color='#ff6666'>[= hide smilies =]</font></a></div>"+ "<div id='hide' style='display: none'>"+ "<div width='100%' style='border:0px solid #000000; background:transparent;padding:4px' align='center'>"+ "<a href=\"javascript:DoSmilie(' :) ')\"><img src='http://theftalk.com/img/smilies/smile.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =) ')\"><img src='http://theftalk.com/img/smilies/nod.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :| ')\"><img src='http://theftalk.com/img/smilies/neutral.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =| ')\"><img src='http://theftalk.com/img/smilies/smirk.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :( ')\"><img src='http://theftalk.com/img/smilies/frown.gif'></a>"+ "<a href=\"javascript:DoSmilie(' T_T ')\"><img src='http://theftalk.com/img/smilies/cry.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =( ')\"><img src='http://theftalk.com/img/smilies/tear.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :D ')\"><img src='http://theftalk.com/img/smilies/biggrin.gif'></a>"+ "<a href=\"javascript:DoSmilie(' =D ')\"><img src='http://theftalk.com/img/smilies/badgrin.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :lol: ')\"><img src='http://theftalk.com/img/smilies/lol.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :o ')\"><img src='http://theftalk.com/img/smilies/eek.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :O ')\"><img src='http://theftalk.com/img/smilies/shock.gif'></a>"+ "<a href=\"javascript:DoSmilie(' ;) ')\"><img src='http://theftalk.com/img/smilies/wink.gif'></a>"+ "<a href=\"javascript:DoSmilie(' ;] ')\"><img src='http://theftalk.com/img/smilies/slywink.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :/ ')\"><img src='http://theftalk.com/img/smilies/confused.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :s ')\"><img src='http://theftalk.com/img/smilies/paranoid.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :rolleyes: ')\"><img src='http://theftalk.com/img/smilies/roll.gif'></a>"+ "<a href=\"javascript:DoSmilie(' B) ')\"><img src='http://theftalk.com/img/smilies/cool.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :P ')\"><img src='http://theftalk.com/img/smilies/tongue.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :mad: ')\"><img src='http://theftalk.com/img/smilies/mad.gif'></a>"+ "<a href=\"javascript:DoSmilie(' X( ')\"><img src='http://theftalk.com/img/smilies/angry.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :disgust: ')\"><img src='http://theftalk.com/img/smilies/disgust.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :doubt: ')\"><img src='http://theftalk.com/img/smilies/doubt.gif'></a>"+ "<a href=\"javascript:DoSmilie(' >:) ')\"><img src='http://theftalk.com/img/smilies/evil.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :> ')\"><img src='http://theftalk.com/img/smilies/redface.gif'></a>"+ "<a href=\"javascript:DoSmilie(' /:) ')\"><img src='http://theftalk.com/img/smilies/unibrow.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :retard: ')\"><img src='http://theftalk.com/img/smilies/retard.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :wasted: ')\"><img src='http://theftalk.com/img/smilies/wasted.gif'></a>"+ "<a href=\"javascript:DoSmilie(' smoke: ')\"><img src='http://theftalk.com/img/smilies/smoke.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :ninja: ')\"><img src='http://theftalk.com/img/smilies/ninja.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :drool: ')\"><img src='http://theftalk.com/img/smilies/drool.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :crybaby: ')\"><img src='http://theftalk.com/img/smilies/crybaby.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :puke: ')\"><img src='http://theftalk.com/img/smilies/puke.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :thumbsup: ')\"><img src='http://theftalk.com/img/smilies/thumbsup.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :thumbsdown: ')\"><img src='http://theftalk.com/img/smilies/thumbsdown.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :rose: ')\"><img src='http://theftalk.com/img/smilies/rose.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :norose: ')\"><img src='http://theftalk.com/img/smilies/norose.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :-* ')\"><img src='http://theftalk.com/img/smilies/kiss.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :cake: ')\"><img src='http://theftalk.com/img/smilies/cake.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :gift: ')\"><img src='http://theftalk.com/img/smilies/gift.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :x ')\"><img src='http://theftalk.com/img/smilies/wow.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :wallbash: ')\"><img src='http://theftalk.com/img/smilies/wallbash.gif'></a>"+ "<a href=\"javascript:DoSmilie(' :penguin: ')\"><img src='http://theftalk.com/img/smilies/penguin.gif'></a>"+ "</div></div></form></div>"; addBox(""+pageOwnerFName+"\'s Chat Box",cbox1,"cboxdiv",/commonbox[\s]*?publiccomments/i); } /* ---------------------------------------------------------------- TRACKER OBJECT */ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { style: { filter: "chroma(color='#FFFFFF')", width: '300px', height: '525px', border: '0px', overflow: 'hidden' //to make it scroll, change to 'auto' }, attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://www.balibersatu.com/wvm/tracker.php", display: 7, //display perpage /* ------------------------------------------------------------------------------- */ /** -------------------------------------------------------------------------------- *** WVMv3.1 by marfillaster, *** copyright 2007 http://profiles.friendster.com/mumbhaki *** hosted 2008 http://www.balibersatu.com *** credits: feruzz, friendstertalk.com, friendster.com *** modified by Kher Navarro *** powered by Okacybernet *** Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. *** Author will not be liable of ANY damage through the use of this program *** ------------------------------------------------------------------------------ */ base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmiframe", details: { photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { photo: /imgblock200\x22><a[\S\s]*?img src="([\S\s]*?)"/i, gender: />([\S]*?male)/i, age: /male, ([\d]*?),/i, status: /male, [\d]*?, ([\S\s]*?)<\/span>/i, location: /Location\: <\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /In\: <\/span>([\S\s]*?)<\/li>/i, since: /Since\: <\/span>([\S\s]*?)<\/li>/i }, init: function() { try{getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" style=\"display:none\" src=\"about:blank\"></iframe>";}catch(e){this.error("Cannot insert inline iframe.");return;} var d= new Date(); var hr=invert(d.getTimezoneOffset()/60); this.timedetails="os="+hr; var ifsrc=this.phplink+"?"+this.timedetails+"&id="+pageViewerID+"&owner="+pageOwnerID+"&num="+this.display; var atr=""; var sty=""; for (val in this.attributes) { atr += val +"="+ this.attributes[val]+" "; } for (val in this.style) { sty += val +":"+ this.style[val]+";"; } try {this.div=document.createElement("<div>")} catch(e){this.div=document.createElement("div")} this.div.innerHTML="<iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe>"; if(pageViewerID!=pageOwnerID) if(pageViewerID!="") this.getDETAILS(); }, getDETAILS: function() { processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "TRACKER.parseDETAILS",null); }, parseDETAILS: function(htm) { if(htm.replace(/^\s*|\s*$/mg,"")=="") {this.error("Empty xmlresponse! Unable to parse your details!");return;} else { for (val in this.details) { try { this.details[val]=encodeURIComponent(new RegExp(this.regexp[val]).exec(htm)[1]); } catch(e) { this.details[val]=""; } } if(!this.details.photo) {this.error("Unable to parse primary photo! Invalid xmlresponse or incorrect photo regexp.");return;} this.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&img="+this.details.photo+"&gen="+this.details.gender+"&age="+this.details.age+"&stat="+this.details.status+"&loc="+this.details.location+"&seek="+this.details.seek+"&since="+this.details.since; try{document.getElementById(this.iframeid).src=this.phplink+this.param;}catch(e){this.error("Unable to locate inline iframe id:"+this.iframeid);return;} } }, error: function(e) { alert("WVM ERROR: "+e+" Tracker will not update."); } }; /* ------------------------------------------------------------- END TRACKER OBJECT */ if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; TRACKER.init(); /* ----------------------------------------------------------------- MISC FUNCTIONS */ function addBox(head,code,id,siblingafter) { try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { 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 */ //Bagian C /****** Cp_Butons by : Kap_j4ck *******/ content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>" +"<input type='button' value='Buka aja' onclick='showButtons()' style='border:1px solid #999999;background-color:#ff0000;color:#ffffff;font-size:9pt'>" +"</div>" controlPanelButtons.style.display="none" function showButtons(){ controlPanelButtons.style.display="block" myCPButtons.innerHTML="<input type='button' value='Tutup Gi' onclick='hideButtons()' style='border:1px solid #999999;background-color:#ff0000;color:#ffffff;font-size:9pt'>" } function hideButtons(){ controlPanelButtons.style.display="none" myCPButtons.innerHTML="<input type='button' value='Buka aja' onclick='showButtons()' style='border:1px solid #999999;background-color:#ff0000;color:#ffffff;font-size:9pt'>" } //smilies cbox function showForm() { var div = document.getElementById("hide"); var show = document.getElementById("show"); var close = document.getElementById("close"); if(div.style.display!="none") { hideForm(); } else { div.style.display = "block"; show.style.display = "none"; close.style.display = "block"; } } function hideForm() { var div = document.getElementById("hide"); var show = document.getElementById("show"); var close = document.getElementById("close"); div.style.display = "none"; show.style.display = "block"; close.style.display = "none"; } function x(){ return; } function DoSmilie(addSmilie, messageDef){ var addSmilie, messageDef, revisedMessage; var currentMessage = document.chat.pst.value; if(currentMessage==messageDef){currentMessage='';} revisedMessage = currentMessage+addSmilie; document.chat.pst.value=revisedMessage; document.chat.pst.focus(); return; } //floating var currentTime = new Date(); var hours = currentTime.getHours(); var minutes = currentTime.getMinutes(); if (minutes < 10) minutes = "0" + minutes; var jamenit = (hours + ":" + minutes + " "); if(hours > 11){ var ampm = ("PM"); } else { var ampm = ("AM"); } dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><b><font color='white'>Hi..</b></font><br><div id='mainpic'></div><br><img src='http://fwt.txdnl.com/6-20/k/a/kap_j4ck/Hello.jpg'><br><b><font color='white'>Logged in as</font> <font color='white'> "+pageViewerFName+" </font></b><br>"+ "<b><font color='white'>Last visit</font><font color='white'>: Today "+jamenit+ampm+" </font></b><br></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="fromtop" function BoyantDiv() { var startX = 15; var startY = 100; 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(); //marquee status bar atas <!--// function tb10_makeArray(n){ this.length = n; return this.length; } tb10_messages = new tb10_makeArray(1); tb10_messages[0] = "Holla"; tb10_messages[0] = "wellcome in my friendster"; tb10_rptType = 'infinite'; tb10_rptNbr = 5; tb10_speed = 100; tb10_delay = 2000; var tb10_wiper var tb10_space="_" var tb10_currMsg=0; var tb10_counter=1; var tb10_index=0 tb10_main() function tb10_main() { document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);} else{setTimeout('tb10_main()',tb10_speed)} } function tb10_reset_clear() { tb10_index=0 tb10_wiper="" for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space} tb10_clearem() } function tb10_clearem() { document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){ if (tb10_currMsg == tb10_messages.length-1){ if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){ document.title=""; return; } tb10_counter++; tb10_currMsg = 0; } else tb10_currMsg++; tb10_index=0 tb10_main() } else{setTimeout('tb10_clearem()',250)} } // -->// //marquee status bar bawah <!--// function doClock() { window.setTimeout( "doClock()", 1000 ); today = new Date(); self.status = today.toString(); } doClock() // -->// //mini viewer if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();}; function mainVpic() { if(pageViewerID!="") SPAWNPIC.init(); } function getRegExpDetails(mypic) { if(!mypic) { SPAWNPIC.getCode(); return; }else { for (val in SPAWNPIC.info) { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); }catch(e) { SPAWNPIC.info[val] = ""; } } if(pageViewerID != "") SPAWNPIC.openForm(); } } if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; } SPAWNPIC = { viewerphoto: [], info: { name: null, photo: null, status: null, since: null, location: null }, regexp: { name: /controlpanel_header">((.|\s)+?)<a\s*name="controlpanel/, photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/, status: /data">((.|\s)+?)<\/span><\/li>/, since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/, location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/ }, content: { id: "viewerphoto", sibling: "15" }, init: function() { this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1"); }, openForm: function() { this.viewerphoto = "<div class='fitem1wrapper'>"+ "<table class'fitem1table'>"+ "<tr>"+ "<td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a>"+ "</td>" + "<td class='dtd'>"+ "<ul class='data'>"+ "<div class='title'>" + "<li>"+ "<a href='/" + pageViewerID + "'>" + this.info.name + "</a>"+ "<br />Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+ this.info.status + "<br>Member Since: " + this.info.since + "<br />Location: " + this.info.location + "</li>"+ "</div>" + "</ul>"+ "</td>"+ "</tr>"+ "</table>"+ "</div>"; this.addContent("Welcome to my page "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling); }, ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) { eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');"); eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}"); eval(xmlHttp + ".open('GET','" + base_domain + "',true);"); eval(xmlHttp + ".send(null);"); }, addContent: function(header,cont,id,sibling) { var box = document.getElementById(sibling).parentNode; try { var obj = document.createElement("LI"); }catch(e) { var obj = document.createElement("<LI>"); } obj.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+ "<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+ "<div id='content_"+id+"'>"+cont+"</div>"+ "</div>"; box.parentNode.insertBefore(obj,box); } }; //GOOB BYE ALERT function goodbye(){ alert('Thanks da buka fs koe & jangan lupa kembali lagi !!! ..., '+parent.pageViewerFName+' !!!'); } alert('Wellcome in my friendster'+parent.pageViewerFName+''); alert('& jangan lupa ninggalin cmmnt ya '+parent.pageViewerFName+''); parent.window.onunload=goodbye; /********************************** * 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 #A5CFE9'; dvHdr.style.padding='3'; dvHdr.style.fontSize='11'; dvHdr.style.color='#4B7A98'; dvHdr.style.background='#D5EBF9'; dvHdr.style.filter='alpha(opacity=85)'; // IE dvHdr.style.opacity='0.85'; // FF } function defBdyStyle() { dvBdy.style.borderBottom='1px solid #A5CFE9'; dvBdy.style.borderLeft='1px solid #A5CFE9'; dvBdy.style.borderRight='1px solid #A5CFE9'; 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'; } } var down = false; function toggleDown() { if(down==false){ down=true; t1 = new Tween(document.getElementById('menu_holder').style, 'top', Tween.strongEaseOut, -70, 0, .4, 'px'); t1.start(); } } function toggleUp() { if(down==true){ down=false; t1 = new Tween(document.getElementById('menu_holder').style, 'top', Tween.strongEaseIn, 0, -70, .6, 'px'); t1.start(); } } /********************************************************************** TERMS OF USE - EASING EQUATIONS Open source under the BSD License. Copyright (c) 2001 Robert Penner JavaScript version copyright (C) 2006 by Philippe Maegerman All rights reserved. Promoted by: cip6192 of friendstertalk.com **********************************************************************/ function Delegate() {} Delegate.create = function (o, f) { var a = new Array() ; var l = arguments.length ; for(var i = 2 ; i < l ; i++) a[i - 2] = arguments[i] ; return function() { var aP = [].concat(arguments, a) ; f.apply(o, aP); } } Tween = function(obj, prop, func, begin, finish, duration, suffixe){ this.init(obj, prop, func, begin, finish, duration, suffixe) } var t = Tween.prototype; t.obj = new Object(); t.prop=''; t.func = function (t, b, c, d) { return c*t/d + b; }; t.begin = 0; t.change = 0; t.prevTime = 0; t.prevPos = 0; t.looping = false; t._duration = 0; t._time = 0; t._pos = 0; t._position = 0; t._startTime = 0; t._finish = 0; t.name = ''; t.suffixe = ''; t._listeners = new Array(); t.setTime = function(t){ this.prevTime = this._time; if (t > this.getDuration()) { if (this.looping) { this.rewind (t - this._duration); this.update(); this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'}); } else { this._time = this._duration; this.update(); this.stop(); this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'}); } } else if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } t.getTime = function(){ return this._time; } t.setDuration = function(d){ this._duration = (d == null || d <= 0) ? 100000 : d; } t.getDuration = function(){ return this._duration; } t.setPosition = function(p){ this.prevPos = this._pos; var a = this.suffixe != '' ? this.suffixe : ''; this.obj[this.prop] = Math.round(p) + a; this._pos = p; this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'}); } t.getPosition = function(t){ if (t == undefined) t = this._time; return this.func(t, this.begin, this.change, this._duration); }; t.setFinish = function(f){ this.change = f - this.begin; }; t.geFinish = function(){ return this.begin + this.change; }; t.init = function(obj, prop, func, begin, finish, duration, suffixe){ if (!arguments.length) return; this._listeners = new Array(); this.addListener(this); if(suffixe) this.suffixe = suffixe; this.obj = obj; this.prop = prop; this.begin = begin; this._pos = begin; this.setDuration(duration); if (func!=null && func!='') { this.func = func; } this.setFinish(finish); } t.start = function(){ this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'}); //alert('in'); } t.rewind = function(t){ this.stop(); this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); } t.fforward = function(){ this._time = this._duration; this.fixTime(); this.update(); } t.update = function(){ this.setPosition(this.getPosition(this._time)); } t.startEnterFrame = function(){ this.stopEnterFrame(); this.isPlaying = true; this.onEnterFrame(); } t.onEnterFrame = function(){ if(this.isPlaying) { this.nextFrame(); setTimeout(Delegate.create(this, this.onEnterFrame), 0); } } t.nextFrame = function(){ this.setTime((this.getTimer() - this._startTime) / 1000); } t.stop = function(){ this.stopEnterFrame(); this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'}); } t.stopEnterFrame = function(){ this.isPlaying = false; } t.continueTo = function(finish, duration){ this.begin = this._pos; this.setFinish(finish); if (this._duration != undefined) this.setDuration(duration); this.start(); } t.resume = function(){ this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'}); } t.yoyo = function (){ this.continueTo(this.begin,this._time); } t.addListener = function(o){ this.removeListener (o); return this._listeners.push(o); } t.removeListener = function(o){ var a = this._listeners; var i = a.length; while (i--) { if (a[i] == o) { a.splice (i, 1); return true; } } return false; } t.broadcastMessage = function(){ var arr = new Array(); for(var i = 0; i < arguments.length; i++){ arr.push(arguments[i]) } var e = arr.shift(); var a = this._listeners; var l = a.length; for (var i=0; i<l; i++){ if(a[i][e]) a[i][e].apply(a[i], arr); } } t.fixTime = function(){ this._startTime = this.getTimer() - this._time * 1000; } t.getTimer = function(){ return new Date().getTime() - this._time; } Tween.backEaseIn = function(t,b,c,d,a,p){ if (s == undefined) var s = 1.70158; return c*(t/=d)*t*((s+1)*t - s) + b; } Tween.backEaseOut = function(t,b,c,d,a,p){ if (s == undefined) var s = 1.70158; return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; } Tween.backEaseInOut = function(t,b,c,d,a,p){ if (s == undefined) var s = 1.70158; if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; } Tween.elasticEaseIn = function(t,b,c,d,a,p){ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; if (!a || a < Math.abs(c)) { a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; } Tween.elasticEaseOut = function (t,b,c,d,a,p){ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; if (!a || a < Math.abs(c)) { a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); return (a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b); } Tween.elasticEaseInOut = function (t,b,c,d,a,p){ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) var p=d*(.3*1.5); if (!a || a < Math.abs(c)) {var a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; } Tween.bounceEaseOut = function(t,b,c,d){ if ((t/=d) < (1/2.75)) { return c*(7.5625*t*t) + b; } else if (t < (2/2.75)) { return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; } else if (t < (2.5/2.75)) { return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; } else { return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; } } Tween.bounceEaseIn = function(t,b,c,d){ return c - Tween.bounceEaseOut (d-t, 0, c, d) + b; } Tween.bounceEaseInOut = function(t,b,c,d){ if (t < d/2) return Tween.bounceEaseIn (t*2, 0, c, d) * .5 + b; else return Tween.bounceEaseOut (t*2-d, 0, c, d) * .5 + c*.5 + b; } Tween.strongEaseInOut = function(t,b,c,d){ return c*(t/=d)*t*t*t*t + b; } Tween.regularEaseIn = function(t,b,c,d){ return c*(t/=d)*t + b; } Tween.regularEaseOut = function(t,b,c,d){ return -c *(t/=d)*(t-2) + b; } Tween.regularEaseInOut = function(t,b,c,d){ if ((t/=d/2) < 1) return c/2*t*t + b; return -c/2 * ((--t)*(t-2) - 1) + b; } Tween.strongEaseIn = function(t,b,c,d){ return c*(t/=d)*t*t*t*t + b; } Tween.strongEaseOut = function(t,b,c,d){ return c*((t=t/d-1)*t*t*t*t + 1) + b; } Tween.strongEaseInOut = function(t,b,c,d){ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; return c/2*((t-=2)*t*t*t*t + 2) + b; } /*********************************************** * AnyLink Drop Down Menu- Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ //Contents for home var menu1=new Array() menu1[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Home</font>' //Contents for my profile var menu2=new Array() menu2[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">My Profile</font>' menu2[1]='<a href="http://www.friendster.com/editprofile.php">Edit Profile</a>' menu2[2]='<a href="http://www.friendster.com/photos/'+pageViewerID+'">Photos</a>' menu2[3]='<a href="http://widgets.friendster.com/meezavatars">Avatars</a>' menu2[4]='<a href="http://widgets.friendster.com/meezavatars?app=games">Games</a>' menu2[5]='<a href="http://www.friendster.com/review.php">Reviews</a>' menu2[6]='<a href="http://www.friendster.com/blogs.php">Blogs</a>' menu2[7]='<a href="http://www.friendster.com/featuredfriends.php">Featured Friends</a>' menu2[8]='<a href="http://www.friendster.com/video.php">Video</a>' menu2[9]='<a href="http://www.friendster.com/bulletinboard.php">Bulletin Board</a>' //Contents for my app var menu3=new Array() menu3[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">My App</font>' //Contents for my connections var menu4=new Array() menu4[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">My Connection</font>' menu4[1]='<a href="http://www.friendster.com/friends.php">Friends</a>' menu4[2]='<a href="http://www.friendster.com/schools.php">Schools</a>' menu4[3]='<a href="http://www.friendster.com/friends.php?action=spusers">Im a Fan of...</a>' menu4[4]='<a href="http://www.friendster.com/bookmarks.php">Bookmarks</a>' menu4[5]='<a href="http://www.friendster.com/mygroup.php">Groups</a>' //Contents for explorer var menu5=new Array() menu5[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Explorer</font>' menu5[1]='<a href="http://www.friendster.com/userlist.php?list=newusers">People</a>' menu5[2]='<a href="http://www.friendster.com/photolist.php?list=mostrecent">Photos</a>' menu5[3]='<a href="http://www.friendster.com/video.php">Video</a>' menu5[4]='<a href="http://www.friendster.com/userlist.php?list=feat_profile">Fan Profiles</a>' menu5[5]='<a href="http://www.friendster.com/widgetdirectory.php">Applications</a>' var menu6=new Array() menu6[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Search</font>' var menu7=new Array() menu7[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Classified</font>' var menu8=new Array() menu8[0]='<font style="font-size:14pt;font-weight:bold;font-family:times;color:#ffffff;">Invite</font>' var menuwidth='165px' //default menu width var menubgcolor='lightyellow' //menu bgcolor var disappeardelay=90 //menu disappear speed onMouseout (in miliseconds) var hidemenu_onclick="yes" //hide menu when user clicks within menu? /////No further editting needed var ie4=document.all var ns6=document.getElementById&&!document.all if (ie4||ns6) function getposOffset(what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop; var parentEl=what.offsetParent; while (parentEl!=null){ totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } function showhide(obj, e, visible, hidden, menuwidth){ if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top="-500px" if (menuwidth!=""){ dropmenuobj.widthobj=dropmenuobj.style dropmenuobj.widthobj.width=menuwidth } if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible else if (e.type=="click") obj.visibility=hidden } function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function clearbrowseredge(obj, whichedge){ var edgeoffset=0 if (whichedge=="rightedge"){ var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15 dropmenuobj.contentmeasure=dropmenuobj.offsetWidth if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth } else{ var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18 dropmenuobj.contentmeasure=dropmenuobj.offsetHeight if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up? edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge } } return edgeoffset } function populatemenu(what){ if (ie4||ns6) dropmenuobj.innerHTML=what.join("") } function dropdownmenu(obj, e, menucontents, menuwidth){ if (window.event) event.cancelBubble=true else if (e.stopPropagation) e.stopPropagation() clearhidemenu() dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv populatemenu(menucontents) if (ie4||ns6){ showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth) dropmenuobj.x=getposOffset(obj, "left") dropmenuobj.y=getposOffset(obj, "top") dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px" dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px" } return clickreturnvalue() } function clickreturnvalue(){ if (ie4||ns6) return false else return true } function contains_ns6(a, b) { while (b.parentNode) if ((b = b.parentNode) == a) return true; return false; } function dynamichide(e){ if (ie4&&!dropmenuobj.contains(e.toElement)) delayhidemenu() else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhidemenu() } function hidemenu(e){ if (typeof dropmenuobj!="undefined"){ if (ie4||ns6) dropmenuobj.style.visibility="hidden" } } function delayhidemenu(){ if (ie4||ns6) delayhide=setTimeout("hidemenu()",disappeardelay) } function clearhidemenu(){ if (typeof delayhide!="undefined") clearTimeout(delayhide) } if (hidemenu_onclick=="yes") document.onclick=hidemenu //***no right click*****// var msg =" Hayo,"+pageViewerFName+" Mo Ngapain ?!!..........coba aja kalo berani...SIAP-SIAP MENERIMA AKIBATNYA YA,"+pageViewerFName+"!!!HE3X" function noRclick( event ) { if( event.which == 3 ) { alert( msg ); return false; } return true; } function noRclick2() { alert( msg ); top.location.href = "http://h1.ripway.com/4760135840/right%20clik.html"; return false; } document.oncontextmenu = noRclick2; document.captureEvents( Event.MOUSEDOWN ); if( document.layers ) document.onmousedown = noRclick; var rector=3 var stopit=0 var a=1 function initshake(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1) return if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a<4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 which.style.left=0 which.style.top=0 }[/spoiler]

Last edited by ekek (2008-08-01 17:41:56)

Kap_j4ck
» FTalker
FTalk Level: zero
143
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=ekek]Ini sudah saya editin dicoba dulu yah....sebelumnya kamu backup dulu .JS nya OK[/quote] tetap g' jalan plen :crybaby: waduh pusing saia :wallbash: :wallbash:

Last edited by Kap_j4ck (2008-08-01 17:53:14)

spybot
» FTalker
FTalk Level: zero
166
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-

pagi all....nanya neh...code encrypt yg ini masih bisa ga digunakan apa ya koq pas gw save di media box barusan keluar attention " the web unable compres gitu gw encrypt pake code yg lama....tanya kenapa...???
Kap_j4ck
» FTalker
FTalk Level: zero
143
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-

:arrow: [b]spybot[/b] :D da senior ne :lol: senior bagi scrip flash buat box friends dunk :D

Last edited by Kap_j4ck (2008-08-01 17:56:25)

ekek
» FTalkManiac
FTalk Level: zero
809
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=Kap_j4ck]waduh pusing saia :wallbash: :wallbash:[/quote] coba liat bagian yang di [b]bold ( ? )[/b]...itu seharusnya ada... coba deh di cek lagi =) [quote]var cbox1="<div align='center' id='cboxdiv' style='width:100%;' >"+"<div style='border: 0px solid #000000';><iframe frameborder='0' width='100%' height='250' src='http://www[b]?[/b].cbox.ws/box/?boxid=1018733&boxtag=6824&sec=main' scrolling='auto' allowtransparency='yes' name='khershout' id='khershout'></iframe><br></div><form name='chat' target='khershout' action='http://www[b]?[/b].cbox.ws/box/?boxid=1018733&boxtag=6824&sec=submit' method='post'><input type='hidden' name='nme'..............bla...bla...bla...[/quote]

Last edited by ekek (2008-08-01 17:59:14)

spybot
» FTalker
FTalk Level: zero
166
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=Kap_j4ck]:D da senior ne :lol: senior bagi scrip flash buat box friends dunk[/quote] box flas yg mana...??? box friend yg aq pake gitu maksudnya...???
Kap_j4ck
» FTalker
FTalk Level: zero
143
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=spybot]box flas yg mana...??? box friend yg aq pake gitu maksudnya...???[/quote] yap:)=)
Kap_j4ck
» FTalker
FTalk Level: zero
143
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=ekek]coba liat bagian yang di bold ( ? )...itu seharusnya ada... coba deh di cek lagi =)[/quote] yang mana nya bro soory double post :D

Last edited by Kap_j4ck (2008-08-01 18:04:12)

ekek
» FTalkManiac
FTalk Level: zero
809
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=Kap_j4ck]yang mana nya bro[/quote] lihat bagian ini:thumbsdown: [quote]src='http://www[b]?[/b].cbox.ws.... action='http://www[b]?[/b].cbox.ws....[/quote] nah itu seharusnya ada contoh : [quote]src='http://www[b]5[/b].cbox.ws.... action='http://www[b]5[/b].cbox.ws....[/quote]

Last edited by ekek (2008-08-01 18:09:21)

Kap_j4ck
» FTalker
FTalk Level: zero
143
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=ekek]nah itu seharusnya ada contoh :[/quote] tuh bukan na scirp yg lama yach
ekek
» FTalkManiac
FTalk Level: zero
809
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=Kap_j4ck]tuh bukan na scirp yg lama yach[/quote] Km coba dulu aja... saya rasa itu masalahnya=) [b]OFFLINE[/b]

Last edited by ekek (2008-08-01 18:11:20)

Kap_j4ck
» FTalker
FTalk Level: zero
143
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=ekek]Km coba dulu aja... saya rasa itu masalahnya=)[/quote] malah tambah error bro :(
CoWoCuPu
» FTalkElite
FTalk Level: zero
4881
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-

[b]ALL[/b] tolong liad'tin [b][url=http://profiles.friendster.com/49318470]Friendster[/url][/b] gw yang satu ini dunk... kenapa ea,, ko foto d'comment'nya engga ada? [spoiler]//force log in credits goes to friendstertalk if(pageViewerID==""){ alert("log in dolo iap."); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } // Accordion Testimonial with Tooltips var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://cowocupu.fileave.com/accordcomment.js"; document.getElementsByTagName("head")[0].appendChild(myjs); // Comment var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://cowocupu.fileave.com/comment.js"; document.getElementsByTagName("head")[0].appendChild(myjs); //css injection var v=document.createElement('link'); v.rel='stylesheet'; v.media='screen, print'; v.href='http://cowocupu.fileave.com/comment.css'; navigation.appendChild(v); 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://cowocupu.fileave.com/custom.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); 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; } //onload handler function onProfileLoad() { //addboxes here var koncoku="<center><div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='62116644'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_165802448l-1.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='62116644'>YuDiTh</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='11156728'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_434328297l-1.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='11156728'>mIcHaEl</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='31758106'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_157564468l-1.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='31758106'>WuLaN</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='23584929'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_286129988l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='23584929'>DeViKa</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='13716493'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_823938361l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='13716493'>MaRsHeLLa</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='16203331'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_406135031l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='16203331'>sTeVeN</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='53709339'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_323128753l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='53709339'>G-ThaNKz</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='22760673'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/454250075l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='22760673'>T`Joo SaM</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='45243247'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_648387670l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='45243247'>VeBi</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='47941015'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_290380946l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='47941015'>LiSa</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='19012459'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_820398014l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='19012459'>HeIdY</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='10685519'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_430195217l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='10685519'>ViOnA</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='41132012'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_810401872l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='41132012'>sTeFaNi</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='42617010'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_963319676l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='42617010'>CaRoLiNe</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='41132068'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_969985075l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='41132068'>LiNa</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='35688289'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_434589722l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='35688289'>dIaN</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='28425837'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_668806136l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='28425837'>DJ`WiLLzZ</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='43089763'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_410733505l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='43089763'>MaRTiN</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='41602603'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_752013482l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='41602603'>YoOo</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='38609250'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_425178687l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='38609250'>DeViNa</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='13781591'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_709164573l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='13781591'>FaNDi</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='52948380'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_413548275l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='52948380'>HaLiM</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='30532468'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_565714825l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='30532468'>HaNzEl</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='10289366'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_359836413l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='10289366'>uLy'Z</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='63461852'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_929560826l.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></div><div class='dr'><a href='63461852'>PaUl'z</a></div></div></div><br></div></div><div class='viewall'><a href='/friends/49318470'>View All(10.000)</a></div></center>"; addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_kawanbox'); return false\"><div align='center'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/cowocupu.jpg'></div></a>",koncoku,"kawanbox","2"); shakedapic("2"); } 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); } } // CONTROLPANEL h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div align='center'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/cowocupu-1-1.jpg'></div></a>"; show_hide('content_0'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div align='center'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/cowocupu-1.jpg'></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'; } } } /**************************************** Shake image script (onMouseover)- © Dynamic Drive (www.dynamicdrive.com) For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com *****************************************/ //configure shake degree (where larger # equals greater shake) var rector=3 ///////DONE EDITTING/////////// var stopit=0 var a=1 function initshake(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1) return if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a<4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 which.style.left=0 which.style.top=0 } divpicutama=getElementByClassName("imgblock200")[0]; apicutama=divpicutama.getElementsByTagName("a")[0]; srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src"); apicutama.innerHTML="<img src='"+srcpicutama+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>"; 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; } function shakedapic(boxid,kelipatan){ /* IMAGES SHAKER by nopathz : */ var img2shake=document.getElementById("content_"+boxid).getElementsByTagName("img"); if (kelipatan==null) kelipatan=1; for (i=0;i<img2shake.length;i=i+kelipatan) { getsrc=img2shake[i].getAttribute("src"); dosrc=document.getElementById("content_"+boxid).getElementsByTagName("a")[i]; img2shake[i].parentNode.innerHTML="<img src='"+getsrc+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>"; } } shakedapic("18");[/spoiler] and satu lagii dunk all.. liad daerah comment gw ea? terus d'sebelah kiri atas and bawah,, loe bakal liad simbol ini :arrow: | nah,, itu cara ngilangin'nya gmna sih? binggung banged neh gw.. :wallbash:

Last edited by CoWoCuPu (2008-08-01 19:36:28)

arcatari
» FTalkElite
FTalk Level: zero
5370
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=CoWoCuPu]and satu lagii dunk all.. liad daerah comment gw ea? terus d'sebelah kiri atas and bawah,, loe bakal liad simbol ini :arrow: | nah,, itu cara ngilangin'nya gmna sih? binggung banged neh gw.. :wallbash:[/quote] bro,, coba kode tooltipsnya ga usah di injeksi bro,, gabungin aja langsung kode tooltipsnya ma kode js bro yang utama.. dan kemudian,, hapus juga kode ini di JSnya bro.. <">agar tampilan komennya bro lebih mantap.. cari di CSSnya bro kode uang kayak gini. <">klo dah ketemu,,, hapus aja..trus ganti deh ama yang ini <">

Last edited by arcatari (2008-08-01 19:50:05)

CoWoCuPu
» FTalkElite
FTalk Level: zero
4881
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-

[b]arcatari[/b] berhasil bro... makasi ia... oh yah,, mao tanya lagi dunk man.. gmna cara'nya tu foto bsa ngikud'tin mouse? gw pernah liad tuh d'profile orang... jadi foto'nya engga muncul d kanan.. tapi ngikud'tin mouse gtu... tau ga loe code'nya apa? :eh:
arcatari
» FTalkElite
FTalk Level: zero
5370
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=CoWoCuPu]berhasil bro... makasi ia... oh yah,, mao tanya lagi dunk man.. gmna cara'nya tu foto bsa ngikud'tin mouse? gw pernah liad tuh d'profile orang... jadi foto'nya engga muncul d kanan.. tapi ngikud'tin mouse gtu... tau ga loe code'nya apa? :eh:[/quote] sebenarnya itu namanya cursor tolltips,, yang di akal˛in ama yang punya fs..
  • ARCHIVES 
  • » [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-

Board footer

© 2024 F Talk

Current time is 03:10

[ 10 queries - 0.443 second ]
Privacy Policy