jquery - how to move vertical scroll bar on clicking an element to display the content correctly? -


i have multiple sections(sec1, sec2, sec3, ..) on page. page opened clicking navigation tab (which further have sub-tabs sec1, sec2, sec3,..). when click on sub-tab, want vertical scroll bar move display corresponding section page. in advance.

an id can used create anchor start of element. can use href attribute of a tags in navigation tab link these anchors.

here jsbin understand better: http://jsbin.com/ogewifu/1. css visualize sections better.

source: http://www.w3.org/tr/html401/struct/links.html#h-12.2.3


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -