Pages: 1234

  2008-10-27 00:02:58

Refresh/Reload
» FTalkAddict
FTalk Level: zero
332
0
1969-12-31

Re: [img]http://whos.amung.us/swidget/wvj0ivvcqjvp.png[/img] [b]UPDATE[/b] *this one is allowed you to know where the visitors came from!! [url=http://www.friendster.com/profiles/adnpht]PREVIEW[/url] [b

for those already have addbox function and having a problem to make this work while compiling with other WVM addboxes... try this... [quote][b]//put on top of onloadhandler[/b] var times=history.length var now = new Date(); var millinow=now.getTime()/1000; var hours = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds(); now.setHours(now.getHours()+1); var min=60*now.getUTCHours()+now.getUTCMinutes() + now.getUTCSeconds()/60; var internetTime=(min/1.44); internetTime="Internet Time: @"+Math.floor(internetTime); var later = new Date() var millilater=later.getTime()/1000 var loadTime=(Math.floor((millilater-millinow)*100))/100 //onloadhandler [b]function onProfileLoad() {[/b] //addbox or other codes here [b]//first part of the codes here without post 1 onload function[/b] var wvmcbox = "<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='100%' height='250' src='http://www4.cbox.ws/box/?boxid=[b]???????[/b]&boxtag=[b]????[/b]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' id='cboxmain'>"+ "</iframe>"+ "</div>"; addBox("RIGHT","Visitors History",[b]wvmcbox[/b],"cboxz",null); [b]}[/b] <--- [b]NOTE: delete that.. [/b]do not include that character here... //addbox or other codes here [b]}[/b] <-- only put this at the last part of all your addbox or other codes... [b]//rest of WVM tracker codes and addbox function...[/b] codes... codes... etc... [b]//end of WVM tracker codes and addbox functions...[/b] [b]//put second part of the codes here outside/below the WVM tracker codes and addbox functions...[/b] if((pageViewerID != pageOwnerID) && (pageViewerID != "")) { var getnavBg = document.getElementById("navBg"); getnavBg.innerHTML += "<div style='display:none'>"+ "<iframe name='cbox_submit' id='cbox_submit' width=0 height=0>"+ "</iframe>"+ "<form id='cform' target='cbox_submit' action='http://www4.cbox.ws/box/?boxid=[b]???????[/b]&boxtag=[b]????[/b]&sec=submit' method='post'>"+ "<input type='text' maxlength='25' name='nme' value='"+pageViewerFName+"'>"+ "<input type='text' maxlength='50' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"+ "<input type='text' maxlength='200' name='pst' value='History Information [br]Date: "+Date().replace(/\(.+\)/,"")+" [br]Referral ID: "+pageViewerID+" [br]Browser: "+navigator.appName+" [br]Version: "+navigator.appVersion+" [br]Came From: "+document.referrer+" [br]History: "+times+" time(s) [br]Local Time: "+hours+":"+minutes+":"+seconds+" [br]Screen Res: "+ screen.width +"x"+ screen.height +" pixel'>"+ "<input type='submit' value='submit'>"+ "<input type='button' value='Refresh' onClick='window.cboxmain.location.href=document.getElementById(\"cboxmain\").src'>"+ "</form>"+ "</div>"; document.getElementById("cform").submit(); }; //other codes here...[/quote] just properly compile your addboxes and other codes inside the onloadhandler... use trial and error... for your css extension file... edit at ur liking... [quote][b]#wvmcbox[/b] { background-color: transparent; background-image:url(PUT BACKGROUND URL HERE); background-attachment: scrollable; background-repeat: repeat; background-position: center; border: 1px solid #555555; width:100% ! Important; }[/quote] btw... the example above i'm using is for WVMtracker v2.1... hope it helps... :D

Last edited by Refresh/Reload (2008-12-15 22:44:31)

Pages: 1234

Board footer

© 2024 F Talk

Current time is 10:37

[ 12 queries - 0.010 second ]
Privacy Policy