Tips on improving menu speed...

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mikey
Beginner
Beginner
Posts: 2
Joined: Wed Apr 07, 2004 3:31 pm

Tips on improving menu speed...

Post by mikey »

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
Mikey Erickson
Web Designer
http://www.mikeyerickson.com
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
mikey
Beginner
Beginner
Posts: 2
Joined: Wed Apr 07, 2004 3:31 pm

Post by mikey »

Thanks for the help and kind words, I'll continue to work on it.
Mikey Erickson
Web Designer
http://www.mikeyerickson.com
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

It came up in 4 seconds flat for me (never mind what kind of line I'm on!).

In this code...

Code: Select all

aI("text=    ;");
...you might want to use   instead of plain spaces.
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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
Post Reply