??xml version="1.0" encoding="utf-8" standalone="yes"?>а√在线中文网新版地址在线,国产一区二区三区不卡在线,精品一区二区国语对白http://www.aygfsteel.com/hwpok/category/27447.htmlDEBUG - 天道酬勤zh-cnMon, 03 Mar 2014 18:04:12 GMTMon, 03 Mar 2014 18:04:12 GMT60dream html代码 ~进http://www.aygfsteel.com/hwpok/archive/2014/03/03/410553.html惠万?/dc:creator>惠万?/author>Mon, 03 Mar 2014 09:48:00 GMThttp://www.aygfsteel.com/hwpok/archive/2014/03/03/410553.htmlhttp://www.aygfsteel.com/hwpok/comments/410553.htmlhttp://www.aygfsteel.com/hwpok/archive/2014/03/03/410553.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/410553.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/410553.html1.?~辑"->"首选项"  中设|格式参?br />2.点击"命o"->"应用源格? 代码p动格式化?/div>

]]>
关于td的最高?/title><link>http://www.aygfsteel.com/hwpok/archive/2013/01/05/393793.html</link><dc:creator>惠万?/dc:creator><author>惠万?/author><pubDate>Sat, 05 Jan 2013 03:04:00 GMT</pubDate><guid>http://www.aygfsteel.com/hwpok/archive/2013/01/05/393793.html</guid><wfw:comment>http://www.aygfsteel.com/hwpok/comments/393793.html</wfw:comment><comments>http://www.aygfsteel.com/hwpok/archive/2013/01/05/393793.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hwpok/comments/commentRss/393793.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hwpok/services/trackbacks/393793.html</trackback:ping><description><![CDATA[<p>如果不进行设|,td的默认高度最ؓ?13"Q是因ؓ取这个单元格里的字体默认大小Q如果设|td高度于13Q需要把单元g的字体高度也改小——虽然没有写字Q实际上是有I格的,代码如下Q?/p> <p><tr height="5px"> <br /><td style="font-size: 5px"> <!--q里可以加入如图片标{--></td> <br /></tr></p><img src ="http://www.aygfsteel.com/hwpok/aggbug/393793.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hwpok/" target="_blank">惠万?/a> 2013-01-05 11:04 <a href="http://www.aygfsteel.com/hwpok/archive/2013/01/05/393793.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>|上扄关于http-equiv的知识,以前L忽视http://www.aygfsteel.com/hwpok/archive/2010/10/19/335533.html惠万?/dc:creator>惠万?/author>Tue, 19 Oct 2010 03:04:00 GMThttp://www.aygfsteel.com/hwpok/archive/2010/10/19/335533.htmlhttp://www.aygfsteel.com/hwpok/comments/335533.htmlhttp://www.aygfsteel.com/hwpok/archive/2010/10/19/335533.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/335533.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/335533.html1?lt;meta http-equiv= "Content-Type"contect="text/html";charset=gb_2312-80">?nbsp;<meta http-equiv="Content-Language" contect="zh-CN">用以说明主页制作所使用的文字以及语aQ又如英文是ISO-8859-1字符集,q有BIG5、utf-8、shift-Jis、Euc、Koi8-2{字W集Q?

2?lt;meta http-equiv="Refresh" content="n; url=  http://yourlink";;>
  定时让网在指定的时间nU内Q蟩转到面http://yourlinkQ?nbsp;

3?lt;meta http-equiv="Expires" contect="Mon,12 May 2001 00:20:00 GMT">可以用于讑֮|页的到期时_一旦过期则必须到服务器上重新调用。需要注意的是必M用GMT旉格式Q?

4?lt;meta http-equiv="Pragma" contect="no-cache">是用于设定禁止浏览器从本地机的缓存中调阅面内容Q设定后一旦离开|页无法从Cache中再调出Q?/p>

 5?lt;meta http-equiv="set-cookie" contect="Mon,12 May 2004 00:20:00 GMT">cookie讑֮Q如果网过期,存盘的cookie被删除。需要注意的也是必须使用GMT旉格式Q?/p>

6?lt;meta http-equiv="Pics-label" contect="">|页{评定Q在IE的internet选项中有一内容设|,可以防止览一些受限制的网站,而网站的限制U别是通过meta属性来讄的; 

7?lt;meta http-equiv="windows-Target" contect="_top">强制面在当前窗口中以独立页面显C,可以防止自己的网被别h当作一个frame调用;

一、meta标签的组?

     meta标签共有两个属性,它们分别是http-equiv属性和name属性,不同的属性又有不同的参数|q些不同的参数值就实现了不同的|页功能?/p>

     1、name属?/strong>

     name属性主要用于描q网,与之对应的属性gؓcontentQcontent中的内容主要是便于搜索引擎机器h查找信息和分cM息用的?/p>

     meat标签的name属性语法格式是Q<meta name="参数" content="具体的参数?Q??/p>

     其中name属性主要有以下几种参数Q?/p>

     A、Keywords(关键?

     说明Qkeywords用来告诉搜烦引擎你网늚关键字是什么?/p>

     举例Q<meta name ="keywords" content="science, education,culture,politics,ecnomicsQrelationships, entertaiment, human"Q?/p>

      B、description(|站内容描述)

     说明Qdescription用来告诉搜烦引擎你的|站主要内容?/p>

     举例Q<meta name="description" content="This page is about the meaning of science, education,culture."Q?/p>

     C、robots(机器人向?

     说明Qrobots用来告诉搜烦机器人哪些页面需要烦引,哪些面不需要烦引?/p>

     content的参数有all,none,index,noindex,follow,nofollow。默认是all?/p>

     举例Q<meta name="robots" content="none"Q?/p>

     D、author(作?

     说明Q标注网늚作?/p>

     举例Q<meta name="author" 阅读全文

]]>
文本 自适应 表格http://www.aygfsteel.com/hwpok/archive/2010/02/05/312060.html惠万?/dc:creator>惠万?/author>Fri, 05 Feb 2010 02:51:00 GMThttp://www.aygfsteel.com/hwpok/archive/2010/02/05/312060.htmlhttp://www.aygfsteel.com/hwpok/comments/312060.htmlhttp://www.aygfsteel.com/hwpok/archive/2010/02/05/312060.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/312060.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/312060.html<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">   
<HTML>   
<HEAD>   
<TITLE> New Document </TITLE>   
<style>   
.auto_arrange
{ table-layout:fixed}   
.auto_arrange td
{text-overflow:ellipsis;overflow:hidden;white-space: nowrap;padding:2px}   
</style>   
</HEAD>   
<BODY>   
<table cellSpacing="0" cellpadding="1" width="100%" class="auto_arrange" border=1>   
<tr>   
<td title="让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度">让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度</td>   
<td width="54">(1/4)</td>   
</tr>   
<tr>   
<td title="让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度">让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度</td>   
<td width="54">(2/4)</td>   
</tr>   
<tr>   
<td title="让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度">让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度</td>   
<td width="54">(3/4)</td>   
</tr>   
<tr>   
<td title="让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度">让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度让文字自动适应Table宽度</td>   
<td width="54">(4/4)</td>   
</tr>   
</table>   
</BODY>   
</HTML>   

]]>
动DIVhttp://www.aygfsteel.com/hwpok/archive/2010/02/02/311713.html惠万?/dc:creator>惠万?/author>Tue, 02 Feb 2010 11:01:00 GMThttp://www.aygfsteel.com/hwpok/archive/2010/02/02/311713.htmlhttp://www.aygfsteel.com/hwpok/comments/311713.htmlhttp://www.aygfsteel.com/hwpok/archive/2010/02/02/311713.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/311713.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/311713.html<td width="100"><input type="text" name="dataAddByManualReq.SSubscrMonth" id="SSubscrMonth" onclick="javascript:document.getElementById('monthDiv').style.display='';" class="text" readonly/><br/><div id="monthDiv" style='position:absolute; width:40; height:60;z-index:100;background:red; display:none;'>
                                            
