Tuesday, July 8, 2008

Change Value



Sign-up form

Click on the labels and drag to adjust values



Code for label 0:
$('#valuechangelabel0').pls(
{
foreachpixel:5,
changevalue:1,
downlimit:0,
uplimit:5000,
changetarget:$('#valuechangetextfield0'),
}
);
Code for label 1:
$('#valuechangelabel1').pls(
{
foreachpixel:5,
changevalue:150,
downlimit:2000,
uplimit:50000,
changetarget:$('#valuechangetextfield1'),
}
);
Code for label 2:
$('#valuechangelabel2').pls(
{
foreachpixel:5,
changevalue:50000,
downlimit:250000,
uplimit:10000000,
changetarget:$('#valuechangetextfield2'),
}
);

Value change will add to the value while moving right and will substract while mowing towards left. An integer and float can be assigned but not negative ones.

No comments:

Post a Comment