Hello, I used layers on a website....and I need to display them and hide the other layers
when button is clicked.
here's some code... (right now it display all the layers)
on my start page I have this default content in a layer, and when Link1 btton is clicked then I need to display
the layer for Link1 and hide the current content layer, and this is same w/ other buttons as well.
Layer display will be accordIng to the button clicked.
im stuck in ,need help.tnx again.
when button is clicked.
here's some code... (right now it display all the layers)
Code:
<body>
<div id="Layer1" style="position:absolute; width:268px; height:37px; z-index:1; left: 717px; top: 41px;">
<a href="#">Link1 </a>| <a href="#">Link2 </a> | <a href="#">Link3 </a>
</div>
<div id="Layer2" style="position:absolute; width:259px; height:51px; z-index:2; left: 133px; top: 136px;"><FONT class=text><STRONG>Default Text Content </STRONG></FONT></div>
<div id="Layer3" style="position:absolute; width:200px; height:27px; z-index:3; left: 133px; top: 191px;">Load Here....Link 1 Content </div>
<div id="Layer4" style="position:absolute; width:200px; height:23px; z-index:4; left: 133px; top: 222px;">Load Here....Link 2 Content </div>
<div id="Layer5" style="position:absolute; width:200px; height:22px; z-index:5; left: 133px; top: 250px;">Load Here....Link 3 Content </div>
</body>
the layer for Link1 and hide the current content layer, and this is same w/ other buttons as well.
Layer display will be accordIng to the button clicked.
im stuck in ,need help.tnx again.