sweetysweety Posted May 24, 2013 Share Posted May 24, 2013 hi everyone, i have a design of a site: http://www.terranartworks.com/testsite/tsv1/index.html i'm trying to make:1- red point will slide and stop at the center position of every button,when i clicked at the button.2- grey point will slide and stop at the red points position when mouse is not at the buttons area i try to take an half of width of the link and assign red point to there but it will not working how can i do this? Link to comment Share on other sites More sharing options...
justsomeguy Posted May 24, 2013 Share Posted May 24, 2013 That sounds like it will work. Get the position and dimensions of the image, add half the width to the position, and that will be the center of the image. 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