Jump to content

Javascript Help


LobbDogg
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...