View Full Version : Javascript error in IE7 - something simple?

03-02-2011, 10:25 AM
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:

<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">
$("#featured").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 7000, true);
function() {
function() {

There is a demo at http://www.cornwall.ac.uk/includes/home_content_slider/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.php?page=_Home&test=yes which shows the error every time.

Any help would be greatly appreciated, thanks.

03-02-2011, 06:45 PM
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.