internet explorer - Jquery JScrollPane causes Error in IE -
i'm doing first site using jquery , added jscrollpane plugin.
everything fine in firefox , safari, in ie (obviously) gives me problem can't figure out:
when call "jscrollpane" function, causes fault in jquery , mess page! (obviously in ie)
if want see page here's link: http://www.klaber.it/demo
just click on "prodotti" , click first submenu voice... figured out tests ! on ie status bar throw error when jscrollpane called...
it's driving me crazy...
help.
dario
you have code in myfunctionnew.js file
$("#datiprodotto").load("prodotto.asp?mypnum=" + showscheda, function() { $('#slider').show(); $('#slider').nivoslider({ effect: 'slicedown', //specify sets like: 'fold,fade,slicedown' slices: 1, animspeed: 500, //slide transition speed pausetime: 4000, startslide: 0, //set starting slide (0 index) directionnav: false, //next & prev directionnavhide: true, //only show on hover controlnav: true, //1,2,3... controlnavthumbs: false, //use thumbnails control nav /*controlnavthumbsfromrel:false, //use image rel thumbs controlnavthumbssearch: '.jpg', //replace with... controlnavthumbsreplace: '_thumb.jpg', //...this in thumb image src keyboardnav:true, //use left & right arrows pauseonhover:true, //stop animation while hovering manualadvance:false, //force manual transitions captionopacity:0.8, //universal caption opacity beforechange: function(){}, afterchange: function(){}, slideshowend: function(){} //triggers after slides have been shown*/ }); });
you need remove trailing comma end of line.
controlnavthumbs: false,
that first error i've come across. there may more after it.
Comments
Post a Comment