Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE running slowely

Status
Not open for further replies.

Jiggerman

Programmer
Sep 5, 2002
62
GB
Hello Folks,

I was wondering if you could give me a bit of advice.

I created a 4 level dropdown menu in CSS using the suckerfish design (kudos going out to Vragabond for that advice), this now runs perfectly in FireFox (No surprises there) and after a fight that would rival the final battle in Lord of the rings it works in IE.

But it does run ridiculously slowely. I assume this a mixture of the amout of levels that I have and because it has to use a Javascript IE work around.
here is an example http://www.sus-uk.com/TemplateTester/Environment/EnergyEfficiency/Appliances/Washing-machine.htm

Does anyone have any idea's how I could speed this up?

thanks a lot in advance!

Jiggersaurus


 
Actually, it has nothing (or very little) to do with number of levels or JavaScript. I tested your page at work on IE6 and it ran hideously slow -- my home computer is much faster and things like that are hardly noticable. However, when I turned off font-styles, font-sizes and colors (basically, it turned off all the styling of the page), the whole thing was speeding away. I think it has mostly to do with backgrounds. Try using a simpler color scheme, at for IE if you can't give it up for FF. You can load custom stylesheet with FF colors with simple css browser sniffer techniques.
 
It appears that background images are way too small (bg_CCCCCC.gif is only 2x2px wide). Make 'em larger, this won't hurt.

Also, try to save background image by right-clicking on gray bkg. EnvironmentBottomBackground.jpg - some flowers. Wow :)

------
heisenbug: A bug that disappears or alters its behavior when one attempts to probe or isolate it
schroedinbug: A bug that doesn't appear until someone reads source code and realizes it never should have worked, at which point the program promptly stops working for everybody until fixed.

[ba
 
Hey Folks,

I've removed the checkered box background from most of the boxes that don't need it. It has increased the the speed a great deal. Thanks a great deal for your help.

I don't suppose that you fancy explaining why it was so slow with the backgrounds in? I would have thought that having a small repeated background would have been quite a memory efficient way of doing backgrounds. Or was it because of the transparency on the background adding extra rendering time?

Quite strange.

Thanks again for all your help folks.

one happy Jiggedy Jig!

 
If I knew why Microsoft programs behave like they do, I would probably be a billionaire right now. One of those M$ things, Jig.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top