LobbDogg Posted September 10, 2004 Posted September 10, 2004 I want to be able to modify this code so that I can place it anywhere in the <body> tag so I can position the menu bar better to my liking instead of right at the top of the page. <body onload="init();monitor=document.getElementById('mon')"></body> Is there a way I can just have it load the stuff, instead of on body load? Quote Share this post Link to post Share on other sites More sharing options...
Nerm Posted September 10, 2004 Posted September 10, 2004 in javascript the only way to load something when a page loads is with the the only other way to load it without using that method would be to create a button or something to create an action and make that action load the script. you could use a server side script though to load the javascript the way you want it. Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.