Posted By

philokezzar on 05/24/09


Tagged

textmate rotate jquery slider


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


Rotate(degree) image with jQuery slider


 / Published in: jQuery
 

  1. $("#sliderLeft").slider({
  2. animate: true,
  3. values:180,
  4. min: 0,
  5. max: 180,
  6. step: 1,
  7. slide: function(event, ui) {
  8. $("#amountLeft").val('Degree ' + ui.value); // show Dynamic changes of slider value
  9. $("#pic").rotateLeft(1); // <img border="0" src="/images/mma.gif" name="pic" id="pic">
  10. },
  11. }
  12.  

Report this snippet  

You need to login to post a comment.