hello,
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”
“http://www.w3.org/TR/html4/strict.dtd”>
<html lang=“en”>
<head>
<title>visibility</title>
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”>
//<![CDATA[
<!—
function Toggle() {
var elm=document.getElementById(‘layer1’);
elm.style.visibility=(elm.style.visibility==‘hidden’)? “visible” : “hidden”;
}
//—>
//]]>
<style type=“text/css”>
<!—
#layer1 {position:absolute; top:50px; left:150px; z-Index:0; visibility:hidden}
#layer2 {position:absolute; toppx:70px; left:200px; z-Index:1}
#toggle {position:absolute; top:150px;}
—>
</style>
</head>
<body>
<div id=“layer1”>
<table border=“1” bgcolor=”#FFCC00”><tr><td>THIS IS LAYER 1
POSITIONED AT 100,100</td></tr></table>
</div>
<div id=“layer2”>
<table border=“1” bgcolor=”#00CCFF”><tr><td>THIS IS LAYER 2
POSITIONED AT 140,140</td></tr></table>
</div>
<button id=“toggle” type=“button” onclick=“Toggle();”>Toggle layer1</button>
</body>
</html>
</body>
</html>
Scion xB Parts