jQuery-1.2.6.min.js - Internet Explorer error
Hi
I hope someone is able to help me or point me in the right direction.
Using Coda slider - which works great in Firefox but noticed in IE8 it's showing an error on the page:
Invalid Argument
jQuery-1.2.6.min.js
Code: 0
Line: 12
Char: 2299
[Path to js file]
Here is a copy of the markup in the HEAD that calls all the JavaScript files:
- <script type="text/javascript" src="<%=SiteRoot()%>include/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="<%=SiteRoot()%>include/jquery-easing-1.3.pack.js"></script>
<script type="text/javascript" src="<%=SiteRoot()%>include/jquery-easing-compatibility.1.2.pack.js"></script>
<script type="text/javascript" src="<%=SiteRoot()%>include/coda-slider.1.1.1.pack.js"></script>
<script type="text/javascript">
var theInt = null;
var $crosslink, $navthumb;
var curclicked = 0;
theInterval = function(cur) {
clearInterval(theInt);
if (typeof cur != 'undefined')
curclicked = cur;
$crosslink.removeClass("active-thumb");
$navthumb.eq(curclicked).parent().addClass("active-thumb");
$(".stripNav ul li a").eq(curclicked).trigger('click');
theInt = setInterval(function() {
$crosslink.removeClass("active-thumb");
$navthumb.eq(curclicked).parent().addClass("active-thumb");
$(".stripNav ul li a").eq(curclicked).trigger('click');
curclicked++;
if (7 == curclicked)
curclicked = 0;
}, 5000);
};
$(function() {
$("#main-photo-slider").codaSlider();
$navthumb = $(".nav-thumb");
$crosslink = $(".cross-link");
$navthumb
.click(function() {
var $this = $(this);
theInterval($this.parent().attr('href').slice(1) - 1);
return false;
});
theInterval();
});
</script>
<script type="text/javascript" src="<%=SiteRoot()%>include/ANBookingFormValidation.js"></script>
<script type="text/javascript" src="<%=SiteRoot()%>include/CommonFormFunctions.js"></script>
<script type="text/javascript" src="<%=SiteRoot()%>include/calendarDateInput.js">
/**********************************************
* Jason's Date Input Calendar- By Jason Moon http://calendar.moonscript.com/dateinput.cfm
* Script featured on and available at http://www.dynamicdrive.com
* Keep this notice intact for use.
***********************************************/
</script>
<script type="text/javascript" src="<%=SiteRoot()%>include/AC_RunActiveContent.js"></script>
I have googled this issue for the last 2 hours and not found anything specific, hoping someone has come across something like this before, as I have no idea about JavaScript!
I tried calling the latest jQuery version (v1.5.2) but to no avail...
Thanks in advance to whoever can help me!!!!