Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:34
Tips on improving menu speed...
Poster: mikey
Dated: Wednesday April 7 2004 - 15:35:23 BST
It seems that the menu im using on my website loads laborously slow. Any suggestions? Here's a link:
http://www.northernlightfx.com/testcart.php
vs. the original:
http://www.northernlightfx.com/cart.php
Poster: Maz
Dated: Wednesday April 7 2004 - 15:48:36 BST
I think it has more to do with the graphics on the page.
However, remove obsolete values
menuwidth="";
and you can compress the file to make it smaller, but that will make it difficult to read so back up your uncompressed menu_data.js
maz
Poster: Ruth
Dated: Wednesday April 7 2004 - 16:17:43 BST
It seemed to load pretty fast for me, about 24 secs. I'm on a 56k dialup, so it's somewhere around 45 or so. The second page did load in about 1/2 the time, but it also doesn't have near as many images.
Very pretty design by the way.
Ruth
Poster: mikey
Dated: Wednesday April 7 2004 - 16:20:57 BST
Thanks for the help and kind words, I'll continue to work on it.
Poster: Andy
Dated: Wednesday April 7 2004 - 16:23:06 BST
Don't forget that a DHTML Menu will use far more processing than a standard SELECT box menu.
The DHTML Menu is having to build Divs, tables and hyperlinks.
I saw the menu appear in about 2 seconds on ADSL with a 3.06 P4 - I know it's high spec but is a benchmark. I have a Celeron 600 too, for testing if you'd like me to see how it performs on that machine?
Cheers
Andy
Poster: John
Dated: Wednesday April 7 2004 - 21:37:36 BST
It came up in 4 seconds flat for me (never mind what kind of line I'm on!).
In this code...
Code:
aI("text= ;");
...you might want to use instead of plain spaces.
Poster: kevin3442
Dated: Wednesday April 7 2004 - 22:33:42 BST
My two cents... or two seconds as it were. About 2 seconds for me over cable. Dude, that's fast! It doesn't appear to me taht you're using alot of images in the menus, so I don't know where you could trim speed much.
If you want, you could try moving the menu scripts out of the <head> and put them toward the bottom of the <body>, so that other things appear on the page first, to interest the visitor while the menus are loading.
Kevin
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
