Code for label 0:
$('#uplimitlabel0').pls( { foreachpixel:5, changevalue:1, downlimit:-800, uplimit:-500, changetarget:$('#uplimittextfield0'), } );Code for label 1:
$('#uplimitlabel1').pls( { foreachpixel:5, changevalue:100, downlimit:0, uplimit:5000, changetarget:$('#uplimittextfield1'), } );Code for label 2:
$('#uplimitlabel2').pls( { foreachpixel:5, changevalue:100, downlimit:50000, uplimit:60000, changetarget:$('#uplimittextfield2'), } );
Up limit property can accept integer or floats in positive and negative. Just make sure that it isn't less than down limit value when you create the plugin statement.
No comments:
Post a Comment