<table>
                                                
<tr>
                                                    
<td colspan="4" style="text-align:right;"><onclick="javascript:document.getElementById('monthDiv').style.display='none';" style="cursor:pointer;">关闭</a></td>
                                                
</tr>
                                                
<tr>
                                                    
<td><input type="checkBox" name="huyMonth" value="1?/>1?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="2?/>2?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="3?/>3?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="4?/>4?/span></td>
                                                
</tr>
                                                
<tr>
                                                    
<td><input type="checkBox" name="huyMonth" value="5?/>5?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="6?/>6?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="7?/>7?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="8?/>8?/span></td>
                                                
</tr>
                                                
<tr>
                                                    
<td><input type="checkBox" name="huyMonth" value="9?/>9?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="10?/>10?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="11?/>11?/span></td>
                                                    
<td><input type="checkBox" name="huyMonth" value="12?/>12?/span></td>
                                                
</tr>
                                                
<tr>
                                                    
<script type="text/javascript">
                                                        
function addMonth()
                                                        
{
                                                            
var checkBoxArr = document.getElementsByName("huyMonth");
                                                            
                                                            
var monthStr = "";
                                                            
for(var i=0; i<checkBoxArr.length; i++)
                                                            
{
                                                                
if(checkBoxArr[i].checked)
                                                                
{
                                                                    monthStr 
+= "," + checkBoxArr[i].value;
                                                                }

                                                            }

                                                            
                                                            
if(monthStr.length>0)
                                                            
{
                                                                monthStr 
= monthStr.substr(1);
                                                            }

                                                            document.getElementById(
"SSubscrMonth").value=monthStr;
                                                        }

                                                    
</script>
                                                    
<td colspan="4" style="text-align:center;"><onclick="javascript:addMonth()" style="cursor:pointer;"></a></td>
                                                
</tr>
                                            
</table>
                                        
</div></td>

]]>
input file 只读http://www.aygfsteel.com/hwpok/archive/2010/01/28/311041.html惠万?/dc:creator>惠万?/author>Thu, 28 Jan 2010 02:53:00 GMThttp://www.aygfsteel.com/hwpok/archive/2010/01/28/311041.htmlhttp://www.aygfsteel.com/hwpok/comments/311041.htmlhttp://www.aygfsteel.com/hwpok/archive/2010/01/28/311041.html#Feedback1http://www.aygfsteel.com/hwpok/comments/commentRss/311041.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/311041.html

]]>
关于gifq度条的问题http://www.aygfsteel.com/hwpok/archive/2009/12/03/304682.html惠万?/dc:creator>惠万?/author>Thu, 03 Dec 2009 10:30:00 GMThttp://www.aygfsteel.com/hwpok/archive/2009/12/03/304682.htmlhttp://www.aygfsteel.com/hwpok/comments/304682.htmlhttp://www.aygfsteel.com/hwpok/archive/2009/12/03/304682.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/304682.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/304682.html今天,改以前的一个同事的代码.
代码里有一个耗时操作,需要加一个进度条.

一般用ajax实现,比较?
但是他的代码不利于修Ҏ(gu)ajax.

于是,我想在提交表单时,加一个进度条.

我的q度条是一张gif的动d?
当提交表单后,q度条不能正常显C动L?

最?我在|上找了一个gif2swf的Y?把gif转成swf.解决了这个问?省去了我J重的修改Q?br />
Z么gif不能昄,而swf能显C?我想可能是gif要用览器的资源,而swf用flashplayer的缘?

代码如下:
      <div id="loadingDiv" style="position:absolute;z-index:200;top:30%;left:42%; display:none;"><embed src="http://www.aygfsteel.com/images/load_2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="214" height="18"></embed></div>



]]>
Refererhttp://www.aygfsteel.com/hwpok/archive/2009/11/02/300777.html惠万?/dc:creator>惠万?/author>Mon, 02 Nov 2009 11:44:00 GMThttp://www.aygfsteel.com/hwpok/archive/2009/11/02/300777.htmlhttp://www.aygfsteel.com/hwpok/comments/300777.htmlhttp://www.aygfsteel.com/hwpok/archive/2009/11/02/300777.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/300777.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/300777.html
以下是伪造方法:

ASP:

dim http

set http=server.createobject("MSXML2.XMLHTTP") '//MSXML2.serverXMLHTTP也可?br />
Http.open "GET",url,false

Http.setRequestHeader "Referer","http://www.05809.cn/"

Http.send()

PHP(前提是装了curl):

$ch = curl_init();

curl_setopt ($ch, CURLOPT_URL, "http://www.05809.cn/xxx.asp");

curl_setopt ($ch, CURLOPT_REFERER, "http://www.05809.cn/");

curl_exec ($ch);

curl_close ($ch);

PHP(不装curl用sock)

$server = 'www.dc9.cn';

$host = 'www.dc9.cn';

$target = '/xxx.asp';

$referer = 'http://www.dc9.cn/'; // Referer

$port = 80;

$fp = fsockopen($server, $port, $errno, $errstr, 30);

if (!$fp)

{

echo "$errstr ($errno)<br />\n";

}

else

{

$out = "GET $target HTTP/1.1\r\n";

$out .= "Host: $host\r\n";

$out .= "Cookie: ASPSESSIONIDSQTBQSDA=DFCAPKLBBFICDAFMHNKIGKEG\r\n";

$out .= "Referer: $referer\r\n";

$out .= "Connection: Close\r\n\r\n";

fwrite($fp, $out);

while (!feof($fp))

{

echo fgets($fp, 128);

}

fclose($fp);

}


VB.NET/C#.NET

Dim oXMLHttp As MSXML2.XMLHTTP30 = New MSXML2.XMLHTTP30()

或?br />
MSXML2.XMLHTTP30 oXMLHttp = new MSXML2.XMLHTTP30();

oXMLHttp.open(....

oXMLHttp.setRequestHeader(...

oXMLHttp.send(..

javascript

xmlHttp.setRequestHeader("Referer", "http://URL");



JS不支?郁闷中。。?

原理都是sock构造http头来senddata。其他语a什么的比如perl也可?

目前比较单的防M伪造referer的方法是用验证码QSessionQ?br />
现在有一些能防盗链Y件的商业公司比如UUDOGQlinkgateQVirtualWall什么的Q都是开发的应用于IIS上面的dll?br />
有的是采用cookies验证、线E控Ӟ有的是能随机生成文g名然后做URL重写。有的方法能的确辑ֈ不错的效?
反盗?/strong>
  1、不定期更名文g或者目?br />   不定期的更改文g或者目录的名称Q是最原始的反盗链的方式,可以比较有效地防止盗q,q种Ҏ(gu)一般工作量比较大。但是批量的文g改名是完全可以自动化的,而且也比较容易实现。在文g的更名过E中, 可能会有客户正在下蝲该文Ӟq样会导致正常的客户讉Kp|Q尽这个问题容易解冻I但是也不能够忽视?br />   2、限制引用页
  q种防盗铑֎理是Q服务器获取用户提交信息的网站地址Q然后和真正的服务端的地址相比较,如果一致则表明是站内提交,或者ؓ自己信Q的站Ҏ(gu)交,否则视ؓ盗链。实现时可以使用HTTP_REFERER1 和htaccess 文g(需要启用mod_Rewrite)Q结合正则表辑ּd配用L每一个访问请求。对于每一个HTTP h, 服务器都要查?htaccess 文gQ增加了d文g的次敎ͼ一定程度上降低了性能。另外,服务器打开q个功能Q有比较多的限制?br />   3、文件伪?br />   文g伪装是目前用得最多的一U反盗链技术,一般会l合服务器端动态脚?PHP/JSP/ASP)。实际上用户h的文件地址Q只是一个经q伪装的脚本文gQ这个脚本文件会对用Lh作认?一般会查SessionQCookie 或HTTP_REFERER 作ؓ判断是否为盗铄依据。而真实的文g实际隐藏在用户不能够讉K的地方,只有用户通过验证以后才会q回l用戗?br />   4、加密认?br />   q种反盗链方式,先从客户端获取用户信息,然后Ҏ(gu)q个信息和用戯求的文g名字一起加密成字符?Session ID)作ؓw䆾验证。只有当认证成功以后Q服务端才会把用户需要的文g传送给客户。一般我们会把加密的Session ID 作ؓURL 参数的一部分传递给服务器,׃q个Session ID 和用L信息挂钩Q所以别人就是盗取了链接,该Session ID 也无法通过w䆾认证Q从而达到反盗链的目的。这U方式对于分布式盗链非常有效?br />   5、随机附加码
  每次,在页面里生成一个附加码,q存在数据库?和对应的囄相关,讉K囄时和此附加码Ҏ(gu),相同则输出图?否则输出404囄
  6、其它方?br />   其它反盗链方式也有不? q里只列Z个大概思想作ؓ参考:?IIS 反盗? 利用ISAPI_Rewrite,可作为Windows下反盗链的一个解x案;?囄反盗链,在图片中加入水印Q虽然盗链者可以达到目的,但是却也在ؓ自己的网站做宣传?/span>

不过道高一,高一丈,q些雕虫技l归是有破解Ҏ(gu)的?

]]>
HTML 源码安全http://www.aygfsteel.com/hwpok/archive/2009/11/02/300724.html惠万?/dc:creator>惠万?/author>Mon, 02 Nov 2009 07:25:00 GMThttp://www.aygfsteel.com/hwpok/archive/2009/11/02/300724.htmlhttp://www.aygfsteel.com/hwpok/comments/300724.htmlhttp://www.aygfsteel.com/hwpok/archive/2009/11/02/300724.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/300724.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/300724.html 〈script?
function click(){
if(event.button==2){
alert( ’本网站欢q?zhn)?!!’);
}
}
document.onmousedown=click
?script?
  但是q种屏蔽Ҏ(gu)的破解方法也是众所周知的。那是q箋单击鼠标左键和右键便又可以看到右键菜单了。但是,我见q一U很好的屏蔽右键的方法。它的原理和上面所说的不同。它q不是用JS来编写的脚本Q而是利用定义|页属性来起到限制的作用。而且Q在屏蔽中应该尽量的避开使用JS脚本。因为只要浏览者把IE里的java script脚本用了。那么一切屏蔽都白费?
  那么l箋说那U通过修改|页属性的屏蔽右键的方法。这U方法利用了HTML里的〈body〉来作修改,它只有以下短短的一行代码:
〈body oncontextmenu=self.event.returnvalue=false?
  q里Q定义了oncontextmenu。得右键的gؓfalseQvC屏蔽右键的效果。现在,再试试看刚才的破解方法,已经不行了。左右键q击已经不能再打开右键菜单。不但是q个Q再试试看其他的Ҏ(gu)。无Z怎样的ؕ点,右键都没有用。因为在q个|页里,右键已经不存在了。对于一个不存在的功能键Q你又能做什么呢Q?
  但是Q屏蔽了右键q不能解决问题。如果我要复制一D|字,或是一张图片。那么,把它选中后用ctrl+C 再用 ctrl+V不就可以复制_脓(chung)了嘛。对了,接下来要讲的Q就是屏蔽左键(什么?屏蔽左键Q那q个|页不就差不多废掉了Q别急,没说完呢Q左键只有一功能是很讨厌的Q的选定功能?
  那么Q如上所_用JS来屏蔽是没有用的Q治标不L的。那么,我们p用网늚最基础的语aQHTML来定义吧。还是老招敎ͼ定义〈body〉。这ơ用的参数是Qonselectstart。就是左键选定的参数。代码如下:
〈body onselectstart="return false"?
  q样Q左键选定功能qL屏蔽了。原理和上面的一栗现在,再用你的左键选择L内容把,已经没有用了。自然也不能ctrl + CQctrl +V了。那么,现在我们来把q两部分合ƈh。彻底控制左右键Q:
〈body oncontextmenu=self.event.returnvalue=false onselectstart="return false"?
  现在Q左右键的问题ȝ是解决了吧?
  好,现在我们来看另一个问题。大安知道Q在IE览器的菜单栏里?#8220;查看”w。有一?#8220;查看源代?#8221;选项。这么一来,虽然我们屏蔽了右键里的查看源代码。但是,只要用菜单栏里的查看源代码,q是可以看到源代码的。这可怎么办呢Q?
  我最初的x是用框架来避开源代码的查看。也是_只要一个网|嵌在框架里的Q那么在菜单栏里选择查看源代码查看到的只是框架网늚源代码。一般格式如下:
〈html?
〈head?
〈meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"?
〈title〉本|站标题?title?
?head?
〈frameset rows="47,*" framespacing="0" border="0" frameborder="0"?
〈frame name="header" scrolling="no" noresize target="main" src="top.htm"?
〈frame name="main" src="main.htm" scrolling="auto" target="_self"?
〈noframes?
〈body?
〈p〉此|页使用了框Ӟ但?zhn)的浏览器不支持框架。?p?
?body?
?noframes?
?frameset?
?html?
  q样看v来对Ҏ(gu)没有直接看到你的源代码了。但是,如果一个h要看你的源代码,那他八成是能看懂的。如果懂一点HTML的话Q都能看两句是什么意思:
〈frame name="header" scrolling="no" noresize target="main" src="top.htm"?
〈frame name="main" src="main.htm" scrolling="auto" target="_self"?
  q两句的意思就是:在headerQ也是|页剙Q处引用相对路径下的top.htm|页文g。而在mainQ也是占据|页大部分页面的位置Q处引用相对路径下的main.htm|页文g。就q两Ҏ(gu)关键的,其他׃作解释了Q大家也都懂的。而上面所讲的利用框架来隐藏源代码的方法就是将要显C页面放在main部分。而将header部分的大设?。但是这样一来,利用菜单栏里的查看源代码Q还是能查看到框架网늚源代码。只要看到这两句Q就知道我们前面用的手法了。也是_只要框架网늚名字改ؓ目标|页Q便可以用相同的Ҏ(gu)直接看到目标|页的源代码了。如Q框架网:http://www.sina.com.cn/red.htm的源代码如上Q就可以改ؓHttp://www.sina.com.cn/main.htm。这样便可直接浏览被保护|页Q屏蔽源代码的效果还是没有达到?
  那么Q有些h׃惛_Q如果对方看不到框架|页的源代码。又何谈ȝ接打开被保护网?对,q就是接下来我要讲的。如果要一个页面的菜单栏内的查看源代码失去效用。那最单的办法是L菜单栏。而这一Ҏ(gu)可以通过弹出H口来实现的。之所以不选用链接打开无菜单栏H口是因为那样会暴露目标地址Q浏览者可以直接在览器中敲入地址Q而绕q这个屏蔽的菜单栏。要使用链接打开无菜单栏H口Q就必须在一个已受到源代码屏蔽保障的|页中用相关链接?
  那么Q我们就看看如何利用弹出H口来去掉菜单栏。其实,我们要做的,是让目标网在一个广告条中打开。这个代码几乎每个大型网站都会有的。代码如下:
