0
Good morning, I used a Javascript library to rotate an image by clicking on it, in a section of javascript I put what will rotate when clicking:$("#conteudo").rotate({
The problem is it’s spinning the entire div :(
How can I put to run only the contents of this div, I tried to put so:
$("#conteudo > img").rotate({
but it didn’t work :(, can help me??
Follow the project code running the entire div :
https://gist.github.com/SoraNoKuuhaku/7aa25f3944c7a4a038c4f114cc45ca22
Oh yes, then it turns normally but in the image div, in the content I’m not getting, I’ll try again removing the img inside the image, a moment !!
– Sora
Because what I want to rotate actually, is the copy of the image that goes to the content div understand? so I wanted to put #content > img
– Sora
I managed by making
$(copyimg).rotate({
&#Thanks Wictor for the help !!!!– Sora