Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-02-2011, 10:25 AM   PM User | #1
jockturner
New Coder

 
Join Date: Mar 2010
Posts: 40
Thanks: 7
Thanked 0 Times in 0 Posts
jockturner is an unknown quantity at this point
Javascript error in IE7 - something simple?

Hope this is an easy fix but as I am not a javascript expert I don't know how to debug. I get an 'Object doesn't support this property or method' error in IE7 for the following:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#featured").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 7000, true);
	$("#featured").hover(
	function() {
	$("#featured").tabs("rotate",0,true);
	},
	function() {
	$("#featured").tabs("rotate",7000,true);
	}
	);
	$("#featured").show(); 
});
</script>
There is a demo at http://www.cornwall.ac.uk/includes/h...der/index.html which initially loads fine but after a few refreshes the error occurs (strangely). Also I have a test page with the script fully integrated at http://www.cornwall.ac.uk/cc/index.p..._Home&test=yes which shows the error every time.

Any help would be greatly appreciated, thanks.
jockturner is offline   Reply With Quote
Old 03-02-2011, 06:45 PM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,817
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
I'd start by upgrading to later versions of jQuery and jQuery UI - those are quite old versions you're running there and it's just possible that this is a bug fixed in a later version.
SB65 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:23 AM.


Advertisement
Log in to turn off these ads.