943,987 Members | Top Members by Rank

Ad:
Sep 28th, 2006
1

Load Suckerfish Menu First?

Expand Post »
I have used this suckerfish menu found here for one of my websites.

I have made some changes and things to it, but for some reason when I use it on my site, it will not "open" until the entire webpage has been downloaded to the user's computer.

Is there anyway to have the menu loaded first so that it will work without having the site downloaded?

Thanks for any help you guys can give me.


Dallas Stars Rule!!
Similar Threads
Reputation Points: 13
Solved Threads: 0
Light Poster
#tbone is offline Offline
49 posts
since Sep 2004
Sep 29th, 2006
0

Re: Load Suckerfish Menu First?

That's completely typical. I really wouldn't worry about it all. Users, as a group, are used to the way the web works and understand they have to wait for a page to load before it can be fully functional.

What I'd be more concerned about is, why is your page taking so long to load?
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Oct 7th, 2006
1

Re: Load Suckerfish Menu First?

Hmm...I have never noticed this problem...but I have high speed DSL. Are you sure there is not an onload function floating aruond in there somewhere that tells the browser to wait until the page is loaded to process the menu script?
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Oct 8th, 2006
0

Re: Load Suckerfish Menu First?

Before scripts can work as expected, the page and the underlying DOM have to load. There is an "load" event, of course, which can be tied to the page, typically in the body element with the "onload" event handler.

Another technique is to relocate your scripts from the head section to just before the closing body tag.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Oct 8th, 2006
0

Re: Load Suckerfish Menu First?

Sometimes that onload is snuck into the .js file (I do this a lot).
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Oct 9th, 2006
0

Re: Load Suckerfish Menu First?

hmm... it did not have one originally. I till try to put one in and see. Thanks for the tips.
Reputation Points: 13
Solved Threads: 0
Light Poster
#tbone is offline Offline
49 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Changing the color of the bullet in the <li> tag
Next Thread in HTML and CSS Forum Timeline: Need help with table problem, urgent.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC