Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2010
    Posts
    40
    Thanks
    7
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,954
    Thanks
    9
    Thanked 724 Times in 718 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •