易截截图软件、单文件、免安装、纯绿色、仅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


相关文档:

常用正则表达式大全!(例如:匹配中文、匹配html)

     匹配中文字符的正则表达式: [u4e00-u9fa5]  
  评注:匹配中文还真是个头疼的事,有了这个表达式就好办了
  匹配双字节字符(包括汉字在内):[^x00-xff]
  评注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1)
  匹配空白行的正则表达式:ns* ......

aspx 生成HTML 静态页


aspx 生成HTML 静态页 :http://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.html
 
cs 页:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
u ......

html中常用颜色代码


常用颜色代码
 
#000000
 
#2F0000
 
#600030
 
#460046
 
#28004D
 
#272727
 
#4D0000
 
#820041
 
#5E005E
 
#3A006F
 
#3C3C3C
 
#600000
 
#9F0050
 
#750075
 
#4B0091
 
#4F4F4F
 
#750 ......

HTML相对路径 上级目录及下级目录的写法


 如何表示上级目录
../表示源文件所在目录的上一级目录,../../表示源文件所在目录的上上级目录,以此类推。
假设info.html路径是:c:\Inetpub\wwwroot\sites\blabla\info.html
假设index.html路径是:c:\Inetpub\wwwroot\sites\index.html
在info.html加入index.html超链接的代码应该这样写:
<a href ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号