Rotate an image with a button in html5
...
Hello !...
I'm using Captivate 2017, and I want to rotate an image when I click on a button...
Everything is fine in the browser, but when using html5 it doesn't work anymore...
So I try to use jQueryRotate.js.
So I added this js file in the assets/js/ folder and added it in the html file :
var lJSFiles = [ 'assets/js/jquery-1.11.3.min.js','assets/js/jQueryRotate.js','assets/js/CPM.js','assets/playbar/playbarScript.js' ];
And my javascript on the button is this :
$(this).click(function() {
$('#Regle_3').rotateAnimation(angle);
(angle+=2)%90;
});
(Regle_3 is the name of my image)
I try for too long now... So I need your help !!...
Thanks in advance !...
...
