PDA

View Full Version : Jquery script gives error: "Object doesn't support this property or method" in IE



chetan7991
15 Aug 2010, 03:08 PM
I'm using a jquery plugin Galleriffic in my page and it shows perfectly in all browsers except IE. The error says: "Object doesn't support this property or method"

The code I use for script activation is:


<script type="text/javascript">
$(document).ready(function() {

var gallery = $('#thumbs').galleriffic({
delay: 3000, // in milliseconds
numThumbs: 2, // The number of thumbnails to show page
preloadAhead: 2, // Set to -1 to preload all images
});

});
</script>

The line the error points to, as the culprit, is:

var gallery = $('#thumbs').galleriffic({

Can somebody help?