Tuesday, July 8, 2008

Down Limit



Sign-up form

Click on the labels and drag to adjust values



Code for label 0:
$('#downlimitlabel0').pls(
{
foreachpixel:5,
changevalue:1,
downlimit:-800,
uplimit:-500,
changetarget:$('#downlimittextfield0'),
}
);
Code for label 1:
$('#downlimitlabel1').pls(
{
foreachpixel:5,
changevalue:100,
downlimit:0,
uplimit:5000,
changetarget:$('#downlimittextfield1'),
}
);
Code for label 2:
$('#downlimitlabel2').pls(
{
foreachpixel:5,
changevalue:100,
downlimit:50000,
uplimit:60000,
changetarget:$('#downlimittextfield2'),
}
);

For down limit you can assign integers and floats in negative or positive range. Just make sure that down limit value isn't bigger than up limit.

No comments:

Post a Comment