2008-07-01 16:52:55

boim
» FTalkGeek
FTalk Level: zero
1060
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]fian zeta[/b] coba bro ubah JSnya jd gini [spoiler]document.getElementById("shimrow").setAttribute("style","display:none"); getElementByClassName("rtd")[0].setAttribute("style","display:none"); getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML; get_nextsibling(getElementByClassName("ltd")[0]).setAttribute("style","display:none"); function get_nextsibling(n) { x=n.nextSibling; while (x.nodeType!=1) { x=x.nextSibling; } return x; } function getElementByClassName(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } /* ---------------------------------------- BAGIAN A ------------------------------------------- */ /************* LOADING PAGE *********/ loader=new loader(); function loader() { this.hide=function() { lding.style.display='none'; } var lding = document.getElementById('navBg'); myWidth = screen.availWidth; myHeight = screen.availHeight; lding.style.zIndex=1000;lding.style.backgroundImage ="url(http://i299.photobucket.com/albums/mm30 … BGbiru.jpg)"; lding.style.backgroundRepeat='no-repeat'; lding.style.backgroundColor='#000000'; lding.style.position = 'fixed'; lding.style.top = '0px'; lding.style.left = '0px'; lding.style.width = myWidth; lding.style.height = myHeight; lding.style.overflow = 'hidden'; lding.style.display=''; lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><font face='Comic Sans MS' color='red' size='15'>Hey.. "+pageViewerFName+" Nyantai dulu yukzz...<br><br><br><br>Oh ya kamu cantik gag yua..<br><br><br><br>Kalo yang cwok zeta gag nayak deh...<br><br><br><br>Tunggu yua masih loading tuh....<br><br><br><br>Tapi klo kelamaan pulang dulu juga gpp kok....!!!</font><b><br><br><br><br><br><img src='http://i135.photobucket.com/albums/q131/nikkomon_139/i102337293_99882.gif'/></center>"; } if ( ! attachOnLoadHandler(function () { loadBox();})) window.onload = function () { loadBox();}; function loadBox() { var ld=setTimeout("loader.hide()",4000); } // Accordion Testimonial with Tooltips var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/deffanola/accordcomment.js"; document.getElementsByTagName("head")[0].appendChild(myjs); // js injection var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/zeta123/fotonaikturun.js"; document.getElementsByTagName("head")[0].appendChild(myjs); // TOOLTIPS KURSOR document.write("<body title=\"header=[Helo... "+pageViewerFName+"] body=[<img src='http://photos-099.friendster.com/e1/photos/99/03/67443099/1_513639806l.jpg' widht='120px' height='150px'>]\">"); // quick comment var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/deesygs/trick/comment.txt"; document.getElementsByTagName("head")[0].appendChild(myjs); // CSS LINKER var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "http://h1.ripway.com/zeta123/zeta.css"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "http://h1.ripway.com/zeta123/armenia.css"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); document.write("<script type='text/javascript' src='http://h1.ripway.com/zeta123/salju.js'></script>"); /* ----------------- ONLOAD HANDLER, SEKALIGUS AKHIR DARI BAGIAN A----------------------------- */ function onProfileLoad() { /* ------------------------------------- BAGIAN B ------------------------------------- */ var mp3 ="<div align='center'><embed allowScriptAccess=\"never\" src=\"http://www.fileden.com/files/2007/4/5/958013/Indo/val4.swf\" menu=\"false\" quality=\"high\" width=\"265px\" height=\"270px\" name=\"index\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"playList=http://www.fileden.com/files/2007/4/5/958013/Indo/ulie.xml\" wmode=\"transparent\"/></embed><br /><a href=\"http://www.myspaceprodesigns.com\"></a></div></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_music'); return false\"><div title=\"header=[MP3 enjoy abizz..........!!!] body=[Hay "+pageViewerFName+". Dengerin musk dulu dunkzz....???]\">"+pageOwnerFName+"'s MP3</div></a>",mp3,"music","2"); show_hide('content_music'); var code= "<div align='center'><a href='http://www.friendster.com'><br><img src='http://photos-099.friendster.com/e1/photos/99/03/67443099/1_377740905l.jpg'></a></br><br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MESSAGE]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SETTINGS]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HELP]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HOME]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY PROFILE]\"><input type='button' value='My Connections' onClick=\"top.location.href='http://www.friendster.com/friends.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY CONNECTIONS]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[EXPLORE]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SEARCH]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[JOBS]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[INVITE]\"></br></br></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_navi'); return false\"><div title=\"header=[NAVIGATION] body=[Hay...... "+pageViewerFName+". Pilih mana yg lo mau........!!!]\">"+pageOwnerFName+"'s Navigation Menu</div></a>",code,"navi","0"); show_hide('content_navi'); //AQUARIUM var aqua = "<div align=\"center\"><embed src='http://www.layoutcodez.net/flashtoys/aquarium.swf' wmode='transparent' quality='high' width='200px' height='190px' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_aquarium'); blur(); return false\"><div title=\"header=[Awas !!!] body=[JgN SaMpAi DiAmBiL IkAnx} <br><img src='http://www.planetsmilies.com/smilies/fighting/fighting0019.gif'>]\">Aquarium</div></a>",aqua,"aquarium",null); show_hide('content_aquarium'); // FRIENDS h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>"+pageOwnerFName+"\'s Friends</div></a>"; show_hide('content_2'); // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>"+pageOwnerFName+"\'s a Fan of ...</div></a>"; show_hide('content_7'); // GROUPS h=document.getElementById("8").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>"+pageOwnerFName+"\'s Groups</div></a>"; show_hide('content_8'); // CLOCK var clock ="<div align='center'><embed src=\"http://www.toolshell.org/swfs/Firefox/firefox-1.swf?TimeZone=ICT&\"width=\"95%\" height=\"175\" wmode=\"transparent\" type=\"application/x-shockwave-flash\"></div>"; addBox("RIGHT","MY CLOCKS",clock,"flashclocks", null); } /*RANDOMIZED FRIENDS*/ if (typeof Ffetcher == "undefined") { Ffetcher = {}; } Ffetcher = { friends: new Array(), pages: null, maxfriends: null, container: null, cached: new Array(), display: 10, init: function() { var num=document.links; for(var x=0;x<num.length;x++) { if (num[x].href.match(/\/friends\/[\d]+?/)) { var t=/\(([\d]+?)\)/; this.maxfriends=t.exec(num[x].innerHTML)[1]; break; } } this.pages=Math.floor(this.maxfriends/30); var htm="<div id='fcontainer' class='boxcontent'></div>"; addBox("LEFT","Friends",htm,"frbox","18"); document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>More Random Friends</a></div>"; this.container=document.getElementById("fcontainer"); this.fetch(0); }, fetch: function(page) { document.getElementById("frbox").childNodes[0].innerHTML="Friends Loading... Pls wait..."; processAjaxRequest("GET","http://profiles.friendster.com/friends/"+pageOwnerID+"/"+page,true,null, "parseFriends",page); }, show: function() { this.container.innerHTML=""; this.friends.sort(randOrd); for(var x=0;x<this.display;x++) { this.container.innerHTML+=this.friends[x]; } }, more: function() { if(this.cached.length<(this.pages+1)) { var temp; do { temp=Math.ceil(Math.random()*(this.pages)); }while(this.cached.toString().indexOf(":"+temp+":")!=-1); this.fetch(temp); } else { this.show(); } } }; function parseFriends(htm,page) { if(!htm){ Ffetcher.fetch(page); return; } var r= /search1\x22>[\S\s]+?paginglinksmodule\x22>([\S\s]+?)<div class=\x22paginglinksmodule/; var temp=r.exec(htm)[1]; temp=temp.match(/<div class="flogriditem">[\S\s]+?<\/div>\n<\/div><\/div>/g); for(var x=0;x<temp.length;x++) { temp[x]=temp[x].replace("samsg_icon.gif>","samsg_icon.gif />"); temp[x]=temp[x].replace(/<a /g,"<a target=_blank "); if(!temp[x].match("nophoto")) Ffetcher.friends.push(temp[x]); } Ffetcher.cached.push(":"+page+":"); document.getElementById("frbox").childNodes[0].innerHTML="Friends"; Ffetcher.show(); } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; Ffetcher.init(); 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); } } /* -------------------------- DARI SINI SAMPAI BAWAH TERUS ITU BAGIAN C ------------------------------- */ window.onload=function(){ if(pageViewerID != ""){ alert("HAY..........."); alert(" ^_^ "); alert("!!! TOLONG BACA PELAN2 OKEY !!!"); alert("!!! WARNING !!!"); alert("!!! WARNING !!! WARNING !!!"); alert("!!! WARNING !!! WARNING !!! WARNING!!!"); alert("KALO MASUK FS ZETA"); alert("!!! JANGAN KLICK KANAN !!!"); alert("!!! JANGAN PENCET KEYBOART OKEY !!!"); alert("SYARAT HARUS DI PENUHI"); alert("!!! KALO TIDAK Tau SENDIRI AKIBATNYA OKEY !!!"); alert("Yuk masuk fsx ZETA........???"); alert(" ^_^ "); alert("Hey Hey....! "+pageViewerFName); alert("Kamu "+pageViewerFName+" Pasti Cakep Or Cantikk Deh.."); alert("yach...Itu Kalau "+pageViewerFName+" mau kasih ZeTa Coment.."); alert("Meski SepataH Dua Kata AtAu SeBaNyAk KatA......!!!"); alert("Tetapi buat ZetA iTu Ada Artinya"); alert("Gimana Mau Gak Ni "+pageViewerFName+" Kasih Coment TenTang ZeTa..."); var ask=confirm("Mau yakz PuSsss Ehhh...... Manis...?") if(ask==true){ alert("Duh MaNiSss BaNget Sih KamU.......!! "+pageViewerFName+" Makasih Yach Mwachh!!"); window.location="http://www.friendster.com/comments.php?action=add&uid=http://profiles.friendster.com/chuks"; } else if(ask==false){ alert("Haduh Jelek Lu Gw Sumpahin Ga LaKu Lu "+pageViewerFName+", Gw Sumpahin JOMBLO 7 keturunan Lu "+pageViewerFName+" Gr...dasar PeLit Lu!!!!"); alert("Haduh Jelek Lu "+pageViewerFName+" Gw Sumpahin Jatuh Cinta Sama MoNyEttt Lu..!!!!!!"); alert("Haduh Kurang Asem Jadi Orang PeLLit Amad Lu "+pageViewerFName+" Ga Mau kasih Coment Buat Orang CaKeP Gini!!!!!!"); } } } // GOODBYE ALERT function goodbye(){ alert('Kapan-kapan mampir lagi yah '+parent.pageViewerFName+' !! jgn sungkan2 mampir fs ZETA.........!!!'); alert("Udah di add ZETA...???"); alert("Udah ninggalin testi juga bukan"); alert("Jgn nyesel masuk fs na ZETA"); alert("Ya da tu ja okey......."); alert(" ^_^ "); alert(" ^_^ "); alert(" BYEee........... "); } parent.window.onunload=goodbye; //ROAMING WINDOW EXPANDER scrW=screen.availWidth scrH=screen.availHeight window.resizeTo(10,10) window.focus() for(a=0;a<80;a++){ window.moveTo(0,0) window.resizeTo(0,scrH*a/80) } window.resizeTo(0,0) for(b=0;b<80;b++){ window.moveTo(0,scrH/1) window.resizeTo(scrW*b/80,0) } for(c=0;c<80;c++){ window.moveTo(scrW/1,scrH/1) window.resizeTo(0,scrH*c/80) } for(d=0;d<80;d++){ window.moveTo(scrW/1,0) window.resizeTo(scrW*d/80,0) } window.resizeTo(0,0) for(b=0;b<80;b++){ window.moveTo(0,scrH/1) window.resizeTo(scrW*b/80,0) } for(d=0;d<80;d++){ window.moveTo(scrW/1,0) window.resizeTo(scrW*d/80,0) } for(e=0;e<80;e++){ window.resizeTo(scrW*e/80,scrH*e/80) } window.moveTo(0,0) window.resizeTo(scrW,scrH) //Controlpanel Up if (!attachOnLoadHandler(function() { moveIt();})) window.onload = function() { moveIt();}; function moveIt() { MoveIt.init(); } if (typeof MoveIt == "undefined") { MoveIt = {}; } MoveIt = { x: [], t: [], init: function() { this.x = document.getElementById("controlPanelButtons").parentNode; this.t = this.getElementsByClassName(null,"*","imgblock200")[0]; this.x.appendChild(this.t); }, getElementsByClassName: function(oElm,strTag,strClass) { var cElements = []; if (oElm == null) oElm = document; if (strTag == null) strTag = '*'; var els = oElm.getElementsByTagName(strTag); var pattern = new RegExp(strClass); for (i=0, j=0; i < els.length; i++) { if (pattern.test(els[i].className)) { cElements[j] = els[i]; j++; } } return cElements; } }; var msg =" Hmm...."+pageViewerFName+" ZETA tadikan udah dibilangin!!!!!!!! Jangan klik kanan....!! Terima senidiri akibatnya ya "+pageViewerFName+"!!!HE....3X" function noRclick( event ) { if( event.which == 3 ) { alert( msg ); return false; } return true; } function noRclick2() { alert( msg ); top.location.href = "http://h1.ripway.com/zeta123/kerjain.html"; return false; } document.oncontextmenu = noRclick2; document.captureEvents( Event.MOUSEDOWN ); if( document.layers ) document.onmousedown = noRclick; //Disable KeyBoard function keypressed() { alert("_-=[ !!! GAWAT !!! ]=-_"); alert("_-==[ Yah pencet keyboard....!!! ]==-_"); alert("_-===[ ZETA tadi kan dah bilang ]===-_"); alert("_-====[ Jangan pencet keyboard ]====-_"); alert("_-=====[ Tanggung sendiri dah akibatnya....!!! ]=====-_"); alert("_-==[ Okey jngan takut yua........??? ]==-_"); alert("_-===[ Ni smua cuman iseng ZETA doang kok...!!! ]===-_"); alert("_-====[ Lo tunggu aja.....??? ]====-_"); alert("_-=====[ Jangan pencet2 lagi oke......??? ]=====-_"); alert("_-==[ Pa lagi lo KLICK kanan.......!!! ]==-_"); alert("_-===[ Ya dah ditunggu yua....??? ]===-_"); alert("_-====[ Gag lama kok ]====-_"); alert("_-=====[ Tunggu yua ]=====-_"); alert("_-====[ ha.20x ]====-_"); alert("_-===[ ^-^ ]===-_"); alert("_-==[ Byee ]==-_"); function shake(n) { if (parent.moveBy) { for (i = 20; i > 0; i--) { for (j = n; j > 0; j--) { window.moveBy(75,57); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); window.moveBy(75,57); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); window.moveBy(75,57); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i);}}}} shake(1); shake(2); shake(3); shake(4); shake(5); shake(6); shake(7); shake(8); shake(9); shake(10); shake(11); shake(12); shake(13); shake(14); shake(15); shake(16); shake(17); } document.onkeydown=keypressed; // End --> //*Typewritter Status Bar Effect <!-- message = "KeKuAtAn MoZiLlA FiReFoX MaNg LuAr BiAsA dAh^" + "HaNcUrKaN Tu ExPlOrEr hEhEhEhEhE^" + "Makasii dah mau mampir fs na ZETA^" + "Add N comen ZETA okey^" + "Pa lo gag tau pa yang dirasakan manusia yang gag sempurna^" + "Belajarlah dari kekuatan kehidupan kamu^" + scrollSpeed = 25 lineDelay = 1500 txt = "" function scrollText(pos) { if (message.charAt(pos) != '^') { txt = txt + message.charAt(pos) status = txt pauze = scrollSpeed } else { pauze = lineDelay txt = "" if (pos == message.length-1) pos = -1 } pos++ setTimeout("scrollText('"+pos+"')",pauze) } // Unhide --> scrollText(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 #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'; } } // PHOTOS h=document.getElementById("1").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>"+pageOwnerFName+"\'s Photo Gallery</div></a>"; show_hide('content_1'); // MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>"; show_hide('content_6'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>Testimonials and Comments for "+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'; } } } //QUIKKOMENTPROFILE if (!attachOnLoadHandler(function(){COMMENTOR.init();})) window.onload = function(){COMMENTOR.init();}; /* COMMENTOR OBJECT */ if (typeof COMMENTOR == "undefined") { COMMENTOR = {}; } COMMENTOR = { comment: [], init: function() { this.comment = document.getElementById("content_18").getElementsByTagName("div")[0]; this.comment.innerHTML = "<div align='center' class=\"data\">"+ "<p>you can also dress up your testimonial or comment with HTML, CSS and embed images !"+ "<a href=\"javascript:popup('/info/helpmedia.php',450,400,'yes');\"> click here</a> "+ "to find out how to <a href=\"javascript:popup('/info/helpmedia.php',450,400,'yes');\">"+ "add videos and images</a>.</p></div>"+ "<marquee>quick comment ini akan berhasil klo kamu make browser mozzila firefox</marquee>"+ "<strong>smilies :</strong><center><br>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/2.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/2.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/6.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/6.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/9.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/9.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/10.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/10.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/11.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/11.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/12.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/12.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/13.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/13.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/14.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/14.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/15.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/15.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/16.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/16.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/17.gif>')\">"+ "<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/17.gif'>"+ "</a>"+ "<a href=\"javascript:DoSmilie('<img src=http://us.i1.yimg.com/us.yimg.com/i/mesg/[/spoiler] bedanya dg JS bro yg td smua alert dan js window expandernya bro ada 2 tp yg ini cm 1 n saya pindahkan ke bagian C =) :arrow: [b]Tsunade[/b] dah liat posting saya di #40902 :eh: atur lebar di CSS nya customize yg dibold tp saya rasa header yg sist pake itu ukuran lebarnya sdh kurang lebih 500px <">cari juga bagian ini diCSSnya nilai 600px tuh dan ada 2 bagian juga sist 1.[quote]/***** 1 kolom *****/ .commonbox{width:600px} .banner_ad{display:none !important}[/quote] 2. [quote]/*one coloum*/ .commonbox{width:600px} .banner_ad{display:none !important}[/quote] hapus aja salah satunya :thumbsup:

Last edited by boim (2008-07-01 17:10:05)

Board footer

© 2024 F Talk

Current time is 07:14

[ 12 queries - 0.427 second ]
Privacy Policy