User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 430,768 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,587 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting

<Body onload= > question

Join Date: Oct 2005
Posts: 6
Reputation: vivek vermani is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
vivek vermani vivek vermani is offline Offline
Newbie Poster

Re: <Body onload= > question

  #3  
Nov 22nd, 2005
Originally Posted by maj
Hi there,

I have some java script menus created and I'm calling them from the <body onload> tag as follows:

<body onload="initjsDOMenu()">

Because of this, the menu is the last thing to load on the page. I want it to be the first thing to load. Anyone know what I can do?

Thanks for any help,
Maj

call this function at the javascript section under head tag.
<head>
<javascript>
function();
</javascript>
</head>
Reply With Quote  
All times are GMT -4. The time now is 5:05 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC