Jump to content

Javascript Help


LobbDogg

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...