2008-01-22 03:51:43

D' Angelo
» FTalkManiac
FTalk Level: zero
977
0
1969-12-31

Re: [flash=0x0]http://joekingky.bluecybers.net/flash/xup.swf[/flash] [b]CREDITS:[/b] :arrow: [b]KEN MARFILLA[/b] :arrow: RENALVIR :arrow: NOPATHZ :arrow: [b]bobcbar[/b] << for always helping :thumb

This is on marfilaster wvm 3.1, the time.js file. I forgot who make this time.js but i think it calculate the GMT for viewers from milisec to seconds. It also triger record update on visitor visit count. [quote][b]time.js[/b] if (!attachOnLoadHandler(function(){ch()})) window.onload = function(){ch()}; function attachOnLoadHandler(func) { if(window.attachEvent) { window.attachEvent('onload',func); return true; } if(window.addEventListener) { window.addEventListener('load',func,false); return true; } return false; } 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 ch() { var d= new Date(); var sec=invert(d.getTimezoneOffset()*60); var hour=invert(d.getTimezoneOffset()/60); x=document.getElementsByName("lnk"); for(var y=0;y<x.length;y++) { var myregexp = /\?/; if(x[y].getAttribute("href").match(myregexp)) x[y].setAttribute("href",x[y].getAttribute("href")+"&oss="+sec+"&osh="+hour); else x[y].setAttribute("href",x[y].getAttribute("href")+"?oss="+sec+"&osh="+hour); } }[/quote] Oh and i've seen your profile, but my name not recorded at your WVM.

Last edited by D' Angelo (2008-01-22 03:53:11)

Board footer

© 2024 F Talk

Current time is 19:24

[ 12 queries - 0.046 second ]
Privacy Policy