You are viewing a post by blurrycloud. View all 67 posts in Requirements: :arrow: Just read and you will learn how you can compile your JS in One File :arrow: Cbox account, so you can test this tutorial Register here: [url]cbox.ws[/url] :arrow: You should ha.
[b]
INSIDE YOUR ONLOAD HANDLER[/b]
[quote]//WVMCBOX
var wcbox="<div align=\"center\" id=\"radio\"><iframe frameborder='0' width='90%' height='300' src='http://www[color=red]?[/color].cbox.ws/box/?boxid=[color=red]#####[/color]&boxtag=[color=red]####[/color]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe></div>";
addBox("siderail"," MY PROFILE VIEWER",wcbox,"wcbox");[/quote]
[b]OUTSIDE YOUR ONLOAD HANDLER
[/b]
[quote]/*WVM CBOX FUNCTION*/
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='http://www[color=red]?[/color].cbox.ws/box/?boxid=[color=red]#####[/color]&boxtag=[color=red]####[/color]&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}[/quote]
I hope you already know what specific ids and tags you should put inside that red colored text..
now tell me what is your problem about the two codes above?
Last edited by blurrycloud (2008-04-04 02:31:44)