〈script?
?--
window.open("red.htm", "red", "resizable=yes,width=500,height=300");
--?
?script?
  q里Q在window.open后的括号里的W一个参数就是弹出窗口所昄的网늚位置Q这里例子里是先对位|下的red.htm|页文g。这时运行便会谈Z个显C有red.htm的无菜单栏的H口。好Q我们的目的辑ֈ了。但是,q个H口有一个缺P是没有滚动条。因为在谈出H口的语句:window.open里ƈ没有关于滚动条的参数Q(或是我不知道Q欢q高手来信指出)Q所以这里打开的网徏议只做成|页的导航页?
  但是Q用以上Ҏ(gu)取消菜单栏,必须有一个第二方的网|作弹出的工作。那么,q个用来弹出H口的网又成ؓ了一个问题的所在。D例来_假设Q我们用一个index.htm来作弹出H口的工作。也是打开index.htm之后Q会弹出red.htm的无菜单栏窗口。前面我们也提到了,如果知道了一个网늚地址后,无论q个|页是否隐藏在无菜单栏之下,你都能看到它的源代码。那么,不让q个red.htm的地址暴露也就成了解决q个问题的关键。但是,只要q个index.htm被打开Q就可以看到源代码。但是,不妨反过来想惻I如果我们把index.html关h呢?只要在浏览者没有来得及查看index.htm之前它关闭Q就能保住它的源代码了。那么,在这个index.htm里就有得做些文章了?
那就是,d关闭|页的代码?
  那么Q我们就可以用window.close来关闭窗口。代码如下:
〈script?
?--
window.open();
--?
?script?
  那么Q现在我们把两部分代码合qv来。现在,得到的效果就是——直接有一个无菜单栏的H口打开了。因机的处理速度很快Q如果我们将q两D代码紧接着写在一P那么我们只能看到新建的H口。代码如下:
