??xml version="1.0" encoding="utf-8" standalone="yes"?>天堂电影在线,国产成人影院,国产乱码精品一区二区三区四区 http://www.aygfsteel.com/chenlb/category/17118.html好记性不如烂W头!
<div style="position:relative;width:468px;left:160px;top:40px;">
<div style="position:absolute;width:468px;bottom:0px;"></div>
</div>
<div></div> zh-cn Wed, 24 Feb 2010 22:32:06 GMT Wed, 24 Feb 2010 22:32:06 GMT 60 css 实现鼠标Ud上面背景变色 http://www.aygfsteel.com/chenlb/archive/2010/02/24/313836.html浪?/dc:creator>浪?/author>Wed, 24 Feb 2010 14:10:00 GMT http://www.aygfsteel.com/chenlb/archive/2010/02/24/313836.html http://www.aygfsteel.com/chenlb/comments/313836.html http://www.aygfsteel.com/chenlb/archive/2010/02/24/313836.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/313836.html http://www.aygfsteel.com/chenlb/services/trackbacks/313836.html
.vbox div:hover { background : #ddd ; }
据说 IE6.0、Firefox2.0、Opera 9.23都不支持
]]> css 标签 a ?hover 是否有效与出现的序有关 http://www.aygfsteel.com/chenlb/archive/2010/02/24/313834.html浪?/dc:creator>浪?/author>Wed, 24 Feb 2010 14:04:00 GMT http://www.aygfsteel.com/chenlb/archive/2010/02/24/313834.html http://www.aygfsteel.com/chenlb/comments/313834.html http://www.aygfsteel.com/chenlb/archive/2010/02/24/313834.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/313834.html http://www.aygfsteel.com/chenlb/services/trackbacks/313834.html
css ?br />
a:hover { text-decoration : underline ; }
a:link { text-decoration : none ; }
a:visited { text-decoration : none ; }
是没有达到鼠标称C面有划线?br />
必须改ؓ(f)Q?br />
a:link { text-decoration : none ; }
a:visited { text-decoration : none ; }
a:hover { text-decoration : underline ; }
a:hover 攑ֈ最后?br />
]]> 试用 code highlight (SyntaxHighlighter) http://www.aygfsteel.com/chenlb/archive/2008/09/05/227065.html浪?/dc:creator>浪?/author>Thu, 04 Sep 2008 16:26:00 GMT http://www.aygfsteel.com/chenlb/archive/2008/09/05/227065.html http://www.aygfsteel.com/chenlb/comments/227065.html http://www.aygfsteel.com/chenlb/archive/2008/09/05/227065.html#Feedback 2 http://www.aygfsteel.com/chenlb/comments/commentRss/227065.html http://www.aygfsteel.com/chenlb/services/trackbacks/227065.html Unmi的博?/a>Q他的代码好漂亮Q看源码Q知道shCoreQ把他的拿过来试用下?java 代码
java 代码
groovy 代码
]]> xml 转义W?/title> http://www.aygfsteel.com/chenlb/archive/2008/08/06/220411.html浪?/dc:creator>浪?/author>Wed, 06 Aug 2008 04:40:00 GMT http://www.aygfsteel.com/chenlb/archive/2008/08/06/220411.html http://www.aygfsteel.com/chenlb/comments/220411.html http://www.aygfsteel.com/chenlb/archive/2008/08/06/220411.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/220411.html http://www.aygfsteel.com/chenlb/services/trackbacks/220411.html
<
<
>
>
&
&
"
"
'
'
xml没有
]]> javascript 不停(setInterval)/延时(setTimeout)函数 http://www.aygfsteel.com/chenlb/archive/2008/07/10/214117.html浪?/dc:creator>浪?/author>Thu, 10 Jul 2008 13:36:00 GMT http://www.aygfsteel.com/chenlb/archive/2008/07/10/214117.html http://www.aygfsteel.com/chenlb/comments/214117.html http://www.aygfsteel.com/chenlb/archive/2008/07/10/214117.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/214117.html http://www.aygfsteel.com/chenlb/services/trackbacks/214117.html
setInterval(script,millisecond); 是每隔多微U运行一ơ代?br />
CZ:
1.执行一?br />
< span id ="time" ></ span > U?br />
< script type ="text/javascript" >
var i = 1 ;
var txt = document.getElementById( " time " );
function addT(i) {
txt.innerHTML = i;
}
setTimeout(" addT(i++) " , 1000 );
</ script >
2.复制执行
< span id ="time" > 3 </ span > U?br />
< script type ="text/javascript" >
var i = 1 ;
var txt = document.getElementById( " time " );
function addT(i) {
txt.innerHTML = i;
}
setInterval( " addT(i++) " , 1000 );
</ script >
setTimeout也可以做成重复执?br />
< span id ="time" ></ span > U?br />
< script type ="text/javascript" >
var i = 1 ;
var txt = document.getElementById( " time " );
function addT(i) {
txt.innerHTML = i;
setTimeout( " addT(i++) " , 1000 );
}
addT(i);
</ script >
]]> Javascript XSLT 处理XML文g(IE and Firefox) http://www.aygfsteel.com/chenlb/archive/2008/05/18/201281.html浪?/dc:creator>浪?/author>Sun, 18 May 2008 11:02:00 GMT http://www.aygfsteel.com/chenlb/archive/2008/05/18/201281.html http://www.aygfsteel.com/chenlb/comments/201281.html http://www.aygfsteel.com/chenlb/archive/2008/05/18/201281.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/201281.html http://www.aygfsteel.com/chenlb/services/trackbacks/201281.html
参考:(x)
w3school XSLT - 客户?http://www.w3school.com.cn/xsl/xsl_client.asp
如何使用Javascript XSLT 处理XML文g http://java.chinaitlab.com/advance/533787.html
1.xml文gQcdcatalog.xml
<? xml version="1.0" encoding="ISO-8859-1" ?>
<!-- Edited with XML Spy v2007 (http://www.altova.com) -->
< catalog >
< cd >
< title > Empire Burlesque </ title >
< artist > Bob Dylan </ artist >
< country > USA </ country >
< company > Columbia </ company >
< price > 10.90 </ price >
< year > 1985 </ year >
</ cd >
< cd >
< title > Hide your heart </ title >
< artist > Bonnie Tyler </ artist >
< country > UK </ country >
< company > CBS Records </ company >
< price > 9.90 </ price >
< year > 1988 </ year >
</ cd >
</ catalog >
2.xsl文gQcdcatalog.xsl
<? xml version="1.0" encoding="ISO-8859-1" ?>
<!-- Edited with XML Spy v2007 (http://www.altova.com) -->
< xsl:stylesheet version ="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
< xsl:output method ='html' version ='1.0' encoding ='UTF-8' indent ='yes'/>
<xsl:template match ="/" >
< html >
< body >
< h2 > My CD Collection </ h2 >
< table border ="1" >
< tr bgcolor ="#9acd32" >
< th align ="left" > Title </ th >
< th align ="left" > Artist </ th >
</ tr >
< xsl:for-each select ="catalog/cd" >
< tr >
< td >< xsl:value-of select ="title" /></ td >
< td >< xsl:value-of select ="artist" /></ td >
</ tr >
</ xsl:for-each >
</ table >
</ body >
</ html >
</ xsl:template >
</ xsl:stylesheet >
3.html文gQindex.html
< html >
< body >
< script type ="text/javascript" >
var xml;
var xsl;
if ( typeof window.ActiveXObject != 'undefined') {
xml = new ActiveXObject( " Microsoft.XMLDOM " );
xsl = new ActiveXObject( " Microsoft.XMLDOM " );
} else if (document.implementation && document.implementation.createDocument) { // mozilla
xml = document.implementation.createDocument( "" , "" , null );
xsl = document.implementation.createDocument( "" , "" , null );
}
// Load XML
xml.async = false ;
xml.load( " cdcatalog.xml " );
// Load XSL
xsl.async = false ;
xsl.load( " cdcatalog.xsl " );
// Transform
if ( typeof window.ActiveXObject != 'undefined') {
document.write(xml.transformNode(xsl));
} else if (document.implementation && document.implementation.createDocument) { // mozilla
var xsltProcessor = new XSLTProcessor();
xsltProcessor.importStylesheet(xsl);
// transformToDocument方式
var result = xsltProcessor.transformToDocument(xml);
var xmls = new XMLSerializer();
document.write(xmls.serializeToString(result));
}
</ script >
</ body >
</ html >
]]> 鼠标指向囄变手?/title> http://www.aygfsteel.com/chenlb/archive/2008/03/16/186604.html浪?/dc:creator>浪?/author>Sun, 16 Mar 2008 04:56:00 GMT http://www.aygfsteel.com/chenlb/archive/2008/03/16/186604.html http://www.aygfsteel.com/chenlb/comments/186604.html http://www.aygfsteel.com/chenlb/archive/2008/03/16/186604.html#Feedback 2 http://www.aygfsteel.com/chenlb/comments/commentRss/186604.html http://www.aygfsteel.com/chenlb/services/trackbacks/186604.html ]]> 面内图像比例自适应 http://www.aygfsteel.com/chenlb/archive/2008/03/16/186600.html浪?/dc:creator>浪?/author>Sun, 16 Mar 2008 04:43:00 GMT http://www.aygfsteel.com/chenlb/archive/2008/03/16/186600.html http://www.aygfsteel.com/chenlb/comments/186600.html http://www.aygfsteel.com/chenlb/archive/2008/03/16/186600.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/186600.html http://www.aygfsteel.com/chenlb/services/trackbacks/186600.html
有DrawImage(ImgD, width, height) 调整囑փ比例的javascript函数?br />
< script language ="javascript" >
<!--
var flag = false ;
function DrawImage(ImgD, width, height){
var image = new Image();
var iwidth = width;
var iheight = height;
image.src = ImgD.src;
if (image.width > 0 && image.height > 0 ){
flag = true ;
if (image.width / image.height >= iwidth / iheight){
if (image.width > iwidth){
ImgD.width = iwidth;
ImgD.height = (image.height * iwidth) / image.width;
} else {
ImgD.width = image.width;
ImgD.height = image.height;
}
ImgD.alt = image.width + "" + image.height;
}
else {
if (image.height > iheight){
ImgD.height = iheight;
ImgD.width = (image.width * iheight) / image.height;
} else {
ImgD.width = image.width;
ImgD.height = image.height;
}
ImgD.alt = image.width + "" + image.height;
}
}
}
// -->
</ script >
< style type ="text/css" >
.pic_size { border : 1px solid #CCCCCC ; width : 240px ; height : 200px ; margin-top : 5px ; background : #FFF ; }
</ style >
< div class ="pic_size" >< table width ="100%" height ="100%" >< tr >< td style ="text-align: center;vertical-align: middle;" >< img src ="my.jpg" onload = "DrawImage(this,240,200)" ></ td ></ tr ></ table ></ div >
]]> 地址拦有|站logo http://www.aygfsteel.com/chenlb/archive/2008/03/16/186594.html浪?/dc:creator>浪?/author>Sun, 16 Mar 2008 04:32:00 GMT http://www.aygfsteel.com/chenlb/archive/2008/03/16/186594.html http://www.aygfsteel.com/chenlb/comments/186594.html http://www.aygfsteel.com/chenlb/archive/2008/03/16/186594.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/186594.html http://www.aygfsteel.com/chenlb/services/trackbacks/186594.html
< link rel ="shortcut icon" href ="/images/my.ico" type ="image/x-icon" />
]]> javascript 打印 http://www.aygfsteel.com/chenlb/archive/2007/11/18/161467.html浪?/dc:creator>浪?/author>Sun, 18 Nov 2007 14:53:00 GMT http://www.aygfsteel.com/chenlb/archive/2007/11/18/161467.html http://www.aygfsteel.com/chenlb/comments/161467.html http://www.aygfsteel.com/chenlb/archive/2007/11/18/161467.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/161467.html http://www.aygfsteel.com/chenlb/services/trackbacks/161467.html 一、WebBrowser控g
<object ID='WebBrowser' WIDTH=0 HEIGHT=0 CLASSID='CLSID:8856F961-340A-11D0-A96B-00C04FD705A2'></object>
二、WebBrowder控g的方?
//打印
WebBrowser1.ExecWB(6,1);
//打印讄
WebBrowser1.ExecWB(8,1);
//打印预览
WebBrowser1.ExecWB(7,1);
关于q个lgq有其他的用法,列D如下Q?
WebBrowser.ExecWB(1,1) 打开
Web.ExecWB(2,1) 关闭现在所有的IEH口Qƈ打开一个新H口
Web.ExecWB(4,1) 保存|页
Web.ExecWB(6,1) 打印
Web.ExecWB(7,1) 打印预览
Web.ExecWB(8,1) 打印面讄
Web.ExecWB(10,1) 查看面属?
Web.ExecWB(15,1) 好像是撤销Q有待确?
Web.ExecWB(17,1) 全?
Web.ExecWB(22,1) h
Web.ExecWB(45,1) 关闭H体无提C?
但是打印是会(x)把整个页面都打印出来?面里面有什么东西就打印出来,我们有时候只需要打印数据表?q时我们p写一个样式了(jin):把不x印的部䆾隐藏hQ?br />
样式内容Q?br />
<style type="text/css" media=print>
.noprint{display : none }
</style>
然后使用样式可以:(x)
<p class="noprint">不需要打印的地方</p>
-----以上转蝲: http://blog.csdn.net/minjunyu/archive/2007/07/08/1682757.aspx-------------------
CZ代码Q?br />
< HTML >< HEAD >< TITLE > javascript打印-打印面讄-打印预览代码 </ TITLE >
< META http-equiv =Content-Type content ="text/html; charset=gb2312" />
< SCRIPT language =javascript >
function printsetup(){
// 打印面讄
wb.execwb( 8 , 1 );
}
function printpreview(){
// 打印面预览
wb.execwb( 7 , 1 );
}
function printit()
{
if (confirm('定打印吗?')) {
wb.execwb( 6 , 6 )
}
}
</ SCRIPT >
< style type ="text/css" media =print >
.noprint{ display : none }
</ style >
</ HEAD >
< BODY >
< DIV align =center >
< OBJECT id =wb height =0 width =0
classid =CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 name =wb ></ OBJECT >
net.blogjava.chenlb do print 中文 ^_^
< p class ="noprint" >
< INPUT onclick =javascript:printit() type =button value =打印 name =button_print />
< INPUT onclick =javascript:printsetup(); type =button value =打印面讄 name =button_setup />
< INPUT onclick =javascript:printpreview(); type =button value =打印预览 name =button_show />
</ p >
</ DIV >
</ BODY >
</ HTML >
]]>javascript url ~码(UTF-8) jsp 解码 http://www.aygfsteel.com/chenlb/archive/2007/10/13/152638.html浪?/dc:creator>浪?/author>Sat, 13 Oct 2007 13:27:00 GMT http://www.aygfsteel.com/chenlb/archive/2007/10/13/152638.html http://www.aygfsteel.com/chenlb/comments/152638.html http://www.aygfsteel.com/chenlb/archive/2007/10/13/152638.html#Feedback 5 http://www.aygfsteel.com/chenlb/comments/commentRss/152638.html http://www.aygfsteel.com/chenlb/services/trackbacks/152638.html
< script language = " JavaScript " >
document.write(encodeURI('http:// www.aygfsteel.com/chenlb/abc 中文'));
</ script >
2.
decode.jsp
/*
* <script language="JavaScript">
* document.write(encodeURI('http://www.aygfsteel.com/chenlb/abc 中文'));
* </script>
*/
String url = " http://www.aygfsteel.com/chenlb/abc%20%E4%B8%AD%E6%96%87 " ;
try {
System.out.println(URLDecoder.decode(url, " UTF-8 " ));
System.out.println(URLDecoder.decode(url, " GBK " )); // q
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
]]> javascript不能处理跨域的iframe http://www.aygfsteel.com/chenlb/archive/2007/09/24/147888.html浪?/dc:creator>浪?/author>Mon, 24 Sep 2007 12:34:00 GMT http://www.aygfsteel.com/chenlb/archive/2007/09/24/147888.html http://www.aygfsteel.com/chenlb/comments/147888.html http://www.aygfsteel.com/chenlb/archive/2007/09/24/147888.html#Feedback 1 http://www.aygfsteel.com/chenlb/comments/commentRss/147888.html http://www.aygfsteel.com/chenlb/services/trackbacks/147888.html 今天看了(jin)javascript的书Q突然有Ҏ(gu)法,javascript处理iframe中网,一开始,遇到引用iframe问题Q如Qa.htm里有iframe为subpage.htmQ在a.htm引用iframe里的文档(卻I(x)subpage.htm)。方法如下:(x)
1.
var targetDoc = window.parent.frames['targetIframe'].document;
2.
var targetDoc = document.getElementById('targetIframe').contentWindow.document;
解决引用问题后,src为其它网|双拒l访问,郁闷Qbaidu下才得知是跨域不用被javascript处理。郁Px又能实现?jin)。不知谁有好的徏议。^_^
我想要的效果是:(x)自己的网늚一个区可以昄其它|页Q这个很重要Q显C效果就像真的在览器里Q被昄的网|Uͼ(x)subpageQ,然后javascript处理下subpageQ得实现想要的效果Q比如:(x)点subpage里链接时alert()Z些内容,{?
]]> 整数或小数正则表辑ּ问题(javascript) http://www.aygfsteel.com/chenlb/archive/2007/08/27/139938.html浪?/dc:creator>浪?/author>Mon, 27 Aug 2007 06:56:00 GMT http://www.aygfsteel.com/chenlb/archive/2007/08/27/139938.html http://www.aygfsteel.com/chenlb/comments/139938.html http://www.aygfsteel.com/chenlb/archive/2007/08/27/139938.html#Feedback 3 http://www.aygfsteel.com/chenlb/comments/commentRss/139938.html http://www.aygfsteel.com/chenlb/services/trackbacks/139938.html
^ ( +| \ - ) ? \d + (.\d + ) ? $
报错Q说数量词错误?br />
然后改用Q?br />
^ [ + \ - ] ? \d + (.\d + ) ? $
p?jin),^_^
]]> HTML 文档声明佉K标提C变?/title> http://www.aygfsteel.com/chenlb/archive/2007/08/07/135087.html浪?/dc:creator>浪?/author>Tue, 07 Aug 2007 14:23:00 GMT http://www.aygfsteel.com/chenlb/archive/2007/08/07/135087.html http://www.aygfsteel.com/chenlb/comments/135087.html http://www.aygfsteel.com/chenlb/archive/2007/08/07/135087.html#Feedback 0 http://www.aygfsteel.com/chenlb/comments/commentRss/135087.html http://www.aygfsteel.com/chenlb/services/trackbacks/135087.html HTML的文档声明让费?jin)一个小?Q我用一|上扑ֈ鼠标提示Q^常用的好的,今天在一个N久前创徏的HTML文g里加个鼠标提C,提示的样子变?jin)。跟IE的错误提C,老是看它的提CZ码,有没有可以改q的。最后没折了(jin)Q删除了(jin)文档声明。就行了(jin)。真是郁闗以前也个输入框也变样了(jin)Q删除文档声明就行了(jin)。文档声明对鼠标提示也有效,郁闷Q郁闗。。浪费了(jin)一个小?br> 下面的文档声明是Dreamweaver8生成的?br> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns=" ]]>
վ֩ģ壺
|
ɽ |
|
|
|
|
|
|
ʵ |
|
|
ʯȪ |
ګ |
Ʊ |
|
ɽ |
̨ǰ |
ó |
|
ҽ |
|
|
|
Ȫ |
|
Т |
п |
|
|
|
|
żҿ |
Ҧ |
|
|
ɽ |
|
Ƽ |
ͬ |
|
|