This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a very large form (Form A). I am trying to build a navigation system that would allow you to jump to sections in the form.
Here are some code samples. My plan was to duplicate Form B through out the lengthy Form A allowing users to jump around while they fill it out. Will this work? Is there another way to do this?
Here is the navigation form to be imbedded inside the large form.
I will try playing with your script a bit. I want a table of contents that I can put through out the page. I should be able to call your script from a <a> tag using the onClick method. If I give another <a> an id on the page I think you script should be able to get the position if I pass in the id of the element I can to scroll too.