Hi,
I am trying to create a image rotate script with Jquery. Please this URL for know where i am and what i want. http://www.hkcsy.com/image_test/
This time slider and rotate working only for one step hoever where you click on slider image get the slider value and rotate. for next not work.
And i want to rotate image with slider when i move slider right image move in right and when i slider move to left image rotate left.
Here is the code what i am using. Please help me.
HTML Code:
<script>
$(document).ready(function() {
$( ".selector" ).slider({ step: 10 , slide: function(event, ui) { $(".image").rotate(ui.value); }
});
});
</script>
Thanks in Advance.
Last edited by geniuscapri; 04-12-2010 at 07:07 AM..
Reason: add some more text
|