高级|透明 <script language=javascript> function moduleZone(id,show) </script> 说明: id:层的名称; show是否显示该区域 例 <span language=javascript> moduleZone("id",false) lkalsdf asdf asf asf </span>
{
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>
半透明遮盖区域(层高级应用)
80酷酷网 80kuku.com