please try this link for getting my code. its working in all browsers not in IE. thank you
3 Answers
From the look of your carousel.js file the problem is probably not jQuery but your javascript.
A few tips:
- The global object is window not document.
- you are using document.all. When using jQuery use it for selecting elements from the DOM! That's the whole point.
- you're not using var in your functions but are using it for globals. You've got it backwards. Skipping var in functions creates a bunch of global variables, which will get clobbered eventually. Use var to keep your variables local to your function.
1 Comment
Ive just checked the compatibility and it said:
There are known problems with: Internet Explorer 1.0-5.x
jQuery generally works with Konqueror and Firefox 1.0.x, but there may be some unexpected bugs since we do not test them as regularly as Firefox 2.0+, IE6+, Opera 9+ and Safari 3+.
1 Comment
i've run this on my side on IE 8
IE cannot pick up your document.id.src in your carousel.js.
replace where you are assigning srcs to id tags with using the document.getElementById("id name")
example: document.getElementById("but_img1").src
when testing always check the errors at the bottom of the page (where it shows loading status - Done - with an exclamation mark).
hope this helps.