What is wrong with this jquery slider function on ie8?

I really don't understand ... what am I doing wrong here?

jQuery(function(){ //vars var conveyor = jQuery(".content-conveyor", jQuery("#slideWrapper")), item = jQuery(".item", jQuery("#slideWrapper")); conveyor.css("width", item.length * parseInt(item.css("width"))); var sliderOpts = { max: (item.length * parseInt(item.css("width"))) - parseInt(jQuery("#slideContent", jQuery("#slideWrapper")).css("width")), slide: function(e, ui) { conveyor.css("left", "-" + ui.value + "px"); } }; jQuery("#slider").slider(sliderOpts); }); 
+6
jquery-ui internet-explorer-8 slider
source share
2 answers

For information only: jQuery 1.4.3 solved this problem.

+7
source share

invalid argument jquery-1.3.2.min.js

then in all post solutions

step1) search return N.toUpperCase ()}); in jquery-1.3.2.min.js step2) add if (K == 'Infinitypx') {K = ''} if (K == 'NaNpx') {K = ''}; after searching stmt;

in fact, it was a bug in jquery-1.3.2.min.js, where all the snacks were not closed.

adding that this will fix this error and it will work smoothly.

+1
source share

All Articles