brilliantmojo Posted July 26, 2012 Share Posted July 26, 2012 (edited) Hey guys! I was wondering if any of you can help me with this: I have two images(img A, and img B ) I want img A to slide from left and img B to slide from the right at the same rate I then want them to meet in the middle. If any of you can help me with this it will be GREATLY appreciated. NOTE:If you can send any similar tutorials or something I might be able to use them too. THANKS!!!!!!!!!!!! Edited July 26, 2012 by brilliantmojo Link to comment Share on other sites More sharing options...
ShadowMage Posted July 26, 2012 Share Posted July 26, 2012 You have two options. Which one to use depends on how much browser compatibility you want. One:Use CSS 3 animations/transitions.This will limit your compatibility to newer browsers. For example, IE 8 and below do not support animations and transitions. There's an excellent demo/tutorial here that will show you how to use much of the new CSS 3:http://css3.bradshawenterprises.com/ Two:Use JavaScript.This will give you maximal compatibility since all but the most ancient of browsers support it. I don't know of tutorials or references off hand but you might be able to Google something like "animate image position with javascript" and find some tutorials. jQuery makes animations incredibly easy so maybe you want to try to find a jQuery tutorial. 1 Link to comment Share on other sites More sharing options...
brilliantmojo Posted July 26, 2012 Author Share Posted July 26, 2012 Thanks Dovahkinn, I finally did it! If there is anything I can do in return please tell me. (I am new here and unfamiliar with what to do in thanks to people who help me) Link to comment Share on other sites More sharing options...
ShadowMage Posted July 26, 2012 Share Posted July 26, 2012 If there is anything I can do in return please tell me. (I am new here and unfamiliar with what to do in thanks to people who help me)A simple "Thank you" is usually sufficient. 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