PDA

View Full Version : jQuery causing problems in IE (only IE)


maros174
04-30-2010, 12:01 PM
Hi guys,

any help will be greatly appreciated...

The problem:
The site in question heavily uses Javascript, there are more than a dozen scripts executing.
Everything works fine in Chrome and Firefox 3.5+...but, in IE there are several problems:

Hover effect over table elements is painfully slow in IE (only IE)
Very high processor usage on mouseover
Flash animation pauses/stops when moving mouse over table elements (making flash banners on the site impossible -> big problem)


You can se the page here (http://investa.hr/fondovi) (there's a flash animation on the right side of the page (light grey/blue color))

----

I've isolated the problem. It's something with jQuery.
There are more than a dozen scripts executing on the page, when I remove the first of them ( put the line below in a comment) the problem disappears, along with all the JavaScript functionality...

Here's the problem line:

<script language="JavaScript" src="javascript/jquery.js" type="text/javascript"></script>

I have attached the problem file (jquery.js, renamed to jquery.txt so I can upload it):

Fumigator
04-30-2010, 04:01 PM
Try using the latest version of jQuery, for starters...

maros174
05-03-2010, 04:30 PM
Try using the latest version of jQuery, for starters...

Tried it before everything, it made no difference at all...

VIPStephan
05-03-2010, 05:26 PM
Really, we are at version 1.4.2 now so at first you should upgrade to the newest version. Then I’ve noticed that IE tends to be very slow with mouseover behavior in some cases when transparent background images are involved. I don’t remember where I last had this but having a solid background color and no image on mouseover solved such an issue for me.