jquery - Show an element only when scrolling through certain divs -
i have site lot of blank space (for visual reasons). when user scrolls through blank space (usually 2000px or above marked by.spacer
) want fixed div show up.
the purpose make sure user doesn't have scroll through lot of blank space. div "pop-up" or appear simple have text pointing them navigation bar. when user isn't viewing .spacer
, want div disappear/hide. how can using jquery? thank in advance time!
here example multiple .spacer
blocks: http://jsfiddle.net/ant_ti/h8t6s/
Comments
Post a Comment