〈script?
?--
window.open("red.htm", "red", "resizable=yes,width=500,height=300");
window.close();
--?
?script?
  而原来的H口Q已在我们无察觉的情况下关闭了。这P别说查看该|页的源代码了。这里,加入上面源代码的|页起了一个蟩板的作用。但是,在这里,我们要注意几炏V第一Q用来做x的网不应该命名为index.htm。将它换一个名字,然后把默认首늚名字改ؓ更改q的名字。这P是浏览者能在输入网之后便自动访问该c而又不致让对方知道该늚名称。如果不q样做,׃DҎ(gu)猜测늚位置。如Q?72.0.0.0/index.htm。这P可以通过在浏览器中提交:View-Source:Http://172.0.0.0/index.htm可以看到该늚源代码了?
  在屏蔽掉了菜单栏和工h之后Q我们想Q如果没有了最上方的窗口条该多好呢Q下面我们要做的事情Q有前提Q就是在上面所说的在利用蟩杉K面打开一个无菜单栏的H口之后。我们要做什么呢Q就是让我们昄|站内容的窗口只昄内容Q(是啊Q网站不是l别人浏览的吗?要浏览器和windows的那么多功能做什么呀……Q只要内容,其余一律去掉。我们就可以通过一Djava script来完成。下面这D代码就是用来定义无MH口特征的代码:
〈script?
function open1(url){
newwin=window.open(url,’newwindow’,’fullscreen=1’)
newwin.resizeTo(800,600)
newwin.moveTo(screen.width/0-800,screen.height/0-600)
}
?script?
  其中Qfunction open1(url)定义了超链接的写法。所以,我们在写链接的地址Ӟ应该q样写:java script:open1(url)。比如我要打开一个无H口特征的新首就应该在文字或囄的超链接里这样写Qjava script:open1(‘http:www.sina.com.cn’)。当Ӟ括号内也支持相对路径。最后写出来的格式应该是Q?
〈script?
function open1(url){
newwin=window.open(url,’newwindow’,’fullscreen=1’)
newwin.resizeTo(800,600)
newwin.moveTo(screen.width/0-800,screen.height/0-600)
}
?script?
〈body oncontextmenu=self.event.returnvalue=false onselectstart="return false"?
〈td width="100%"〉〈a href="java script:open1(’main.htm’),window.close()"〉〈img border="0" src="pic/blank1.gif" style="position: absolute; left: 556; top: 142" width="169" height="57"〉?a〉?td?
?body?
  q样Q我们就辑ֈ了打开无窗口边的网了。ƈ且,在这个网中Q会自动加入滚动条,q样Q就不会像前面那L不到下面的内容啦?
  最后我们要做的工作Q就是把每一,或者你认ؓ重要的关键的面q行加密Q就O(jin)K啦。怎样对网늚源代码进行加密就不用我多说了吧?|上到处都有Q可以用工具Q也可以自己写一个htm文g来{换。加密YӞ我推?#8220;Batch HTML Encryptor”Q去google扑֐。还有{换加密网늚代码如下Q?
〈HTML〉〈HEAD〉〈TITLE〉网加密解密?TITLE?
〈META http-equiv=Content-Type content="text/html; charset=gb2312"?
〈META content="MSHTML 6.00.2600.0" name=GENERATOR〉?-- 大地软g工作?-〉〈LINK
href="style.css" rel=stylesheet?
〈META content="Microsoft FrontPage 4.0" name=GENERATOR?
?HEAD?
〈BODY bgColor=#ffffff leftMargin=0 topMargin=0 onload=initStyleElements()?
〈DIV
style="LEFT: 139px; WIDTH: 106px; POSITION: absolute; TOP: 52px; HEIGHT: 36px"?
〈TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0〉?--DWLayoutTable--?
〈TBODY?
〈TR?
〈TD vAlign=top align=center width=760 height=310?
〈DIV align=center?
〈H2?
〈SCRIPT language=java script?
?--
var i=0;
var ie=(document.all)?1:0;
var ns=(document.layers)?1:0;
function initStyleElements() /* Styles for Buttons Init */
{
var c = document.pad;
if (ie)
{
//c.text.style.backgroundColor="#DDDDDD";
c.compileIt.style.backgroundColor="#C0C0A8";
c.compileIt.style.cursor="hand";
c.select.style.backgroundColor="#C0C0A8";
c.select.style.cursor="hand";
c.view.style.backgroundColor="#C0C0A8";
c.view.style.cursor="hand";
c.retur.style.backgroundColor="#C0C0A8";
c.retur.style.cursor="hand";
c.clear.style.backgroundColor="#C0C0A8";
c.clear.style.cursor="hand";
}
else return;
}
/* Buttons Enlightment of "Compilation" panel */
function LightOn(what)
{
if (ie) what.style.backgroundColor = ’#E0E0D0’;
else return;
}
function FocusOn(what)
{
if (ie) what.style.backgroundColor = ’#EBEBEB’;
else return;
}
function LightOut(what)
{
if (ie) what.style.backgroundColor = ’#C0C0A8’;
else return;
}
function FocusOff(what)
{
if (ie) what.style.backgroundColor = ’#DDDDDD’;
else return;
}
/* Buttons Enlightment of "Compilation" panel */
function generate() /* Generation of "Compilation" */
{
code = document.pad.text.value;
if (code)
{
document.pad.text.value=’Compiling...Please wait!’;
setTimeout("compile()",1000);
}
else alert(’First enter something to compile and then press CompileIt’)
}
function compile() /* The "Compilation" */
{
document.pad.text.value=’’;
compilation=escape(code);
document.pad.text.value="〈script〉\n?--\ndocument.write(unescape(\""+compilation+"\"));\n//--〉\n〈\/script?;
i++;
if (i=1) alert("Page compiled 1 time!");
else alert("Page compiled "+i+" times!");
}
function selectCode() /* Selecting "Compilation" for Copying */
{
if(document.pad.text.value.length?)
{
document.pad.text.focus();
document.pad.text.select();
}
else alert(’Nothing for be selected!’)
}
function preview() /* Preview for the "Compilation" */
{
if(document.pad.text.value.length?)
{
pr=window.open("","Preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
pr.document.write(document.pad.text.value);
}
else alert(’Nothing for be previewed!’)
}
function uncompile() /* Decompiling a "Compilation" */
{
if (document.pad.text.value.length?)
{
source=unescape(document.pad.text.value);
document.pad.text.value=""+source+"";
}
else alert(’You need compiled code to uncompile it!’)
}
// --?
?SCRIPT?
〈BR〉〈B〉〈FONT color=#333333〉网HTML源代码加密解密器?FONT〉?B〉?H2〉?DIV?
〈TABLE cellSpacing=0 borderColorDark=#000000 cellPadding=10 width=750
align=center borderColorLight=#ffffff border=2?
〈TBODY?
〈TR?
〈TD?
〈DIV align=center〉〈BR〉将你的源代码脓(chung)到编辑区域即可〈BR〉〈BR?
〈TABLE cellSpacing=0 cellPadding=0 width="100%" border=0?
〈TBODY?
〈TR?
〈TD width="100%"〉?-- Compilation Panel --?
〈FORM name=pad method=post align="center"?
〈DIV align=center〉〈TEXTAREA style="WIDTH: 95%; BACKGROUND-COLOR: #ebebeb" name=text rows=11 cols=58〉?TEXTAREA?
〈BR〉〈BR〉〈BR〉〈INPUT onmouseover=LightOn(this) onclick=generate() onmouseout=LightOut(this) type=button value=加密 name=compileIt?
〈INPUT onmouseover=LightOn(this) onclick=selectCode() onmouseout=LightOut(this) type=button value=全?name=select?
〈INPUT onmouseover=LightOn(this) onclick=preview() onmouseout=LightOut(this) type=button value=预览 name=view?
〈INPUT onmouseover=LightOn(this) onclick=uncompile() onmouseout=LightOut(this) type=button value=解密 name=retur?
〈INPUT onmouseover=LightOn(this) onmouseout=LightOut(this) type=reset value=清除 name=clear?
?DIV〉?FORM〉?-- Compilation Panel --〉?TD〉?TR〉?TBODY〉?TABLE〉?DIV〉?TD〉?TR〉?TBODY〉?TABLE?
〈DIV align=center〉〈BR〉?DIV?
〈DIV align=center〉?DIV??TD〉?TR〉?TBODY〉?TABLE?
?DIV?
〈DIV〉?DIV〉?BODY〉?HTML?
  ȝ一?#8230;…按我的思\Q屏蔽网|代码主要分ؓ以下几个步骤Q?
  1Q?做一个网蟩板,弹出要保护的q告条状面Qƈ自w关闭,以避免泄露需保护|页的地址?
  2Q?׃上述条g屏蔽了广告条内网늚源代码,所以可以用q个|页作ؓƢ迎c?
  3Q?在欢q页中,利用java script以超q接的Ş式来打开无窗口边的新H口昄|站内容?
  4Q?Ҏ(gu)一个页面或者对重要的关键的面q行源代码加密,为源代码加一把锁。(有些Ҏ(gu)代码q行加密没有用,但是我觉得要使用另类点的加密Ҏ(gu)可以了Q比如Y件的加密Ҏ(gu)很普通。但是用我自己写的htm文g加密的源代码Q一般Y件是不能q行解密的。大家有兴趣的话可以试试。)
  5Q?最后不得不提的是windows|页临时文g夹了Q那里面会把源代码纪录的。但是不用怕,加入一U代码,可以windows不下载网늚源代码,直接览。可以去找找?
  有些东西要注意的Q?
  1Q?在文中所说的自动关闭|页的语句:window.close()有一个弊病。就是会在关闭窗口之前询问是否关闭窗口,如果选择否的话目的还是达不到?
  2Q?以上一切都只对IE览器有效用Q如果用别的览器来览Q就有可能出现屏蔽不成功的现象?
  3Q?关于|页源代码屏蔽,一直以来是可望而不可及的。我只是把思\写下来,具体实现Q还是要靠大家自qI?br />

]]>
Z么用了w3c标准height:100%不v作用http://www.aygfsteel.com/hwpok/archive/2009/03/17/260344.html惠万?/dc:creator>惠万?/author>Tue, 17 Mar 2009 14:21:00 GMThttp://www.aygfsteel.com/hwpok/archive/2009/03/17/260344.htmlhttp://www.aygfsteel.com/hwpok/comments/260344.htmlhttp://www.aygfsteel.com/hwpok/archive/2009/03/17/260344.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/260344.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/260344.html html,body{
      margin:0px;
      height:100%;
}

#left {
      background-color:#CCC;
      width:300px;
      height:100%;
      float:left;
}
      代码已经C不能再简单的地步Q对#left对象讄了height:100%;Q然而也能够看见Q同时设|了HTML与body的height:100%;Q而这个就是高度自适应问题的关键所在?br /> 分析Q?br />       一个对象高度是否可以用百分比昄Q取决于对象的父U对象,#left在页面中直接旋{在body之中Q因此它的父U是bodyQ而浏览器默认状态下Q是没有lbody一个高度属性的Q因此当我们直接讄#left为height:100%;Ӟ不会产生M效果Q而当我们lbody讄?00%之后Q它的子U对?left的height:100%;便发生作用了Q这便是览器解析规则引发的高度自适应问题。而代码中除了lbody应用之外Q还lHTML对象也应用相同的样式设计Q这样做的好处是使IE与firefox览器都能够实现高度自适应Q而body却不是。另外,Firefox中的HTML标签不是100%高度Q因此给两个标签都定义ؓheight:100%;以保证两个浏览器下均能够正常昄?


]]>
固定表头和列http://www.aygfsteel.com/hwpok/archive/2008/09/11/228299.html惠万?/dc:creator>惠万?/author>Thu, 11 Sep 2008 02:45:00 GMThttp://www.aygfsteel.com/hwpok/archive/2008/09/11/228299.htmlhttp://www.aygfsteel.com/hwpok/comments/228299.htmlhttp://www.aygfsteel.com/hwpok/archive/2008/09/11/228299.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/228299.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/228299.html <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    
<title>固定表头和列</title>
    
<style>

        .FixedTitleRow
        
{
            position
: relative; 
            top
: expression(this.offsetParent.scrollTop); 
            z-index
: 10;
            background-color
: #E6ECF0;
        
}
        
        .FixedTitleColumn
        
