OK, Here it is
style code for my elements
<STYLE TYPE="text/css">
#1
{
position: absolute;
left: 200;
top: 50;
border-top: solid #000000 1px;
border-bottom: solid #000000 1px;
border-right: solid #000000 1px;
width: 400px ;
height: 50px ;
background-color: #003399 ;
border: ridge #FF55DD 3px;
text-align: center;
visibility: hidden;
z-index: 0;
}
#2
{
position: absolute;
z-index: 0 ;
left: 200 ;
top: 500 ;
width: 400px ;
height: 50px ;
border: ridge #999999 1px;
border: ridge #999999 3px;
border-top: solid #000000 1px;
border-bottom: solid #000000 1px;
border-right: solid #FF9988 3px;
background-color: #003399 ;
text-align: center;
visibility: visible;
}
</STYLE>
Developing for a NetScape browser
I have 2 Elements
when I click on DIV2 I would like to make DIV1 visible.. WHY DOESN'T THIS
WORK.. ?????
<BODY>
<Script language="JavaSript">
function showElement(i)
{
this.document.all.i.style.visibility=visible;
}
</Script>
<DIV ID="1">1</DIV>
<DIV ID="2" OnClick="showElement(1);">2</DIV>
</BODY>
Thank you for any help