I have a web page that uses DHTML to populate a table.
Basically, the links are on a menu on the side of the page, that when clicked, trigger a function within the page. The table updates itself based on the link that is clicked.
This allows me to have multiple options available to the visitor. The visitor can click to display a particular option, and browse all options, without the wait time of downloading a new page for each link.
That works fine.
Now what I am implementing is a menu bar across the top of the web pages, that will have a hierarchical menu that links to each place on my web site.
In that menu, is it possible to write the HREF links so that they fill in the information required to jump to the specific table view immediately, without the user having to click from the available options?
So for instance, suppose on the page offerings.html, there are 4 options (A,B,C,D). Each one has different table content. The menu on the top of the web page has: Home | Services | Support | etc.
Under the top menu for support, you could drill down to those 4 options... can those links be set to go to the offerings.html page, and to the specific table view?
The page in question uses a function indicated below:
The current links use a onClick in the href as follows:
where cellID is the defined id for the table cell that gets updated, and variable is the variable name for the text that gets inserted. I have several different variables defined in the <HEAD> of my page.
So far, I have tried a syntax such as the following with out any luck:
Can anyone offer some suggestions?