Reputation: 71
I really don't get it... what I'm 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);
});
Upvotes: 6
Views: 3826
Reputation: 21
invalid argument jquery-1.3.2.min.js
then in all solutions post solutions as
step1) search return N.toUpperCase()}); in jquery-1.3.2.min.js step2) add if(K=='Infinitypx'){K=''};if(K=='NaNpx'){K=''}; after searched stmt;
actually this was a bug in jquery-1.3.2.min.js where all the scnerios were not covered.
adding this will sort out that error and it will work smoothly.
Upvotes: 1