
March 30th, 2001, 05:13 PM
|
|
Junior Member
|
|
Join Date: Mar 2001
Posts: 6
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Just have a function that is called by the buttons that accepts a parameter (div ID) and let the function control the rest.
ie;
<a href="javascript:void(0)" onClick="showDiv('aboutUs')">
the script would look something like:
function showDiv(divID){
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.
|