易截截图软件、单文件、免安装、纯绿色、仅160KB

html 中利用js调用隐藏div模仿对话框小例

<html>
<head>
    <script>  
  function   locking(){  
  document.all.ly.style.display="block";  
  document.all.ly.style.width=document.body.clientWidth;  
  document.all.ly.style.height=document.body.clientHeight;  
  document.all.Layer2.style.display='block';  
  }  
  function   Lock_CheckForm(theForm){  
  document.all.ly.style.display='none';document.all.Layer2.style.display='none';
  return   false;  
  }  
    </script>
</head>
<body>
  
    <p align="center">
        <input type="button" value="系统锁定" onclick="locking()">
    </p>
    <div id="ly" style="position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #F5F5F5;
        z-index: 2; left: 0px; display: none;">
    </div>
    <!--         浮层框架开始         -->
    <div id="Layer2" align="center" style="position: absolute; z-index: 3; left: expression((document.body.offsetWidth-540)/2); top: expression((document.body.offsetHeight-170)/2);
        background-color: #fff; display: none;" >
        <table width="540" border="0" cellpadding="0" cellspacing="0" style="border: 0   solid   #e7e3e7;
            border-collapse: collapse">
            <tr>
         &nbs


相关文档:

js html对象通用属性总结 收藏


           1:style、style.cssText及style.position,style.left等CSS样式的各个属性
            如:
           var section=document.createEleme ......

HTML DOM deleteRow() 方法

http://www.w3school.com.cn/htmldom/met_table_deleterow.asp
定义和用法
deleteRow() 方法用于从表格删除指定位置的行。
语法
tableObject.deleteRow(index)
说明
参数 index 指定了要删除的行在表中的位置。行的编码顺序就是他们在文档源代码中出现的顺序。<thead> 和 <tfoot> 中的行与表中其它行一起 ......

HTML中的内联框架

<body>
<iframe name="pic" src=""; width="400" height="300" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>
<p>
<a href="www.163.com" mce_href="www.163.com" target="pic">网易</a>
<a href="www.sina.com.cn" mce_href="www.sina.com.cn" ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号