Giter Club home page Giter Club logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Because a "image" is a HTML element not a jQuery element.... if you write 
something like $(image).rotate  then it will work...

Hope it helps ;)

Original comment by [email protected] on 12 Aug 2011 at 7:22

from jqueryrotate.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Not a plugin issue so closing.

Original comment by [email protected] on 12 Aug 2011 at 7:22

  • Changed state: Invalid

from jqueryrotate.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Thanks so much for the quick response. The "image" object in the functions
show() and hide() are both returned from the jquery first() function in the
createBox() function, so it is already a jquery element. But to be
double-dog sure I went ahead and tried it. It still didn't work. I left the
changes on the site, so that you could verify that I made the changes
correctly. I would like to point out though that, I have this same code on
an otherwise blank test-page and it works fine as-is (that is before
changing image to $(image)). Thanks again. Let me know what I should try
next.

Original comment by [email protected] on 12 Aug 2011 at 8:52

from jqueryrotate.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Well so your problem is quite unusual. You have like 3 jQuery librares 
included. I assume that my plugin get loaded in middle of two of them so it 
attaches to the jQuery version that later on is overriden by a newer version 
(or just different one) - this way a .rotate function is not avail.

Try to use only one jQuery at all, or make sure that jQueryRotate plugin is 
loaded after the last jQuery library

Original comment by [email protected] on 15 Aug 2011 at 11:08

from jqueryrotate.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
That was the problem. Thank you very much! Do you know why it would still
not work right in IE. It rotates once, and then it looks like it changes
positions upward slightly, and after that it doesn�t run again until the
page is refreshed. It looks great in Chrome, Firefox, Safari, and Opera (You
can see the correct behavior there), but in IE8 I get the above described
issue. BTW, awesome plug-in, it�s really slick looking. Thanks again for the
quick responses.

Original comment by [email protected] on 15 Aug 2011 at 9:01

from jqueryrotate.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
The problem why it doesnt work is this line:

    show($(elem).children('div'), $(elem).children('img').first());

and

    hide($(elem).children('div'), $(elem).children('img').first());


The problem is that this plugin to make rotation working in IE replaces IMG 
component with a VML-Image component. That means that selectors based on "img" 
will no longer works (as in your case).

To solve it you can for example change:

$(elem).children('img').first()

To something like this:

$(elem).children(':first').first()

This way you will always point to proper object.

Cheers,

Original comment by [email protected] on 16 Aug 2011 at 9:15

from jqueryrotate.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Issue 43 has been merged into this issue.

Original comment by [email protected] on 16 Aug 2011 at 9:15

from jqueryrotate.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Brilliant! Thanks, so much, man. This effect really gives a quality feel to the 
box. I appreciate your help with these issues.

Original comment by [email protected] on 16 Aug 2011 at 1:36

from jqueryrotate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.