Hello All,
I’m running into a little trouble trying to display a hidden div…
[QUOTE]
function DisplayNav(in_strName, in_obj)
{
if (strCurrentDisplay != in_strName)
{
strCurrentDisplay = in_strName;
document.getElementById(‘Practice’).style.display=’none’;
document.getElementById(‘Tournaments’).style.display=’none’;
document.getElementById(‘Archive’).style.display=’none’;
document.getElementById(‘Photos’).style.display=’none’;
document.getElementById(in_strName).style.display=”;
}
}
Hiddend Div
[QUOTE]
<div id=”Photos” style=”DISPLAY: none”>
<table border=”0″ width=”800″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”100%”>
<table border=”0″ width=”100%” cellspacing=”0″ cellpadding=”3″>
<tr>
<td width=”100%”><p align=”center”><b><font face=”Arial” size=”5″>Team Photos</font></b></td>
</tr>
<tr>
<td width=”100%”>soon…</span></td>
</tr>
</table>
</td>
</tr>
</table>
<hr noshade size=”5″ width=”800″ align=”left”>
</div>
The link to display the Div (and hide others)
[QUOTE]
<A href=”javascript?isplayNav(‘Photos’)”>Practice Schedule</A>
The error I get is…
[B]error object expected.
Any help is much appreciated.
~Thanks, Jim