Solved

Javascript slow on Internet Explorer browsers

Posted on 2007-03-22
7
4,083 Views
Last Modified: 2012-06-27
Hello,

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: http://www.futureimagebank.com/asp/results.asp?Haku=sceneries

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.
0
Comment
Question by:j2nku
  • 3
  • 2
7 Comments
 
LVL 75

Accepted Solution

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

0
 
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

Michel
0
 
LVL 7

Author Comment

by:j2nku
ID: 19521802
Hello,

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.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19521833
No problem
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 19524617
Thank you both for your replies.

J2nku,

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.

b0lsc0tt
EE Cleanup Volunteer
0
 
LVL 7

Author Comment

by:j2nku
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!

J.

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

786 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