pelegk1
10-20-2003, 09:16 AM
i have this code
<tr id="trMostViewed">
<td bgcolor="<%=Application("RightBarTitlesColor")%>" HEIGHT="20" width="100%"><font color="White"><b> most viewed </b></font></td>
<td><img border="0" SRC="/images/corner.gif"></td>
</tr>
<tr>
<td>
<!-- #include File="Viewed.asp" -->
<br></td>
</tr>
in the viewed.asp file i have this code :
<%
if rstDoc.EOF=true then Response.Write "<SCRIPT> if (document.all['trMostViewed']) { document.all['trMostViewed'].style.visibility='none')} </SCRIPT>"
%>
but i am getting an error which says :
document.all.trMostViewed.style.visibility
is not an object!!!
why is that?how can i fix it?
<tr id="trMostViewed">
<td bgcolor="<%=Application("RightBarTitlesColor")%>" HEIGHT="20" width="100%"><font color="White"><b> most viewed </b></font></td>
<td><img border="0" SRC="/images/corner.gif"></td>
</tr>
<tr>
<td>
<!-- #include File="Viewed.asp" -->
<br></td>
</tr>
in the viewed.asp file i have this code :
<%
if rstDoc.EOF=true then Response.Write "<SCRIPT> if (document.all['trMostViewed']) { document.all['trMostViewed'].style.visibility='none')} </SCRIPT>"
%>
but i am getting an error which says :
document.all.trMostViewed.style.visibility
is not an object!!!
why is that?how can i fix it?