<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[PlayFort的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/PlayFort</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; PlayFort]]></copyright><item><title><![CDATA[js null vs undefined]]></title><link>https://blog.csdn.net/PlayFort/article/details/84047126</link><guid>https://blog.csdn.net/PlayFort/article/details/84047126</guid><author>PlayFort</author><pubDate>Thu, 13 Oct 2011 17:25:27 +0800</pubDate><description><![CDATA[[size=medium]null :表示无值或者尚未存在的對象
   或者對象類型的變量的初值。obj.getattribute(&quot;attrName&quot;) 如不存在此屬性返回對象類型的值。
   
undefined : 表示一个未声明的变量，
                或已声明但没有赋值的变量，
                或一个并不存在的对象属性,
           ...]]></description><category></category></item><item><title><![CDATA[js 正则]]></title><link>https://blog.csdn.net/PlayFort/article/details/84011661</link><guid>https://blog.csdn.net/PlayFort/article/details/84011661</guid><author>PlayFort</author><pubDate>Fri, 02 Sep 2011 11:38:16 +0800</pubDate><description><![CDATA[正则表达式
// checks only hh:ss (and optional am/pm)
var re = /^(\d{1,2}):(\d{2})([ap]m)?$/


检测时间 ([0-1]?[0-9]|2[0-3]):([0-5][0-9]) 

 以下是备忘:

1.检查日期:
(1[0-2]|0?[1-9])[-./](0?[1-9]|[12][0-9]|3[0...]]></description><category></category></item><item><title><![CDATA[js event]]></title><link>https://blog.csdn.net/PlayFort/article/details/83955173</link><guid>https://blog.csdn.net/PlayFort/article/details/83955173</guid><author>PlayFort</author><pubDate>Sun, 03 Jul 2011 16:37:25 +0800</pubDate><description><![CDATA[javascript阻止事件冒泡和浏览器的默认行为 
*--------------------------- 
功能:停止事件冒泡 
---------------------------*/ 
function stopBubble(e) { 
//如果提供了事件对象，则这是一个非IE浏览器 
if ( e &amp;&amp; e.stopPropagation ) 
//因此它支持W3C的s...]]></description><category></category></item><item><title><![CDATA[编程方式注册bean声明]]></title><link>https://blog.csdn.net/PlayFort/article/details/83936529</link><guid>https://blog.csdn.net/PlayFort/article/details/83936529</guid><author>PlayFort</author><pubDate>Thu, 26 May 2011 16:29:24 +0800</pubDate><description><![CDATA[使用Spring提供的
org.springframework.beans.support.RootBeanDefinition类和org.springframework.beans.MutablePropertyValues类协作装载bean声明

对于属性的设置，使用MutablePropertyValues
将属性注入Bean，使用RootBeanDefinition
注册Bean...]]></description><category></category></item><item><title><![CDATA[spring 载入所有同类型的bean]]></title><link>https://blog.csdn.net/PlayFort/article/details/83936442</link><guid>https://blog.csdn.net/PlayFort/article/details/83936442</guid><author>PlayFort</author><pubDate>Thu, 26 May 2011 14:55:24 +0800</pubDate><description><![CDATA[ListableBeanFactory
的getBeansOfType()方法，该方法返回一个Map类型的实例，Map中的key为Bean的名，key对应的内容为Bean的实例。
]]></description><category></category></item><item><title><![CDATA[spring加载配置文件]]></title><link>https://blog.csdn.net/PlayFort/article/details/83936418</link><guid>https://blog.csdn.net/PlayFort/article/details/83936418</guid><author>PlayFort</author><pubDate>Thu, 26 May 2011 14:32:21 +0800</pubDate><description><![CDATA[1.ClassPathXmlApplicationContext  以类路径为开始
bean.xml放到classes目录下面比如如果在classes/com/ bean.xml下，则配置是要采用ClassPathXmlApplicationContext(&quot;com/ bean.xml&quot;),在web.Xml中可以采用这种方式:
 
        contextConfigLocation ...]]></description><category></category></item><item><title><![CDATA[如何加载多个配置文件]]></title><link>https://blog.csdn.net/PlayFort/article/details/83936395</link><guid>https://blog.csdn.net/PlayFort/article/details/83936395</guid><author>PlayFort</author><pubDate>Thu, 26 May 2011 13:56:36 +0800</pubDate><description><![CDATA[使用[color=red]XmlBeanDefinitionReader[/color]来加载多个配置文件。

它需要使用一个实现了BeanDefinitionRegistry接口的实现类来作为构造参数，例如DefaultListableBeanFactory。


XmlBeanDefinitionReader(BeanDefinitionRegistry registry) 

...]]></description><category></category></item><item><title><![CDATA[表达式]]></title><link>https://blog.csdn.net/PlayFort/article/details/83882172</link><guid>https://blog.csdn.net/PlayFort/article/details/83882172</guid><author>PlayFort</author><pubDate>Thu, 31 Mar 2011 08:22:12 +0800</pubDate><description><![CDATA[1. {dede:field name='array' runphp='yes']@me=(@me['matt']==10?&quot;
			&quot;:&quot;&quot;);{/dede:field}
根据不同的matt显示不同的图片
2. 调用会员发布的最新10条文档 
{dede:sql sql=&quot;SELECT f.title,f.url,m.uname,m.id as uid 
FROM dede_archi...]]></description><category></category></item><item><title><![CDATA[a tag]]></title><link>https://blog.csdn.net/PlayFort/article/details/83876981</link><guid>https://blog.csdn.net/PlayFort/article/details/83876981</guid><author>PlayFort</author><pubDate>Wed, 23 Mar 2011 10:59:03 +0800</pubDate><description><![CDATA[1. 链接的 onclick 事件被先执行，其次是 href 属性下的动作（页面跳转，或 javascript 伪链接）； 
2. 假设链接中同时存在 href 与 onclick，如果想让 href 属性下的动作不执行，onclick 必须得到一个 false 的返回值。
3. 如果页面过长有滚动条，且希望通过链接的 onclick 事件执行操作。应将它的 href 属性设为 javascr...]]></description><category></category></item><item><title><![CDATA[keyboard event]]></title><link>https://blog.csdn.net/PlayFort/article/details/83874624</link><guid>https://blog.csdn.net/PlayFort/article/details/83874624</guid><author>PlayFort</author><pubDate>Sat, 19 Mar 2011 11:29:34 +0800</pubDate><description><![CDATA[js键盘事件全面控制 兼容FireFox和IE
主要分四个部分
第一部分：浏览器的按键事件
第二部分：兼容浏览器
第三部分：代码实现和优化
第四部分：总结

第一部分：浏览器的按键事件

用js实现键盘记录，要关注浏览器的三种按键事件类型，即keydown，keypress和keyup，它们分别对应onkeydown、 onkeypress和onkeyup这三个事件句柄。一个典型...]]></description><category></category></item><item><title><![CDATA[span width]]></title><link>https://blog.csdn.net/PlayFort/article/details/83873562</link><guid>https://blog.csdn.net/PlayFort/article/details/83873562</guid><author>PlayFort</author><pubDate>Thu, 17 Mar 2011 16:40:45 +0800</pubDate><description><![CDATA[关于span不能设置宽度的解决办法 
默认span的宽度是自适应内容的。

设置style的display:block;就OK了。

]]></description><category></category></item><item><title><![CDATA[jQuery Ajax]]></title><link>https://blog.csdn.net/PlayFort/article/details/83873472</link><guid>https://blog.csdn.net/PlayFort/article/details/83873472</guid><author>PlayFort</author><pubDate>Thu, 17 Mar 2011 15:15:53 +0800</pubDate><description><![CDATA[在jQuery中$.ajax()方法属于最底层的方法，
    第2层是laod()、$.get()和$.post()方法，
    第3层是$.getScript()和$.getJSON()方法。

load()方法是jQuery中最为简单和常用的Ajax方法，能载入远程HTML代码并插入到DOM中。它的语法结构为：

　　load( url [, data][, callback]...]]></description><category></category></item><item><title><![CDATA[parent vs parents]]></title><link>https://blog.csdn.net/PlayFort/article/details/83872048</link><guid>https://blog.csdn.net/PlayFort/article/details/83872048</guid><author>PlayFort</author><pubDate>Tue, 15 Mar 2011 15:58:03 +0800</pubDate><description><![CDATA[parent是指取得一个包含着所有匹配元素的唯一父元素的元素集合。
parents则是取得一个包含着所有匹配元素的祖先元素的元素集合（不包含根元素）。可以通过一个可选的表达式进行筛选。
可以看出parent取的很明确，就是当前元素的父元素；parents则是当前元素的祖先元素。下面列出例子说明：






