2008-09-25 09:14:43

h312y_sh
» FTalkFreak
FTalk Level: zero
1641
0
1969-12-31

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

[quote=assassin]tpi kok wvm nya g jalan ??[/quote] coba gnt keq gini [spoiler]//force login if(pageViewerID==""){ alert("Please log in your Friendster account to view my page!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "http://h1.ripway.com/kimi09/kimi.css"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); var spasi5="&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"; tombol_cmntx=document.getElementById("content_18").getElementsByTagName("div")[0]; tombol_cmntx.style.textAlign="center"; tombol_cmntx.innerHTML=" "; for (i=0;i<10;i++) { fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src"); ulcmntx=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0]; licmntx=ulcmntx.getElementsByTagName("li")[0]; linkxcmnt=ulcmntx.getElementsByTagName("li")[0].getElementsByTagName("a")[0]; xcmntName=linkxcmnt.innerHTML.replace(/"/g,"").replace(/'/g,""); xcmntHref=linkxcmnt.getAttribute("href"); ulcmntx.title="header=[= "+xcmntName+" =] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] fixedabsx=[550] offsety=[-30]"; ulcmntx.getElementsByTagName("li")[2].style.background="transparent"; ulcmntx.getElementsByTagName("li")[2].style.color="#6699cc"; ulcmntx.getElementsByTagName("li")[2].style.padding="17px 10px 10px 80px"; ulcmntx.getElementsByTagName("li")[2].style.lineHeight="18.4px"; tombol_cmntx.innerHTML+=" <img src=\"http://h1.ripway.com/kimi09/icons%20aga/"+i+".png\" class=\"shakeimage\" onmouseover=\"munculkomen('"+i+"')\" title=\"header=[= "+xcmntName+" =] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] fixedabsx=[550] offsety=[30]\"> "; divcmntx=document.getElementById("content_18").getElementsByTagName("div")[2*i+1]; divcmntx.style.display="none"; fototd=document.getElementById("18").getElementsByTagName("td")[2*i]; lidate=ulcmntx.getElementsByTagName("li")[0]; lidate.innerHTML+=spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"&action=sendsmile' style='background:none;padding:0px'><img src=\"http://h1.ripway.com/ndy05/emoticon/smile_icon.gif\" align='middle' style='display:inline;' title=\"header=[<img src='http://h1.ripway.com/ndy05/emoticon/smile_icon.gif' align='absmiddle'> SEND SMILE] body=[Kirim smile untuk "+xcmntName+"]\"></a>"+spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"' style='background:none;padding:0px'><img src=\"http://h1.ripway.com/ndy05/emoticon/msg_icon.gif\" align='middle' style='display:inline;' title=\"header=[<img src='http://h1.ripway.com/ndy05/emoticon/msg_icon.gif' align='absmiddle'> SEND MESSAGE] body=[Kirim message untuk "+xcmntName+"]\"></a>"+spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/photos/")+"' style='background:none;padding:0px'><img src=\"http://h1.ripway.com/ndy05/emoticon/img_icon.png\" align='middle' style='display:inline;' title=\"header=[<img src='http://h1.ripway.com/ndy05/emoticon/img_icon.png' align='absmiddle'> PHOTOS] body=[Lihat foto-foto milik "+xcmntName+"]\"></a>"+spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/comments.php?uid=")+"' style='background:none;padding:0px'><img src=\"http://h1.ripway.com/ndy05/emoticon/com_icon.gif\" align='middle' style='display:inline;' title=\"header=[<img src='http://h1.ripway.com/ndy05/emoticon/com_icon.gif' align='absmiddle'> REPLY COMMENT] body=[Balas komentar untuk "+xcmntName+"]\"></a>"; fototd.style.display="none"; } document.write("<body title=\"header=[Hi "+pageViewerFName+"] body=[add n kasih komen ye....!! ]\">"); //favicon by Xavierkym var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://www.fileden.com/files/2007/3/15/887906/favicon.gif"; document.getElementsByTagName("head")[0].appendChild(icon); var slodde = "<embed src=\"http://widget-3d.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=ms&il=1&channel=1441151880772934717&site=widget-21.slide.com\" style=\"width:485px;height:100px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:485px;text-align:left;\">"; 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>"; function onProfileLoad() { //onload handler //menu var menus="<div class=\"footerx\">"+ "<iframe frameborder=\"0\" width=\"100%\" height=\"100\" src=\"http://h1.ripway.com/wongudik/menudock.htm\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"menu\" style=\"border:none 1px solid;\" id=\"menus\"></iframe></div>"; addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_mns'); return false\"><div>RambU RambU FS </div></a>",menus,"mns","15"); show_hide('content_mns'); var box2 = "<div id='box2div'>"+ "<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='100%' height='330' src='http://www2.cbox.ws/box/?boxid=1682867&boxtag=nebe80&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 1px none;' id='cboxmain'></iframe><br/>"+ "<iframe frameborder='0' width='100%' height='75' src='http://www2.cbox.ws/box/?boxid=1682867&boxtag=nebe80&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 1px none;border-top:0px' id='cboxform'></iframe>"+ "</div>"; addBox("RIGHT","Chat aRea",box2,"box_ke2",null); // FRIENDS h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>TeMeN2 Nya"+pageOwnerFName+"\'s </div></a>"; show_hide("content_2"); // GROUPS h=document.getElementById("8").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>gRoupNya"+pageOwnerFName+"\'s </div></a>"; show_hide("content_8"); // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>FAN nYA"+pageOwnerFName+"\</div></a>"; show_hide("content_7"); addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_tracker'); return false\"><div>yG dAtAng di Fs Nya"+pageOwnerFName+"</div></a>",TRACKER.div.innerHTML,"tracker","2"); show_hide('content_tracker'); } /*TRACKER OBJECT*/ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { style: { filter: "chroma(color='#FFFFFF')", width: '300px', height: '650px', border: '0px' }, attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://h1.ripway.com/kimi09/tracker.php", exitmessage: "SeRiNg2 MamPiR n jgn luPa KoMenNya "+pageViewerFName, /*do not edit below this line*/ /* WVMe v2.2 copyright 2007 friendster.com/mumbhaki credits: marfillaster, feruzz, renalvir, friendstertalk.com, friendster.com licensed under GNU General Public License, version 2 http://www.gnu.org/licenses/gpl.html 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: "wvmtemp", details: { photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { photo: /imgblock200"[\S\s]+?img src="([\S\s]+?)"/i, gender: />([\S]*male)/i, age: /male, ([\d]*),/i, status: /male, [\d]*, ([\S\s]*?)<\/span><\/li>/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() { document.getElementById("navBg").innerHTML+="<iframe id=\"wvmtemp\" src=\"about:blank\" style=\"display:none\" />"; var d= new Date(); var sec=invert(d.getTimezoneOffset()*60); var hr=invert(d.getTimezoneOffset()/60); this.timedetails="oss="+sec+"&osh="+hr; var ifsrc=this.phplink+"?"+this.timedetails; 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="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe><br /><input type=\"button\" class=\"reloadbutt\" value=\"Refresh Tracker\" onclick=\"Reload();\" style=\"margin: 3px;\"></center>"; 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, "parseDETAILS",null); }, sendExit: function() { document.getElementById(this.iframeid).src=this.phplink+this.param+"&exit=1"; alert(this.exitmessage); } }; function parseDETAILS(htm) { if(!htm) { TRACKER.getDETAILS(); return; }else { for (val in TRACKER.details) { try { TRACKER.details[val]=encodeURIComponent(new RegExp(TRACKER.regexp[val]).exec(htm)[1]); } catch(e) { TRACKER.details[val]=""; } } TRACKER.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&url="+TRACKER.details.photo+"&gender="+TRACKER.details.gender+"&age="+TRACKER.details.age+"&status="+TRACKER.details.status+"&country="+TRACKER.details.location+"&seek="+TRACKER.details.seek+"&since="+TRACKER.details.since; document.getElementById(TRACKER.iframeid).src=TRACKER.phplink+TRACKER.param; } } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; TRACKER.init(); if(pageViewerID!=pageOwnerID) if(pageViewerID!="") document.write("<body onbeforeunload='TRACKER.sendExit()'>"); 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; } /*END TRACKER OBJECT*/ /*MISC FUNCTIONS*/ function urlencode(txt) { return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E"); } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { //by marfillaster //type 'POST' | 'GET' //cont 'true' | 'false' //param string | null //handler string | null //handlerparam string |null if(handlerparam) handlerparam=","+handlerparam; else handlerparam=""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}"); httprequest.open( type, url, cont); if(type=="POST") { httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); httprequest.setRequestHeader("Content-length", param.length); httprequest.setRequestHeader("Connection", "close"); } httprequest.send(param); } function 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; } function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings Default "sibling_ID" Boxes for Reference (10/19/07) LEFT RIGHT "0" = controlpanel "15" = meettrail "1" = photos "2" = friends "13" = blogs "14" = googleads "12" = reviews "7" = fan "6" = moreabout "8" = groups "18" = publiccomments null = appends to last(without "") "10" = scrapbook */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } 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); } } /*END MISC FUNCTIONS*/ //tracker refresher function Reload () { var f = document.getElementById('wvm'); f.src = f.src; } /* insert other codes below */ // PHOTOS h=document.getElementById("1").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>foto FoTo NyE"+pageOwnerFName+"</div></a>"; show_hide('content_1'); // MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>cERiTa TeNtaNG "+pageOwnerFName+"</div></a>"; show_hide('content_6'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>k0mEntAr bUAt "+pageOwnerFName+"</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'; } } } //cp data by Feruzz document.getElementById('0').getElementsByTagName("ul")[1].innerHTML= "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> nAmA : aGa_AssASsin Boy's</span><br></li>"+ "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> umuR : 17 TaoN</span><br></li>"+ "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> jEniS KeLamIn : pRia</span><br></li>"+ "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> tinGgAl : in The heaVen</span><br></li>"+ "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> punyA Fs sjak : Dari laHir Dah ADa</span><br></li>"+ "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> scHool: gaG pEnTing Dch</span><br></li>"+ "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> my jOB : bAssIs Muse hahahaha.....</span><br></li>"+ "<li><img src='http://img402.imageshack.us/img402/6293/bulletsj4.gif'/><span> SpeciaL thanks to: KM_management, bro__LaNgaLoNe__ N Bro grEEn IJo </span><br></li>"; function tb9_makeArray(n){ this.length = n; return this.length; } tb9_messages = new tb9_makeArray(3); tb9_messages[0] = "*\\*__AssASsiN__*//*"; tb9_rptType = 'infinite'; tb9_rptNbr = 5; tb9_speed = 400; tb9_delay = 2000; var tb9_counter=1; var tb9_currMsg=0; var tb9_timerID = null var tb9_bannerRunning = false var tb9_state = "" tb9_clearState() function tb9_stopBanner() { if (tb9_bannerRunning) clearTimeout(tb9_timerID) tb9_timerRunning = false } function tb9_startBanner() { tb9_stopBanner() tb9_showBanner() } function tb9_clearState() { tb9_state = "" for (var i = 0; i < tb9_messages[tb9_currMsg].length; ++i) { tb9_state += "0" } } function tb9_showBanner() { if (tb9_getString()) { tb9_currMsg++ if (tb9_messages.length <= tb9_currMsg) { if ((tb9_rptType == 'finite') && (tb9_counter==tb9_rptNbr)){ tb9_stopBanner(); return; } tb9_counter++; tb9_currMsg=0; } tb9_clearState() tb9_timerID = setTimeout("tb9_showBanner()", tb9_delay) } else { var tb9_str = "" for (var j = 0; j < tb9_state.length; ++j) { tb9_str += (tb9_state.charAt(j) == "1") ? tb9_messages[tb9_currMsg].charAt(j) : "____" } document.title = tb9_str tb9_timerID = setTimeout("tb9_showBanner()", tb9_speed) } } function tb9_getString() { var full = true for (var j = 0; j < tb9_state.length; ++j) { if (tb9_state.charAt(j) == 0) full = false } if (full) return true while (1) { var num = tb9_getRandom(tb9_messages[tb9_currMsg].length) if (tb9_state.charAt(num) == "0") break } tb9_state = tb9_state.substring(0, num) + "1" + tb9_state.substring(num + 1, tb9_state.length) return false } function tb9_getRandom(max) { var now = new Date() var num = now.getTime() * now.getSeconds() * Math.random() return num % max } tb9_startBanner() //MAIN PHOTO if ( ! attachOnLoadHandler(function () { MainFlash();})) window.onload = function () { MainFlash();}; function MainFlash() { FLASHOBJ.init(); } if (typeof FLASHOBJ == "undefined") { FLASHOBJ = {}; } FLASHOBJ = { flash: [], style: { cssStyle: document.write("<style type=text/css>div.imgblock150{width:200;height:250;overflow:hidden}</style>") }, elements: { mainid: document.getElementById("content_0"), maintag: "DIV", mainclass: "imgblock200" }, init: function() { this.flash = this.style.cssStyle; this.flash = "<embed src=\"http://widget-d3.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=ms&il=1&channel=1441151880772934355&site=widget-43.slide.com\" style=\"width:200px;height:250px\" name=\"flashticker\" align=\"middle\"/></embed>"; this.getElementsByClassName(this.elements.mainid,this.elements.maintag,this.elements.mainclass)[0].innerHTML = this.flash; }, getElementsByClassName: function(oElm,sTag,sClass) { var elm = []; if (oElm === null)oElm = document; if (sTag === null)sTag = "*"; var els = oElm.getElementsByTagName(sTag) || 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; } }; //pic in tooltips by Nophatz function munculkomen(nomorkomen){ for (i=0;i<10;i++) { imgnya=document.getElementById("content_18").getElementsByTagName("div")[0].getElementsByTagName("img")[i]; stoprattle(imgnya); divcmntx=document.getElementById("content_18").getElementsByTagName("div")[2*i+1]; divcmntx.style.display="none"; } document.getElementById("content_18").getElementsByTagName("div")[2*nomorkomen+1].style.display="block"; goyangimg=document.getElementById("content_18").getElementsByTagName("div")[0].getElementsByTagName("img")[nomorkomen]; initshake(goyangimg); rattleimage(); } /**************************************** 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 } /********************************** * TOOLTIPS * * Sumber : http://www.swazz.org/ * ***********************************/ if (typeof document.attachEvent!='undefined') { window.attachEvent('onload',init); document.attachEvent('onmousemove',moveMouse); document.attachEvent('onclick',checkMove); } else { window.addEventListener('load',init,false); document.addEventListener('mousemove',moveMouse,false); document.addEventListener('click',checkMove,false); } var oDv=document.createElement("div"); var dvHdr=document.createElement("div"); var dvBdy=document.createElement("div"); var windowlock,boxMove,fixposx,fixposy,lockX,lockY,fixx,fixy,ox,oy,boxLeft,boxRight,boxTop,boxBottom,evt,mouseX,mouseY,boxOpen,totalScrollTop,totalScrollLeft; boxOpen=false; ox=10; oy=10; lockX=0; lockY=0; function init() { oDv.appendChild(dvHdr); oDv.appendChild(dvBdy); oDv.style.position="absolute"; oDv.style.visibility='hidden'; document.body.appendChild(oDv); } function defHdrStyle() { dvHdr.innerHTML='<img style="vertical-align:middle" src="info.gif"> '+dvHdr.innerHTML; dvHdr.style.fontWeight='bold'; dvHdr.style.width='170px'; dvHdr.style.fontFamily='Tahoma'; dvHdr.style.border='1px solid #000000'; dvHdr.style.padding='3'; dvHdr.style.fontSize='12'; dvHdr.style.color='#ffff00'; dvHdr.style.background='transparent'; dvHdr.style.filter='alpha(opacity=85)'; // IE dvHdr.style.opacity='0.85'; // FF } function defBdyStyle() { dvBdy.style.borderBottom='1px solid #000000'; dvBdy.style.borderLeft='1px solid #000000'; dvBdy.style.borderRight='1px solid #000000'; dvBdy.style.width='170px'; dvBdy.style.fontFamily='Tahoma'; dvBdy.style.fontSize='12'; dvBdy.style.padding='3'; dvBdy.style.color='#ffff00'; dvBdy.style.background='transparent'; 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'; } } //wiwtm viewer by Feruzz if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();}; function viewer() { if(pageViewerID!="") VIEWERPIC.init(); } if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; } VIEWERPIC = { photo: [], init: function() { if(document.getElementById("viewerpic") != null) { this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,"VIEWERPIC.viewer",null); } }, viewer: function(htm) { if (htm.replace(/^\s*|\s*$/g,"") === null) { alert("VMP Error: Unable to parse the photo!");return; }else if (htm) { try { var targetPhoto = htm.match(/<profile_photo>[\S\s]+?<\/profile_photo>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var targetName = htm.match(/<firstname>[\S\s]+?<\/firstname>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var targetEmail = htm.match(/<email>[\S\s]+?<\/email>/gim)[0].replace(/<[\S\s]+?>/gim, ""); this.photo = document.createElement("DIV"); this.photo.align = "center"; this.photo.appendChild(document.createElement("a")); this.photo.getElementsByTagName("a")[0].href = "/"+pageViewerID; this.photo.getElementsByTagName("a")[0].target = "_blank"; this.photo.getElementsByTagName("a")[0].title = pageViewerFName; this.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img")); this.photo.getElementsByTagName("img")[0].src = targetPhoto; this.photo.appendChild(document.createElement("br")); this.photo.appendChild(document.createElement("span")); this.photo.getElementsByTagName("span")[0].className = "q"; this.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a")); this.photo.getElementsByTagName("a")[1].href = "/"+pageViewerID; this.photo.getElementsByTagName("a")[1].target = "_blank"; this.photo.getElementsByTagName("a")[1].title = pageViewerFName; this.photo.getElementsByTagName("a")[1].innerHTML = targetName; this.photo.appendChild(document.createElement("br")); this.photo.appendChild(document.createElement("span")); this.photo.getElementsByTagName("span")[1].className = "q"; this.photo.getElementsByTagName("span")[1].innerHTML = targetEmail; document.getElementById("viewerpic").appendChild(this.photo); }catch(e) {} } }, ajaxRequest: function(url,func,handler) { if (handler) { handler = ","+handler; }else { handler = ""; } var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if (func) { eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+func+"(httprequest.responseText"+handler+");}}"); } httprequest.open("GET", url, true); httprequest.send(null); } }; var message="NGAPAIN KLIK KANAN DISINI"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") function crazyRedi(){ alert("NAPAIN MAU KLIK KANAN") window.resizeTo(0,0) if(window.moveTo){ for(l=700;l>0;l--){ for(r=1;r>0;r--){ window.moveTo(0,l) window.moveTo(l,0) window.moveTo(0,-l) window.moveTo(-l,0)}} } top.location.href="http://www.acmilan.com/index.aspx" } document.oncontextmenu=crazyRedi //SHOUTOUT CLOCK if (!attachOnLoadHandler(function(){uareoutside()})) window.onload = function(){uareoutside()}; var jam; jam ="<div align=\"center\"><b>CRIMSON TEARS FLOW FROM LIFE LESS EYES TO MINGLE WITH THE ENDLESS SANDS BESTOWING EVER GREATER POWER UPON THE DEMON GOD...!!!!! "+pageOwnerFName+"</b><br><form name=\"clock\"><input type=\"text\" size=\"7\" name=\"local\" style=\"color:#D8001B;text-align:center;font-size:18px;border:2px solid #D8001B;-moz-border-radius:10px 0px 10px 0px;background-color:#00001B;\"></form></div>"; document.getElementById('cpShoutoutBox').innerHTML=jam; function uareoutside() { var Zend = new Date(); var stone = Zend.getTimezoneOffset()/60; var king = (Zend.getHours() + stone); document.clock.local.value = (saatnol(Zend.getHours()) + ":" + saatnol(Zend.getMinutes()) + ":" + saatnol(Zend.getSeconds())); setTimeout("uareoutside()", 1000); } function saatnol(angka) { return ((angka <= 9) ? ("0" + angka) : angka); } function selesai(waktu) { return (waktu >= 24) ? waktu - 24 : waktu; }[/spoiler] jgn lp di back up dolo =) jah...dh keduluan :D

Last edited by h312y_sh (2008-09-25 09:17:03)

Board footer

© 2024 F Talk

Current time is 16:23

[ 12 queries - 0.214 second ]
Privacy Policy