/    Sign up×
Community /Pin to ProfileBookmark

Javascript loading last?

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

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisJan 13.2003 — 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.
Copy linkTweet thisAlerts:
@HeppersauthorJan 13.2003 — It's at http://www.mbdevelopments.co.uk/welcome/links.html if that is any help to anyone that could have a look.

Ian
Copy linkTweet thisAlerts:
@swonJan 13.2003 — 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!
Copy linkTweet thisAlerts:
@HeppersauthorJan 13.2003 — But on a page with no other javascript like

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

it does the same.

Ian
Copy linkTweet thisAlerts:
@swonJan 13.2003 — 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 ;-)
×

Success!

Help @Heppers spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...