{
            position
: relative; 
            left
: expression(this.parentElement.offsetParent.scrollLeft);
        
}
        
        .FixedDataColumn
        
{
            position
: relative;
            left
: expression(this.parentElement.offsetParent.parentElement.scrollLeft);
            background-color
: #E6ECF0;
        
}
    
</style>
</head><body>
<div id="scrollDiv" style="width: 300px; overflow: auto; cursor: default; display: inline;
    position: absolute; height: 200px;"
>
    
<table id='accountTable' width='500' height='230' cellpadding='0' cellspacing='0'
        
style='table-layout: auto' bordercolor='lightgrey'>
    
<tbody>
    
<tr class="FixedTitleRow">
        
<td class="FixedTitleColumn">ID0</td>
        
<td class="FixedTitleColumn">CK0</td>
        
<td class="FixedTitleColumn">Code0</td>
        
<td class="FixedTitleColumn">Descirption0</td>
        
<td class="FixedTitleColumn">TOL0</td>
        
<td>XS0</td>
        
<td>SS0</td>
        
<td>MS0</td>
        
<td>DS0</td>
        
<td>BS0</td>
        
<td>XL0</td>
        
<td>ML0</td>
        
<td>DL0</td>
        
<td>EM0</td>
        
<td>BM0</td>
    
</tr><tr>
        
<td class="FixedDataColumn">88</td>
        
<td class="FixedDataColumn">88</td>
        
<td class="FixedDataColumn">88</td>
        
<td class="FixedDataColumn">88</td>
        
<td class="FixedDataColumn">88</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
        
<td>22</td>
    
</tr><tr>
        
<td class="FixedDataColumn">111</td>
        
<td class="FixedDataColumn">111</td>
        
<td class="FixedDataColumn">1111</td>
        
<td class="FixedDataColumn">This is Test</td>
        
<td class="FixedDataColumn">1</td>
        
<td>001</td>
        
<td>002</td>
        
<td>003</td>
        
<td>004</td>
        
<td>005</td>
        
<td>006</td>
        
<td>007</td>
        
<td>008</td>
        
<td>009</td>
        
<td>010</td>
    
</tr><tr>
        
<td class="FixedDataColumn">111</td>
        
<td class="FixedDataColumn">111</td>
        
<td class="FixedDataColumn">1111</td>
        
<td class="FixedDataColumn">This is Test</td>
        
<td class="FixedDataColumn">1</td>
        
<td>001</td>
        
<td>002</td>
        
<td>003</td>
        
<td>004</td>
        
<td>005</td>
        
<td>006</td>
        
<td>007</td>
        
<td>008</td>
        
<td>009</td>
        
<td>010</td>
    
</tr><tr>
        
<td class="FixedDataColumn">111</td>
        
<td class="FixedDataColumn">111</td>
        
<td class="FixedDataColumn">1111</td>
        
<td class="FixedDataColumn">This is Test</td>
        
<td class="FixedDataColumn">1</td>
        
<td>001</td>
        
<td>002</td>
        
<td>003</td>
        
<td>004</td>
        
<td>005</td>
        
<td>006</td>
        
<td>007</td>
        
<td>008</td>
        
<td>009</td>
        
<td>010</td>
    
</tr>
    
</tbody>
    
</table>
</div>
</body></html>

]]>
囄上生成链接代?/title><link>http://www.aygfsteel.com/hwpok/archive/2008/07/16/215261.html</link><dc:creator>惠万?/dc:creator><author>惠万?/author><pubDate>Wed, 16 Jul 2008 09:13:00 GMT</pubDate><guid>http://www.aygfsteel.com/hwpok/archive/2008/07/16/215261.html</guid><wfw:comment>http://www.aygfsteel.com/hwpok/comments/215261.html</wfw:comment><comments>http://www.aygfsteel.com/hwpok/archive/2008/07/16/215261.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hwpok/comments/commentRss/215261.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hwpok/services/trackbacks/215261.html</trackback:ping><description><![CDATA[<body><br />     <img name='myImg' id='myImg' src='155905.jpg' width='320' height='240' usemap='#myMap'/><br />         <map name="myMap"><br />       <area shape="rect" coords="0,0,100,200" alt="" /><br />     </map><br /> </body> <img src ="http://www.aygfsteel.com/hwpok/aggbug/215261.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hwpok/" target="_blank">惠万?/a> 2008-07-16 17:13 <a href="http://www.aygfsteel.com/hwpok/archive/2008/07/16/215261.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>html meta 作用http://www.aygfsteel.com/hwpok/archive/2008/05/21/201954.html惠万?/dc:creator>惠万?/author>Wed, 21 May 2008 08:40:00 GMThttp://www.aygfsteel.com/hwpok/archive/2008/05/21/201954.htmlhttp://www.aygfsteel.com/hwpok/comments/201954.htmlhttp://www.aygfsteel.com/hwpok/archive/2008/05/21/201954.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/201954.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/201954.html  name 属?nbsp;

  1?lt;meta name="Generator" contect="">用以说明生成工具Q如Microsoft FrontPage 4.0Q等Q?nbsp;

  2?lt;meta name="KEYWords" contect="">向搜索引擎说明你的网늚关键词; 

  3?lt;meta name="DEscription" contect="">告诉搜烦引擎你的站点的主要内容; 

  4?lt;meta name="Author" contect="你的姓名">告诉搜烦引擎你的站点的制作的作者; 

  5?lt;meta name="Robots" contect= "allnoneindexnoindexfollownofollow"> 

  其中的属性说明如下: 

  讑֮为allQ文件将被检索,且页面上的链接可以被查询Q?nbsp;

  讑֮为noneQ文件将不被索,且页面上的链接不可以被查询; 

  讑֮为indexQ文件将被检索; 

  讑֮为followQ页面上的链接可以被查询Q?nbsp;

  讑֮为noindexQ文件将不被索,但页面上的链接可以被查询Q?nbsp;

  讑֮为nofollowQ文件将不被索,面上的链接可以被查询?nbsp;

  http-equiv属?nbsp;

  1?lt;meta http-equiv="Content-Type" contect="text/html";charset=gb_2312-80"> 

