April 5, 200818 yr Hi, I am trying to make a menu bar where when you click on a link it gives you more options. There is a problem though. When I click on a link it gives me more options but the only problem is when I click on another link the options from the first link stay there and more appear. How can I get it so when you click on link 2 it only shows the options from link 2 and the first options dissapear. Code - <A HREF="java script:document.getElementById('1').style.display='block'; void(0);">Link 1</A> · <A HREF="java script:document.getElementById('2').style.display='block'; void(0);">Link 2</A> <BR> <div id="1" align="center" style="display:none;">Link 1 Options</div> <div id="2" align="center" style="display:none;">Link 2 Options</div></font></div>
Create an account or sign in to comment