salaterella
08-11-2009, 12:46 PM
Hello,
I have to tell you immediately that Iīm very new to javascript (and so also in the forum) but I have an idea and I donīt even know where to start. Itīs a bit difficult to explain but Iīll try my best - sorry for mistakes.
I have a normal 1 2 3 4 5 6 anchor navigation that make the page jump up and down when clicked. When you click 1, this becomes underlined and when you click 2, 1 goes back to not underlined and 2 become underlined... and so on. I would like to add the feature that when you scroll the page and the anchor 2 reaches the top (without clicking the buttons but only with scrolling) the button 2 becomes underlined like if it would have been clicked ... and so on with all buttons...
Is it possible?
Any help is very appreciated, links to tutorials or the definition of what Iīm searching for also very very much.
Thanks in advance,
salta
I have to tell you immediately that Iīm very new to javascript (and so also in the forum) but I have an idea and I donīt even know where to start. Itīs a bit difficult to explain but Iīll try my best - sorry for mistakes.
I have a normal 1 2 3 4 5 6 anchor navigation that make the page jump up and down when clicked. When you click 1, this becomes underlined and when you click 2, 1 goes back to not underlined and 2 become underlined... and so on. I would like to add the feature that when you scroll the page and the anchor 2 reaches the top (without clicking the buttons but only with scrolling) the button 2 becomes underlined like if it would have been clicked ... and so on with all buttons...
Is it possible?
Any help is very appreciated, links to tutorials or the definition of what Iīm searching for also very very much.
Thanks in advance,
salta