[quote=jeanna143]im just wondering is this working on firefox?

[/quote]
yap!!

for those have an existing onloadhandler(WVM tracker)
do this to avoid conflicts on other boxes or areas...
[quote]function onProfileLoad() {
//mainbox, sidebox and other codes here [b]<---Include PART 1 of code here.[/b]
addBox("RIGHT","WVM TRACKER BOX",TRACKER.div.innerHTML,"tracker",null);
}
/*rest of WVM tracker codes here*/
........
........
........
/*END of WVM tracker codes and addBox functions here*/
[b]put PART 2 of WVMCBox codes here(outside and below the tracker codes.)[/b][/quote]
here's the PARTS...
[b]PART 1[/b]
[quote]var wvmcbox ="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='250' src='http://www[color=red]x[/color].cbox.ws/box/?boxid=[color=red]xxxxxxx[/color]&boxtag=[color=red]xxxx[/color]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' id='cboxmain'>"+
"</iframe>"+
"</div>";
addBox("LEFT","My visitor",wvmcbox,"cboxz",null);
[b]//[/b]}[/quote]
put [b]//[/b] before the clause '}' or just delete it...
be sure to add the codes on its right sibling order or better yet use the default 'null'
[b]PART 2[/b]
[quote]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://www[color=red]x[/color].cbox.ws/box/?boxid=[color=red]xxxxxxx[/color]&boxtag=[color=red]xxxx[/color]&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='"+Date().replace(/\(.+\)/,"")+"'>"+
"<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();
}[/quote]
change the red [color=red]x[/color] with numbers and ID's of your CBox(PART 1 AND 2)
hope it helps...
Last edited by Refresh/Reload (2008-08-15 04:24:47)