?<meta http-equiv="Content-Language" contect="zh-CN">用以说明主页制作所使用的文字以及语aQ?nbsp;

  又如英文是ISO-8859-1字符集,q有BIG5、utf-8、shift-Jis、Euc、Koi8-2{字W集Q?nbsp;

  2?lt;meta http-equiv="Refresh" contect="n;url=http://yourlink">定时让网在指定的时间n内,跌{到页?a href="http://yourlink/">http://yourlinkQ?nbsp;

  3?lt;meta http-equiv="Expires" contect="MonQ?2 May 2001 00:20:00 GMT">可以用于讑֮|页的到期时_一旦过期则必须到服务器上重新调用。需要注意的是必M用GMT旉格式Q?nbsp;

  4?lt;meta http-equiv="Pragma" contect="no-cache">是用于设定禁止浏览器从本地机的缓存中调阅面内容Q设定后一旦离开|页无法从Cache中再调出Q?nbsp;

  5?lt;meta http-equiv="set-cookie" contect="MonQ?2 May 2001 00:20:00 GMT">cookie讑֮Q如果网过期,存盘的cookie被删除。需要注意的也是必须使用GMT旉格式Q?nbsp;

  6?lt;meta http-equiv="Pics-label" contect="">|页{评定Q在IE的internet选项中有一内容设|,可以防止览一些受限制的网站,而网站的限制U别是通过meta属性来讄的; 

  7?lt;meta http-equiv="windows-Target" contect="_top">强制面在当前窗口中以独立页面显C,可以防止自己的网被别h当作一个frame调用; 

  8?lt;meta http-equiv="Page-Enter" contect="revealTrans(duration=10Qtranstion= 50)">?lt;meta http-equiv="Page-Exit" contect="revealTrans(duration=20Qtranstion=6)">讑֮q入和离开面时的Ҏ(gu)效果Q这个功能即FrontPage中的“格式/|页q渡”Q不q所加的面不能够是一个frame面?/p>

]]>
div 自适应 左右滚动http://www.aygfsteel.com/hwpok/archive/2008/05/21/201914.html惠万?/dc:creator>惠万?/author>Wed, 21 May 2008 07:12:00 GMThttp://www.aygfsteel.com/hwpok/archive/2008/05/21/201914.htmlhttp://www.aygfsteel.com/hwpok/comments/201914.htmlhttp://www.aygfsteel.com/hwpok/archive/2008/05/21/201914.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/201914.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/201914.html     <table>
     ........................
    </table>
<div>
很简?很有?


]]>
Exthttp://www.aygfsteel.com/hwpok/archive/2008/03/14/186352.html惠万?/dc:creator>惠万?/author>Fri, 14 Mar 2008 09:33:00 GMThttp://www.aygfsteel.com/hwpok/archive/2008/03/14/186352.htmlhttp://www.aygfsteel.com/hwpok/comments/186352.htmlhttp://www.aygfsteel.com/hwpok/archive/2008/03/14/186352.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/186352.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/186352.html   ?/span>EXT官方|站上浏览一下,你就会发玎ͼEXT提供的帮助比较少Q相反较多的是那张长长的“服务”报h(hun)单。他们给Z一个免费的论坛Q可是你只要随便扫一|q道里Ҏ(gu)不没有多实质的内容Q至?/span>EXT?/span>Team成员不会l你解决多少问题。这也和那个形Ş色色的服务项目Ş成了鲜明的对比。意囑־单,当你在?/span>EXT的过E中遇到问题ӞEXT的逻辑是Q你可以自己解决Q或者付费,让我?/span>Team帮你解决。当然这是h家的盈利方式Q我无可厚非。关键是有些基本的功能既然已l实CQؓ什么不攑֜开发包中,让用者去downloadQ却找个地方放v来收费,我觉得这点就做的有点不h道了?/span>



]]>
Div居中(?http://www.aygfsteel.com/hwpok/archive/2008/03/13/186131.html惠万?/dc:creator>惠万?/author>Thu, 13 Mar 2008 11:18:00 GMThttp://www.aygfsteel.com/hwpok/archive/2008/03/13/186131.htmlhttp://www.aygfsteel.com/hwpok/comments/186131.htmlhttp://www.aygfsteel.com/hwpok/archive/2008/03/13/186131.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/186131.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/186131.html |上很多的方法都是介l用上的text-align: center然后嵌套一层div来解决问?
可是事实上这LҎ(gu)U学?
l过|络搜烦和亲自实验得Z下结?
正确的也是对面构造没有媄响的讄如下:
寚w要水q_中的div层添加以下属?

margin-left: auto;
margin-right: auto;

l过q么一番设|问题似乎解决了,在ff中已l居中了,可是在ie中看竟然q是没有居中!
郁闷了一下午,是找不出问题所?q特地比较了|上的文章竟然一模一?
问题到底出在哪里?
感谢|友乐天无用帮忙扑և了这个邪门问题的原因.
原来是l-blog默认没有在html前加上dtd,于是ie׃html而不是xhtml来解释文?
问题q不在css而在xhtml|页本n.
需要加上这L代码才能使得上述讄有效?

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">[/code]

如果(zhn)希望更Z格的xhtml 1.0 strict或者xhtml 1.1h阅相x?
以上试均基于windows xp sp2版ie6和firefox 1.0最l版.

如何使div居中

主要的样式定义如下:

[code]body {text-align: center;}
#center { margin-right: auto; margin-left: auto; }

 

说明Q?br /> 首先在父U元素定义text-align: center;q个的意思就是在父元素内的内容居中Q对于ieq样讑֮已l可以了。但在mozilla中不能居中。解军_法就是在子元素定义时候设定时再加?#8220;margin-right: auto;margin-left: auto; ”
需要说明的是,如果你想用这个方法整个面要居中,不要套在一个div里,你可以依ơ拆出多个divQ只
要在每个拆出的div里定义margin-right: auto;margin-left: auto; 可以了?br /> 如何使图片在div 中垂直居?br />
用背景的Ҏ(gu)。D例:


body{background: url(http://www.w3cn.org/style/001/logo_w3cn_194x ... nbsp;no-repeat center;

 

关键是最后的center,q个参数定义囄的位|。还可以写成“top left”(左上?或?bottom right"{,也可以直接写数?50 30"

如何使文本在div中垂直居?br />
果是文字Q便不能用背景方法,可以用增高行距的办法变通实现垂直居中,完整代码如下Q?br />  

<html>
<head>
<style>
body{text-align: center;}
#center{ margin-right: auto;
margin-left: auto;
height:200px;
background:#f00;
width:400px;
vertical-align:middle;
line-height:200px;
}
</style>
</head>
<body>
<div id="center"><p>test content</p></div>
</body>
</html>
 

说明Q?br /> vertical-align:middle;表示行内垂直居中Q我们将行距增加到和整个div一样高line-height:200px;然后插入文字Q就垂直居中了?br /> css+div控制面中元素垂直居中代?nbsp;全局和区域垂直居?br />
<style type="text/css" media=screen>
body
{
text-align: center;
}
#a
{
width: 200px;
height: 400px;
background: #000;
}
#b
{
margin-top: expression((a.clientheight-50)/2);
width: 50px;
height: 50px;
background: #fff;
}
#c
{
position: absolute;
left: expression((body.clientwidth-50)/2);
top: expression((body.clientheight-50)/2);
width: 50px;
height: 50px;
background: #f00;
}
</style>
<div id="a">
<div id="b"></div>
</div>
<div id="c"></div>

另一Ҏ(gu):

<div style="background:blue;position:absolute;left:expression((body.clientwidth-50)/2);top:expression((body.clientheight-50)/2);width:50;height:50"></div>


]]>
DIV水^垂直居中http://www.aygfsteel.com/hwpok/archive/2008/01/29/178378.html惠万?/dc:creator>惠万?/author>Tue, 29 Jan 2008 08:13:00 GMThttp://www.aygfsteel.com/hwpok/archive/2008/01/29/178378.htmlhttp://www.aygfsteel.com/hwpok/comments/178378.htmlhttp://www.aygfsteel.com/hwpok/archive/2008/01/29/178378.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/178378.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/178378.html<style>
    body {padding: 0; margin: 0;}
    body,html{height: 100%;}
    #outer {height: 100%; overflow: hidden; position: relative;width: 100%; background:ivory;}
    #outer[id] {display: table; position: static;}
    #middle {position: absolute; top: 50%;} /* for explorer only*/
    #middle[id] {display: table-cell; vertical-align: middle; position: static;}
    #inner {position: relative; top: -50%;width: 400px;margin: 0 auto;} /* for explorer only */
    div.greenBorder {border: 1px solid green; background-color: ivory;}
</style>

<div id="outer">
  <div id="middle">
      <div id="inner" class="greenBorder">sdasdasdasdasdasd
      </div>
  </div>
</div>
思?DIV水^垂直居中的新Ҏ(gu)(不允许套table).



]]>
body 对?/title><link>http://www.aygfsteel.com/hwpok/archive/2008/01/14/175284.html</link><dc:creator>惠万?/dc:creator><author>惠万?/author><pubDate>Mon, 14 Jan 2008 11:32:00 GMT</pubDate><guid>http://www.aygfsteel.com/hwpok/archive/2008/01/14/175284.html</guid><wfw:comment>http://www.aygfsteel.com/hwpok/comments/175284.html</wfw:comment><comments>http://www.aygfsteel.com/hwpok/archive/2008/01/14/175284.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hwpok/comments/commentRss/175284.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hwpok/services/trackbacks/175284.html</trackback:ping><description><![CDATA[div在body之中居中<br /> <style type='text/css'><br />     body{<br />          text-alitn:center<br />         }<br />     #con{<br />          margin:0 auto;<br />          width:300px;<br />         } <br />  </style><br /> <br /> <body style="margin:0px;">...</body><br /> <img src ="http://www.aygfsteel.com/hwpok/aggbug/175284.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hwpok/" target="_blank">惠万?/a> 2008-01-14 19:32 <a href="http://www.aygfsteel.com/hwpok/archive/2008/01/14/175284.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>资源http://www.aygfsteel.com/hwpok/archive/2007/12/19/168835.html惠万?/dc:creator>惠万?/author>Wed, 19 Dec 2007 11:33:00 GMThttp://www.aygfsteel.com/hwpok/archive/2007/12/19/168835.htmlhttp://www.aygfsteel.com/hwpok/comments/168835.htmlhttp://www.aygfsteel.com/hwpok/archive/2007/12/19/168835.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/168835.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/168835.htmlORACLE常用|址
1、ORACLE官方|站Q这个应当大安该知道吧Q大家有I应当多ȝ看最新消?
www.oracle.com
以下是ORACLE中国|站
www.oracle.com/cn
官方|站衍生出来的网站就不少了,以下是Oracle技术网Q可以访问Oracle的论坛,下蝲代码与文档,也可以在q里免费注册一个用P下蝲ORACLE数据库?
http://otn.oracle.com
Oracle与Linux应当是最q的一个发展热题吧Q想要了解更多的信息吗?可以讉KOracle的Linux技术中?
http://oss.oracle.com
Metalink是个不错的地方,但是需要注册,而且不是免费的,需要品号
http://metalink.oracle.com
Oracle在线文档是个不错的地方,你可以找C需要的很多文档
http://tahiti.oracle.com
TomQ应当很多h都知道的了,那么Ask Tom是他用来回{常见问题的著名官方站点?
http://asktom.oracle.com
  
2、其实,说vOracleQ国外的站点一般要比国内的站点好,Z么呢Q主要就是一个信息的及时性,一般新东西在国外站点上马上可以找刎ͼ而到了国内,则可能需要在几个月之后了。以下则是几个国外的好的Oracle站点
q里|列大部分的Oracle常见问题Q还包括常用脚本与书c介l?
http://www.orafaq.com
看到q个{式Unix + Oracle = IxoraQ是不是很奇怪啊Q那你可以去q个站点看看Q特别是喜欢内部研究的朋友,真的不错?
http://www.ixora.com.au
说到内部研究Q很多朋友都会很感兴,那么q大家再介l一个非常好的内部研I的站点Q也不大?
http://www.juliandyke.com
有些朋友觉得内部研究才是高手的体玎ͼ其实不尽Ӟ只要把管理,备䆾与恢复,优化做的不错Q其实也是高手了,内部研究仅仅是一个辅助工兯已。好了,个h的发展是自己军_的,下面再推荐一个好的网站,q里可以看到很多Oracle的版本之间的新特性,也包括很多脚本,当然也可以见到Burleson大师Q虽然他的口不怎么好?
http://www.idevelopment.info
说到oracle的安装与LinuxQ倒是真有一个好地方Q不仅有Redhat的大量介l,q有我们很很兛_的Oracle 9i在各个Linux版本上的安装
http://www.puschitz.com
其它的国外站点虽然也很多Q但是去的也少了,好了Q还l大家推荐一?
http://www.dbasupport.com
  
3、国内站点其实也有不好地方Q加上很多同?yu)看C文的感觉好一些,毕竟Q还是母语好啊。我其实有一些想法,是希望国内的Oracle专家门能多翻译或多ȝ一些最新的资料Q让国内与国外的差距能小一些?
说v国内站点Q大部初学者都应当知道Oracle技术网吧,虽然东西老点Q入门还是可以的Q我当初也从q里走过?
http://www.oradb.net
国内新v的Oracle站点也不,不过一般不仅仅是OracleQ还有OSQ如聚贤庄,名字q是挺好听的
http://www.ncn.cn
另外一个就叫GoodDba了,与聚贤庄感觉性质怼?
http://www.goodba.net/oracle
最后,l大家插入一个数据仓库的站点Q很不错
http://www.dwway.com
  
4、说赯坛呢Q还是感觉国内的好了Q这个可能与本h英文写作水^有关p,呵呵?
首先要说的就是国内Oracle的最大论坛Itpub了,人气一直也是最好的Q虽然有时候有Ҏ(gu)Q但大家都喜Ƣ他Q特别是大家的偶像Biti在那里?
http://www.itpub.net
其实呢,我还是喜Ƣ另一个地方,那就是中国oracle用户l,那里的高手更多,当然Qbiti,cp, RudolfLu可都是那里的大明星啊Q呵?
http://www.cnoug.org
当然Q也不要忘了中国Oracle官方论坛Q毕竟是官方的,只是人气不好而已?
[url]http://211.99.196.144090[/url]
很多Z知道Chinaunix吧,其实那里也有一个Oracle论坛Q但是我ȝ?
http://www.chinaunix.net
很多人都知道CSDN吧,那里也有Oracle论坛Q不q那里主要是开发问题,如果你的开发多Q可以去那里瞧瞧哦?
http://expert.csdn.net/expert/forum.asp
虽然我说论坛是国内的好,q是l大家补充一个国外的论坛吧。当Ӟq个论坛是什么数据库都有的了
http://dbforums.com
  
5、最后,说说功能强大的Google与Google新闻l,遇到问题的时候,很多人喜Ƣ到论坛上问Q其实,你知道在论坛上搜索一下,或者来到这里,输入你想要找的东西,然后搜烦Q我怿Q很多时候你都可以找C的答案?
http://www.google.com
http://groups.google.com



//书籍下蝲
http://www.itepub.net/html/ebookcn/2007/0427/42641.html

]]>
|页--自动跌{http://www.aygfsteel.com/hwpok/archive/2007/11/21/162023.html惠万?/dc:creator>惠万?/author>Wed, 21 Nov 2007 02:25:00 GMThttp://www.aygfsteel.com/hwpok/archive/2007/11/21/162023.htmlhttp://www.aygfsteel.com/hwpok/comments/162023.htmlhttp://www.aygfsteel.com/hwpok/archive/2007/11/21/162023.html#Feedback0http://www.aygfsteel.com/hwpok/comments/commentRss/162023.htmlhttp://www.aygfsteel.com/hwpok/services/trackbacks/162023.html

]]>
վ֩ģ壺 ˮ| ʼ| | | ֹ| | | | | | | | ɽ| | | ʦ| | | | | żҽ| | | | | | | ֣| | ƽ| | ī| | | | | ̩| Ӣɳ| ɽ| ۶| ɽ|