Click to See Complete Forum and Search --> : Javascript loading last?


Heppers
01-13-2003, 09:04 AM
I'm just putting a new Javascript menu on my pages and I notice that the browser (IE6) waits until all images are loaded before displaying the menu.

Is there a way I can "force" the browser to display the menu first?

Ian

gil davis
01-13-2003, 10:03 AM
You probably have an onload event to start the menu. If so, it is needed and there is nothing you can do about it other than eliminating some images.

Heppers
01-13-2003, 10:17 AM
It's at http://www.mbdevelopments.co.uk/welcome/links.html if that is any help to anyone that could have a look.

Ian

swon
01-13-2003, 12:45 PM
you have the javascript on the bottom of the page included:

<script language=javascript src="http://ss.webring.yahoo.com/navbar?f=j&y=ian_hepworth&u=100105281310097058"></script>

change and it will load before!

Heppers
01-13-2003, 12:56 PM
But on a page with no other javascript like

http://www.mbdevelopments.co.uk/vespa/vt3.html

it does the same.

Ian

swon
01-13-2003, 01:06 PM
that's true, but It's also between the body-tags.
Have you tried to put it in the head?
I don't know if that works but trying is better then crying ;-)