//alert(s);
document.write(" <div id=moduleZone_"+id">

半透明遮盖区域(层高级应用)

80酷酷网    80kuku.com

  高级|透明 

<script language=javascript>

function moduleZone(id,show)
{
var s=(show==true)?"hidden":"visible";
//alert(s);
document.write(" <div id=moduleZone_"+id+" <table border='0' cellspacing='0' cellpadding='0'> <tr valign=middle> <td> <iframe src='about:blank' frameborder='0' visibility:"+s+"; width:100%;height:50%;filter='progid:DXImageTransform.Microsoft.Alpha( <table border='0' cellspacing='0' cellpadding='0'> <tr> </tr> </table> <iframe src='about:blank' frameborder='0' visibility:inherit;width:100%;height:50%;filter='progid:DXImageTransform.Microsoft.Alpha( </td> </tr> </table> </div>");
}

</script>

说明:

id:层的名称;

show是否显示该区域

<span language=javascript>

moduleZone("id",false)
</script>

lkalsdf

asdf

asf

asf

</span>



分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: