Thanks Kristof for getting me to this point.
Now the requirements have changed slightly.
The link which was last mouseover'ed has to stay 'on'or 'selected' regardless of where the mouse is.
The problem i am having is after i mouseover 'linkD', the other links wont work anymore - I cant figure out why or how to fix it
any help would be appreciated
Now the requirements have changed slightly.
The link which was last mouseover'ed has to stay 'on'or 'selected' regardless of where the mouse is.
The problem i am having is after i mouseover 'linkD', the other links wont work anymore - I cant figure out why or how to fix it
any help would be appreciated
Code:
<html>
<head>
<SCRIPT language=JavaScript><!--
function showIt(layerID)
{
if(document.layers)
document.layers[layerID].visibility="show";
if(document.all)
document.all[layerID].style.visibility="visible";
}
function hideIt(layerID)
{
if(document.layers)
document.layers[layerID].visibility="hide";
if(document.all)
document.all[layerID].style.visibility="hidden";
}
// -->
</SCRIPT>
<STYLE type=text/css>
#layerA {
BACKGROUND-COLOR: #FFFFFF; LEFT: 10px; POSITION: absolute; TOP: 50px; VISIBILITY: hidden; WIDTH: 300px
}
#layerB {
BACKGROUND-COLOR: #FFFFFF; LEFT: 10px; POSITION: absolute; TOP: 50px; VISIBILITY: hidden; WIDTH: 300px
}
#layerC {
BACKGROUND-COLOR: #FFFFFF; LEFT: 10px; POSITION: absolute; TOP: 50px; VISIBILITY: hidden; WIDTH: 300px
}
#layerD {
BACKGROUND-COLOR: #FFFFFF; LEFT: 10px; POSITION: absolute; TOP: 50px; VISIBILITY: hidden; WIDTH: 300px
}
</STYLE>
</head>
<body>
<A href="#" onmouseover=showIt('layerA');>Link A</a>
<A href="#" onmouseover=showIt('layerB');>Link B</a>
<A href="#" onmouseover=showIt('layerC');>Link C</a>
<A href="#" onmouseover=showIt('layerD');>Link D</a>
<div id="layerA">AAAAAAAA</div>
<div id="layerB">BBBBBBBB</div>
<div id="layerC">CCCCCCCC</div>
<div id="layerD">DDDDDDDD</div>
</body>
</html>