Here’s the scenario:
I have 3 pages. The first page (index) contains links in the nav bar that call a showHide function to display the corresponding divs associated. (div a, div b, div c, etc)
The second and third pages (pages 2 & 3) load in the same window (self) when the corresponding navigation link is clicked. These pages contain all of the same nav bar links as the index page.
My question is:
How can I create the nav bar links on pages 2 & 3 so that when clicked they will open the index.html page in the same window (_self) and also load the correct div according to the corresponding nav bar link clicked.
I have the showHide function working properly with all of the divs within the “index.html” page.
I also have the nav bar links on pages 2 & 3 so that they can either link to “index.html” and load properly or link to “index.html” and load the proper div as requested, but the page doesn’t load properly.
The problem is that when the div loads, instead of showing the page (index.html) in the window from the top – it jumps to the top of the div content. I need the window to load fully so that it looks as if the top & side frames/tables appear to stay the same and only the information in the div changes.
Please help.