$('p').parent()取到的是div2,div3,div4
$...]]></description><category></category></item><item><title><![CDATA[checkbox readonly ]]></title><link>https://blog.csdn.net/PlayFort/article/details/83871972</link><guid>https://blog.csdn.net/PlayFort/article/details/83871972</guid><author>PlayFort</author><pubDate>Tue, 15 Mar 2011 14:45:30 +0800</pubDate><description><![CDATA[checkbox没有readOnly属性，可以这样让它保持只读：
设置它的onclick=‘’return false“
js里就是 checkbox.onclick=function(){return false;};]]></description><category></category></item><item><title><![CDATA[字体的高度]]></title><link>https://blog.csdn.net/PlayFort/article/details/83849543</link><guid>https://blog.csdn.net/PlayFort/article/details/83849543</guid><author>PlayFort</author><pubDate>Fri, 04 Mar 2011 09:31:36 +0800</pubDate><description><![CDATA[public static void main(String[] args) {   
    Font f = new Font(&quot;宋体&quot;, Font.BOLD, 12);   
    FontMetrics fm = sun.font.FontDesignMetrics.getMetrics(f);   
    // 高度   
    System.out.println(fm....]]></description><category></category></item><item><title><![CDATA[报表输出及print]]></title><link>https://blog.csdn.net/PlayFort/article/details/83849093</link><guid>https://blog.csdn.net/PlayFort/article/details/83849093</guid><author>PlayFort</author><pubDate>Thu, 03 Mar 2011 14:20:01 +0800</pubDate><description><![CDATA[public abstract class ReportBaseAction extends ActionSupport {
	private static final long serialVersionUID = 190881665780129568L;

	protected List rptData;
	private String rtpFmt;
	protected Stri...]]></description><category></category></item><item><title><![CDATA[css单位]]></title><link>https://blog.csdn.net/PlayFort/article/details/83848193</link><guid>https://blog.csdn.net/PlayFort/article/details/83848193</guid><author>PlayFort</author><pubDate>Wed, 02 Mar 2011 11:08:57 +0800</pubDate><description><![CDATA[CSS相对长度单位(relative length unit)

CSS相对长度单位中的相对二字，表明了其长度单位会随着它的参考值的变化而变化，不是固定的。

以下是CSS相对长度单位列表：

CSS相对长度单位
说明

em     元素的字体高度The height of the element's font

ex     字母x的高度The height of the...]]></description><category></category></item><item><title><![CDATA[tag]]></title><link>https://blog.csdn.net/PlayFort/article/details/83843514</link><guid>https://blog.csdn.net/PlayFort/article/details/83843514</guid><author>PlayFort</author><pubDate>Tue, 22 Feb 2011 16:26:44 +0800</pubDate><description><![CDATA[1 网站变量标签
   {dede:global.cfg_webname/}
这就是网站的名字。（系统-系统设置-系统基本参数-网站名称这一项里我们就能够清楚看到这个变量名称。）

他的链接地址是{dede:global.cfg_basehost/}同样是一个变量标签也是主页的位置
2 向导rlink

这部分是指：会员中心、TAG标签、网站地图、等。。。

这一部分也比较简单，...]]></description><category></category></item><item><title><![CDATA[tag]]></title><link>https://blog.csdn.net/PlayFort/article/details/83843352</link><guid>https://blog.csdn.net/PlayFort/article/details/83843352</guid><author>PlayFort</author><pubDate>Tue, 22 Feb 2011 13:48:37 +0800</pubDate><description><![CDATA[1. Arclist 标记】  
　　这个标记是DedeCms最常用的一个标记，也叫自由列表标记，其中 hotart、coolart、likeart、artlist、imglist、imginfolist、specart、autolist 这些标记都是由这个标记所定义的不同属性延伸出来的别名标记。 
功能说明：获取指定的文档列表  
适用范围：封面模板、列表模板、文档模板 
基本语法：
...]]></description><category></category></item><item><title><![CDATA[根据内容自动调整行高]]></title><link>https://blog.csdn.net/PlayFort/article/details/83842691</link><guid>https://blog.csdn.net/PlayFort/article/details/83842691</guid><author>PlayFort</author><pubDate>Mon, 21 Feb 2011 11:45:54 +0800</pubDate><description><![CDATA[主要是通过以下几个元素实现：

1.Stretch with overflow 针对TextFileld

2.Stretch Type：relative to tallest object/relative to band height

3.Position type:Float/Fix relative to top/Fix relative to bottom

4.ele...]]></description><category></category></item></channel></rss>