javascript - Animating an arrow that points to <li> based on position on the screen -
i not familiar html, css , javascript
i using twitter bootstrap, i'd have section indicator in long page shows relative position of current view relative entire ver long scrollable page.
the sample of want achieve in: http://global.tommy.com/int/en/collections/start
i managed <ul> <li>
, however, i'd animate arrow movement 1 <li>
next <li>
user scroll , down within page. managed scope out code <ul> <li>
have no idea how animate movement... me point specific animation part or recommend javascript or css library that? missed twitter-bootstrap elements too, did not find far... thanks!
edit:
my code in jsfiddler, however, doesn't seem work in jsfiddler:
what wanted achieve animation on left side of tommy hilfiger's page when scroll , down, arrow keep track of section in adjusting arrow's position pointing specific section on li
without more detail can't go specifics, can @ least suggest jquery's animate function. makes animating css properties easy.
Comments
Post a Comment