Old onetime mainframe programmer. Trying to conditionally display or not display html. Searched and tried numerous suggestions. No luck. Would greatly appreciate help. Latest test attempt:
<html>
<head>
<title>July 27 - Lang Bay </title>
</head>
<script language="javascript">
var x = 0;
function hola(x) {
if(x == 0) {
document.getElementById("showpage").style.visibility="hidden";
}
}
</script>
<body>
<div id="showpage">
<p><font size=+1>July 27 - Lang Bay </font>
<br><TABLE>
<TR>
<TD><br><a href="../../jpg/2009/090727_052p.jpg"><img SRC="../../jpg/2009/090727_052ptn.jpg"><br>B.C., Lang Bay<br>Afternoon on the beach </a>
<TD><br><a href="../../jpg/2009/090727_053p.jpg"><img SRC="../../jpg/2009/090727_053ptn.jpg"><br>B.C., Lang Bay<br>Heather McCutcheon, Sydney </a>
</div>
</body>
</html>
showpageisn't there yet, and you can'tdocument.getElementByIdan element that doesn't exists yet).