Load Suckerfish Menu First?

Reply

Join Date: Sep 2004
Posts: 49
Reputation: #tbone is an unknown quantity at this point 
Solved Threads: 0
#tbone #tbone is offline Offline
Light Poster

Load Suckerfish Menu First?

 
1
  #1
Sep 28th, 2006
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!!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Load Suckerfish Menu First?

 
0
  #2
Sep 29th, 2006
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?
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Load Suckerfish Menu First?

 
1
  #3
Oct 7th, 2006
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?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Load Suckerfish Menu First?

 
0
  #4
Oct 8th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Load Suckerfish Menu First?

 
0
  #5
Oct 8th, 2006
Sometimes that onload is snuck into the .js file (I do this a lot).
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 49
Reputation: #tbone is an unknown quantity at this point 
Solved Threads: 0
#tbone #tbone is offline Offline
Light Poster

Re: Load Suckerfish Menu First?

 
0
  #6
Oct 9th, 2006
hmm... it did not have one originally. I till try to put one in and see. Thanks for the tips.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC