Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-25-2010, 06:58 PM #1
- Join Date
- Sep 2010
- Thanked 0 Times in 0 Posts
Jquery div swap not working in IE
I am not a programmer, I am just trying to accomplish some remote rollover div swaps on a website and found this script/instructions. It works great in Firefox, but nothing happens in IE and down at the bottom of the browser window there is a message that the page is not loading correctly. Since the unknown to me is the jquery script, I am assuming the issue is there?
Here is the page in question: http://automationis.wrightarts.com/
- mouse-ing over any menu item is supposed to swap out the main div (the images are the same right now, so only the text in the bottom right corner changes)
09-26-2010, 09:27 AM #2
- Join Date
- Feb 2009
- Ilkley, West Yorkshire, UK
- Thanked 724 Times in 718 Posts
Looks like the problem is the switches variable - this must be a reserved word in IE. Try changing your variable names:
[CODE] $switches = $('#switches > li');
$slides = $('#slides > div');
Last edited by SB65; 09-26-2010 at 09:29 AM.
Users who have thanked SB65 for this post: