Forum Moderators: not2easy
This works perfectly, however I was wondering if there was a simple way to pass the details onto another page, as once the new menu that is being displayed is used it will send the user to another page on the site, read the default css setup and display the first menu again.
(I was over complicating things)
Basically in the body of the sections im wanting the 2nd menu to appear in ive put:
<style type="text/css">
div#menu1
{
display: none;
}
div#menu2
{
display: block;
}
</style>
I was wondering if there was a simple way to pass the details onto another page,
It sounds like you didn't really need to do this, but if you ever do, the solution is most likely in cookies. Set some small cookie value using Javascript, and check for it's presence on load of any pages. If your pages are output using a server side language, even better; do your cookies from there and eliminate the need for Javascript.