March 24th, 2001, 02:21 PM
-I have created an dhtml page that other than the menu the contents are hidden untill you click a menu item.
-The menu is like that on www.microsoft.com.
-I want the menu item's contents to do the following when clicked
-display the hidden contents within the specificed div location within the html document.
Any ideas on this or a reference you can point me to?
March 27th, 2001, 04:56 PM
i hope this helps
March 30th, 2001, 05:13 PM
Just have a function that is called by the buttons that accepts a parameter (div ID) and let the function control the rest.
the script would look something like:
eval(theDiv).visibility = "visible";
you gotta do the other logic that will hide the other divs, and make it work for netscape and so on, but thats how you would go about that.
April 2nd, 2001, 10:14 AM