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);
});
Just for info: jQuery 1.4.3 has solved this problem.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With