eugenii / jqueryrotate

Automatically exported from code.google.com/p/jqueryrotate
1 stars 0 forks source link

"position:absolute;" in IE is not working #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not working on IE6 and 8 (I don't know for IE7) if you put the picture in 
position:absolute.

The rotation is still ok, but the position is not good anymore !

Original issue reported on code.google.com by william....@gmail.com on 16 Sep 2010 at 10:59

Attachments:

GoogleCodeExporter commented 9 years ago
Commenting out line 236:

this._temp.style.position="relative"; // FIXES IE PROBLEM

Should fix the problem. As I remember i introduced this to fix a problem with 
Quirks mode that requires proper markup (or something like that o_O not 
remember exactly). I testing it and it seems fine now, so if you can also 
notice no more problem with that I will put that into stable version.

Original comment by wil...@gmail.com on 17 Sep 2010 at 8:01

GoogleCodeExporter commented 9 years ago
Yeah I know for the position:relative, but the bug was for position:absolute, 
so it's not fixed at all !

In a DIV, I have a lot of element to rotate with a position absolute... And for 
the moment I have to do this :

<div style="position:absolute;">
   <img style="position:relative;" />
</div>
<div style="position:absolute;">
   <img style="position:relative;" />
</div>
<div style="position:absolute;">
   <img style="position:relative;" />
</div>

If I don't do this, elements don't go where I want them to go. :)
I hoped it was only a temporary method...

Anyway, thanks for you work ! :) :)

Original comment by william....@gmail.com on 17 Sep 2010 at 8:10

GoogleCodeExporter commented 9 years ago
I think that we don't talk about the same thing :) I mean 236 line in 
jQueryRotate.js file :) I forcing a position relative on replaced element - 
thats why your position absolute from class definition does not work :)

Original comment by wil...@gmail.com on 17 Sep 2010 at 8:17