jirengu / jqueryrotate

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

Not Working IN IE8 #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.i Have append image in Div and then rotate image.
2.Image style property append to span in IE 8.0 so my Position not affect to 
image. 
3.

What is the expected output? What do you see instead?
Image position set to given top and left.

What version of the product are you using? On what operating system?
Jqueryrptate2.2

Please provide any additional information below.

Original issue reported on code.google.com by javiyavandan on 5 Jul 2013 at 9:04

GoogleCodeExporter commented 9 years ago
Some test case would be helpfull, description is pretty unsofisticated.. Can 
you please make example case based on http://jsfiddle.net/8LV3p/  (just fork it)

Original comment by wil...@gmail.com on 5 Jul 2013 at 10:08

GoogleCodeExporter commented 9 years ago
i have one Div like:

 <div id="divImages" style="position:absolute; width: 500px; height: 500px; color: #fff; margin-left: 124px; margin-top: 60px">

</div>

i m appending image to above div Using..

newLeft = Math.floor(xcenter + (circleRadius * Math.cos(curAngle)));
newTop = Math.floor(ycenter + (circleRadius * Math.sin(curAngle)));

xcenter and ycenter are cordinates of circle center.. circleradius is radius of 
circle.

for(var i=1;i<36;i++)
{
 $('#divImages').append('<img id="' + i+ '"  style="position:absolute;opacity:0.5" class="rotateimage" src="LowValueIndicator_highlight.png" width="40" height="47" alt="Low">');

$('#' + i).css({
top:newtop;
left:newleft

});

$('#' + i).rotate(curangle-1);
}

Original comment by javiyavandan on 9 Jul 2013 at 5:45

GoogleCodeExporter commented 9 years ago
Please give a try to a jQueryRotate3 version - hopefully it should fix your 
problem. If not I would advice you to set top, left values after rotating an 
image. 

Original comment by wil...@gmail.com on 9 Jul 2013 at 7:22

GoogleCodeExporter commented 9 years ago
Here is jQueryRotate 3: 
https://code.google.com/p/jqueryrotate/source/browse/trunk/jQueryRotate3.js

Original comment by wil...@gmail.com on 9 Jul 2013 at 7:22

GoogleCodeExporter commented 9 years ago
I have tried it in IE 8 but i have not get any Solution ..so please help me to 
set position of image after rotate..

Original comment by javiyavandan on 11 Jul 2013 at 4:51

GoogleCodeExporter commented 9 years ago
I don't have much time to create test cases (I also got other tasks too :) ), 
so please make one if you want my help: Go on this page: 
http://jsfiddle.net/8LV3p/   (here is simple test case where everything is 
prepared), and try to reproduce issue, fork it and paste link here. Thanks!

Original comment by wil...@gmail.com on 11 Jul 2013 at 7:32