Javascript slow on Internet Explorer browsers

Posted on 2007-03-22
Last Modified: 2012-06-27

I'm having a problem with one of my JavaScript codes - it's slow on IE 6 and 7 but there are no problems on FireFox or Mac browsers.

If you have any ideas what could possibly cause slowness in IE browsers, please comment.

Working page:

Problem is with the code that shows bigger thumbnails when you hold your mouse over the small thumbnail.
I have tried it without timers, without correct positioning (just few simple lines) but nothing has helped, still the page acts (scrolls) slowly and the bigger thumbnails load for quite a time (especially when you see 32,48 or 96 images per page).

I don't want to post the whole code and functions, they are all available in the source (functions ShowPreview and HidePreview)

Thank you for your comments.
Question by:j2nku
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 75

Accepted Solution

Michel Plungjan earned 500 total points
ID: 18770681
No problem on my IE6 on win2k Pentium 4, 3GHz 2GB ram

LVL 75

Expert Comment

by:Michel Plungjan
ID: 18770695
I see
img style='margin:5,5,5,5;

which I would think should be
img style='margin:5 5 5 5;

FF complains


Author Comment

ID: 19521802

As i still don't have any solution for the problem but mplungjan pointed out one mistake i had in the code i'd accept his answer as partial and would give 50 points.
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

LVL 75

Expert Comment

by:Michel Plungjan
ID: 19521833
No problem
LVL 54

Expert Comment

ID: 19524617
Thank you both for your replies.


You will need to post to Community Support to ask about lowering the points.  That is only done in certain cases and the moderators need to do it.  You can post the message by clicking on the Ask A New Question button.  Describe the help you need in the question body and include this question's URL.  Enter a relevant title and then, on the next page, choose General (under Community Support) for the zone to post the question in.  That should be the only zone you choose.  You can choose the No Points option since no points are needed to post there.  Let me know if you have a question or problem with any step.  The moderators are very helpful and will look at this.

Instead of doing that you could work with Mplungjan to try to get a complete answer to your question.  He is a great expert.  The key to get the answer is participation and you didn't until now.  If you still need help with it and it isn't getting attention then you can post to General Community Support.  The moderators there can contact the Zone Advisor and other experts that may have overlooked the question but can help.

Let me know if you have a question about anything I mentioned.  Let us know the current status of this and how you want to proceed.

EE Cleanup Volunteer

Author Comment

ID: 19547259
B0lsc0tt, thank you for your answer!

As i have no time to start another thread and keep an eye on it, i just accept Mplungjan's answer as accepted. I was hoping that more experts participate and give their comments on the first days but unfortunately no-one else did - so i just had to move on with my work and change the system a little bit, remove some functionality - which meant that the problem was reduced and question was not very urgent any more.

I still kept it open as maybe somebody would discover it and give me valuable hints.

Thank you both for answering!



Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question