eugenii / jqueryrotate

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

images loses the ir position in IE 7 #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
the images should rotate above each other using z-index.
what happens it works fine in every browser except for IE 7 the images loses 
their z-index when i use $.rotate()

What version of the product are you using? On what operating system?
jQueryRotate.2.2

Please provide any additional information below.
http://jsfiddle.net/syaa3/5/

Original issue reported on code.google.com by to...@mh.com.eg on 24 May 2012 at 10:00

GoogleCodeExporter commented 9 years ago
If you manually set z-index on images it might be lost. Please try rotate 
images, but set z-index on their containers:

<div class="container" style="z-index:1">
   <img src="myimage.jpg>
</div>

Original comment by wil...@gmail.com on 24 May 2012 at 10:01

GoogleCodeExporter commented 9 years ago
yes that worked thanks,
can i know why elements loses their z-index value after rotation ?

Original comment by to...@mh.com.eg on 24 May 2012 at 10:18

GoogleCodeExporter commented 9 years ago
Yes - cause in IE7 they are replaced with VML object and not all attributes are 
copied as you can see :)

Original comment by wil...@gmail.com on 24 May 2012 at 10:24