bherzberg96 Posted February 18, 2013 Share Posted February 18, 2013 (edited) Hi, I'm trying to replicate CSS3 transition effects for older versions of IE that don't support these transition effects. I'm trying to use the jQuery: $('#myelement').fadeIn(); However, I'm exceptionally bad at understanding Javascript and need some help making this code do what I want. What I want is when you hover over an image with the class "left1", I want it to grow to the specifications I have in my styelsheet for left1:hover. Of course, while transitioning. I already have the code exactly how I want it for CSS and HTML and already have jQuery linked up with my page. Now how do I integrate the code above for transitioning it? Thanks! P.S. I am aware that having the transition effects while trying to get the jQuery working can cause complications, so when I test it out I will/am removing the transition properties from the stylesheet. Edited February 19, 2013 by bherzberg96 Link to comment Share on other sites More sharing options...
callumacrae Posted February 19, 2013 Share Posted February 19, 2013 I can't read that code. Link to comment Share on other sites More sharing options...
bherzberg96 Posted February 19, 2013 Author Share Posted February 19, 2013 I can't read that code.My apologies; it's fixed now. Link to comment Share on other sites More sharing options...
thescientist Posted February 19, 2013 Share Posted February 19, 2013 1) i think you might want animate - http://api.jquery.com/animate/2) it seems based on the information you gave, you want to use ".left" as the selector to use with jquery Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now