控制web页面的某块是否显示出来

方法一:

  <%if (false)
    {%>
              <a href="#" onclick="fPopUpSelfPassWord();">
              <font class="quick_menu_style"><u>修改密码</u></font></a>&nbsp;
              <font class="quick_menu_style"><b>|</b></font>&nbsp;
     <%}%>

方法二:

<html>
<head>
</head>
<body>

<table>
<tr>
<td>111</td>
<script language="javascript">

if(条件)

{
document.writeln('<td>222</td>');

}
</script>
</tr>
</table>

</body>
</html>

 

posted on 2009-07-11 15:36  优雅小猪  阅读(179)  评论(0编辑  收藏  举报

导航