Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE 9 lost top and left properties #56

Open
GoogleCodeExporter opened this issue Apr 21, 2015 · 4 comments
Open

IE 9 lost top and left properties #56

GoogleCodeExporter opened this issue Apr 21, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. just make a rotate with IE9 see attached file

What is the expected output? What do you see instead?

The top and left properties of inline style element is lost

What version of the product are you using? On what operating system?
jqueryRotate2.1/IE9/Windows7

Please provide any additional information below.
It work correctely with firefox and chrome

Original issue reported on code.google.com by jouann...@gmail.com on 10 Jan 2012 at 5:02

Attachments:

@GoogleCodeExporter
Copy link
Author

I fixed the bug by adding two var in jQueryRotate.2.1.js on line 132 :

            var top = parseInt(this._img.style.top) - 10;
            var left = parseInt(this._img.style.left) - 10;

The -10 it's for ajust and have the same render of firefox.
And I pass this value to rootObj in line 156 :

            this._rootObj.style.top=top+"px";
            this._rootObj.style.left=left+"px";

Actually it's suffiscient for me but i think that's not exactly a good way.

Original comment by jouann...@gmail.com on 11 Jan 2012 at 9:01

@GoogleCodeExporter
Copy link
Author

Because of some crazy scenarios it's always safe for using this plugin to wrap 
images into additional components. I tried to have as many scenarios covered 
within plugin, but from some moment fixing one scenario breaks another one :/

Original comment by wil...@gmail.com on 11 Jan 2012 at 10:18

@GoogleCodeExporter
Copy link
Author

Ok, I will be interested by this plugin and for it's developpement for can be 
have a good stable version.

If you want any help for fix bug or develop validated features with you when i 
need and can, i'am ok.


Original comment by jouann...@gmail.com on 11 Jan 2012 at 1:26

@GoogleCodeExporter
Copy link
Author

Well there are a few bugs, but most of them are outcome of some design ideas. 
I'm open for any changes, and bugfixes. The code is open (browse source) - so 
if you want to make something better/faster/implement new features feel free to 
do that and send me svn diff patch so I can take look, test it and add to the 
release.

Original comment by wil...@gmail.com on 11 Jan 2012 at 2:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant