I have a popup window called braviPopUp
which I use to show images, I'm also rotating these images using a library jqueryrotate
, however when I try to rotate the image using this function call : $('#img').rotate({ animateTo: 90});
I change the popup window's width to the image's width after rotation, but the image rotate on it's center and the popup window stays at where it is, resulting to two separated objects. I have tried to move the image over the exact place of the popup with no success and vice-versa.
What should I do? Is there any library that would serve what I want?
Thanks