<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>标点符 &#187; JavaScript</title>
	<atom:link href="http://www.biaodianfu.com/category/web-design/designer-developer-frontend/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.biaodianfu.com</link>
	<description>编译自己的互联网生活</description>
	<lastBuildDate>Thu, 29 Jul 2010 04:58:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>nyroModal：强大的jQuery弹出层插件</title>
		<link>http://www.biaodianfu.com/nyromodal.html</link>
		<comments>http://www.biaodianfu.com/nyromodal.html#comments</comments>
		<pubDate>Sun, 23 May 2010 03:05:40 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=2149</guid>
		<description><![CDATA[nyromodal调用非常简单，只需在链接上加上class=&#8221;nyroModal&#8221;即可。 支持模拟对话框类型： ajax调用： &#60;a href=&#8221;http://nyromodal.nyrodev.com/demoSent.php&#8221; class=&#8221;nyroModal&#8221;&#62;Ajax&#60;/a&#62; ajax调用并支持抽取制定内容： 如果只需要显示页面上某一个元素，那么只需要在请求时把该元素ID号做为锚点加入请求地址中。以下代码只显示demoSent.php中ID号为UserInfo的元素，如果UserInfo不存在，则显示所有内容。 &#60;a href=&#8221;http://nyromodal.nyrodev.com/demoSent.php#UserInfo&#8221; class=&#8221;nyroModal&#8221;&#62;Ajax&#60;/a&#62; 单张图片显示（会自动缩放图片大小） &#60;a href=&#8221;http://nyromodal.nyrodev.com/img/img2.jpg&#8221; class=&#8221;nyroModal&#8221; title=&#8221;3rd Street Promenade&#8221;&#62;Image&#60;/a&#62; 具体使用方法，请看官方网站的实例。 官方网址：http://nyromodal.nyrodev.com/]]></description>
			<content:encoded><![CDATA[<p>nyromodal调用非常简单，只需在链接上加上class=&#8221;nyroModal&#8221;即可。</p>
<p>支持模拟对话框类型：</p>
<p><strong>ajax调用：</strong></p>
<p>&lt;a href=&#8221;http://nyromodal.nyrodev.com/demoSent.php&#8221; class=&#8221;nyroModal&#8221;&gt;Ajax&lt;/a&gt;</p>
<p><strong>ajax调用并支持抽取制定内容：</strong></p>
<p>如果只需要显示页面上某一个元素，那么只需要在请求时把该元素ID号做为锚点加入请求地址中。以下代码只显示demoSent.php中ID号为UserInfo的元素，如果UserInfo不存在，则显示所有内容。</p>
<p>&lt;a href=&#8221;http://nyromodal.nyrodev.com/demoSent.php#UserInfo&#8221; class=&#8221;nyroModal&#8221;&gt;Ajax&lt;/a&gt;</p>
<p><strong>单张图片显示（会自动缩放图片大小）</strong></p>
<p>&lt;a href=&#8221;http://nyromodal.nyrodev.com/img/img2.jpg&#8221; class=&#8221;nyroModal&#8221; title=&#8221;3rd Street Promenade&#8221;&gt;Image&lt;/a&gt;</p>
<p>具体使用方法，请看官方网站的实例。</p>
<p>官方网址：http://nyromodal.nyrodev.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/nyromodal.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery.Switchable一款Tabs、Slide、Scrollable整合插件</title>
		<link>http://www.biaodianfu.com/jquery-switchable.html</link>
		<comments>http://www.biaodianfu.com/jquery-switchable.html#comments</comments>
		<pubDate>Thu, 18 Mar 2010 15:37:17 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1943</guid>
		<description><![CDATA[jQuery.Switchable是一款整合了Tabs、Slide、Scrollable等常见UI组件的jQuery插件。  jQuery.Switchable能实现的功能有： 1.TAB切换功能 2.Slide幻灯片功能 3.Scrollable跑马灯 官方网址：http://ilikejquery.com/switchable/ 下载地址：http://code.google.com/p/mrzhang/downloads/list 演示地址：http://www.taobao.com]]></description>
			<content:encoded><![CDATA[<p><strong>jQuery.Switchable</strong>是一款整合了Tabs、Slide、Scrollable等常见UI组件的jQuery插件。</p>
<p> jQuery.Switchable能实现的功能有：</p>
<p>1.TAB切换功能</p>
<p><img class="alignnone size-full wp-image-1944" title="tabs" src="http://www.biaodianfu.com/wp-content/uploads/2010/03/tabs.png" alt="" width="357" height="91" /></p>
<p>2.Slide幻灯片功能</p>
<p><img class="alignnone size-full wp-image-1945" title="slide" src="http://www.biaodianfu.com/wp-content/uploads/2010/03/slide.png" alt="" width="472" height="157" /></p>
<p>3.Scrollable跑马灯</p>
<p><img class="alignnone size-full wp-image-1946" title="Scrollable" src="http://www.biaodianfu.com/wp-content/uploads/2010/03/Scrollable.png" alt="" width="423" height="104" /></p>
<p>官方网址：<a href="http://ilikejquery.com/switchable/">http://ilikejquery.com/switchable/</a></p>
<p>下载地址：<a href="http://code.google.com/p/mrzhang/downloads/list">http://code.google.com/p/mrzhang/downloads/list</a></p>
<p>演示地址：<a href="http://www.taobao.com">http://www.taobao.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/jquery-switchable.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery EasyInsert 插件，迅速添加表单</title>
		<link>http://www.biaodianfu.com/jquery-easyinsert.html</link>
		<comments>http://www.biaodianfu.com/jquery-easyinsert.html#comments</comments>
		<pubDate>Thu, 18 Mar 2010 00:11:37 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1940</guid>
		<description><![CDATA[插件主要功能：自动添加删除单个文本输入框或多个文本输入框，限制输入框数量，可以添加删除文本域、密码域、多选框、文件上传域及关联下拉菜单。 官方网站（演示）：http://ilikejquery.com/EasyInsert/ 插件下载地址：http://mrzhang.googlecode.com/files/EasyInsert-4.0.7z]]></description>
			<content:encoded><![CDATA[<p>插件主要功能：自动添加删除单个文本输入框或多个文本输入框，限制输入框数量，可以添加删除文本域、密码域、多选框、文件上传域及关联下拉菜单。</p>
<p><img class="alignnone size-full wp-image-1941" title="EasyInsert" src="http://www.biaodianfu.com/wp-content/uploads/2010/03/EasyInsert.png" alt="" width="552" height="475" /></p>
<p>官方网站（演示）：<a href="http://ilikejquery.com/EasyInsert/">http://ilikejquery.com/EasyInsert/</a></p>
<p>插件下载地址：<a href="http://mrzhang.googlecode.com/files/EasyInsert-4.0.7z" target="_blank">http://mrzhang.googlecode.com/files/EasyInsert-4.0.7z</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/jquery-easyinsert.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery边框圆角插件：DivCorners</title>
		<link>http://www.biaodianfu.com/divcorners.html</link>
		<comments>http://www.biaodianfu.com/divcorners.html#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:52:55 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1875</guid>
		<description><![CDATA[什么是 DivCorners? 这个插件的主要作用是建立一个简单的方法为屏幕上的内容增加边界样式。 边界样式可以是圆角，简单的边界，褪色的边缘，盒布局等。 使用现有的图片来生成样式，我会完善函数，使在没有图片的情况下也能生成边界样式的。 它有三个可在jquery.js和jquery.divcorners.js加载后调用的函数。 使用 $(expression).dcCreate( object [, boolean] ) 创建布局的实例。 使用 $(expression).dcResize( [boolean] ) 重新调整布局的一个实例。 使用 $(expression).dcClear( [boolean] ) 消除布局的实例。 DivCorners是由jquery.divcorners.js和jquery.divcorners.css构成的，两者必须结合起来使用。 为什么选择 DivCorners? “jQuery 是一个快速的，简洁的 javaScript 库，使用户能更方便地处理 HTML documents、events、实现动画效果，并且方便地为网站提供 AJAX 交互。 jQuery改变了书写JavaScript的方法。”jQuery.com 这个插件是为了使工作更加简单。 使用 DivCorners可以节约一半时间去完成兼容各种浏览器的预期效果。此插件还修复了IE6下PNG图片透明显示问题。 怎么使用 DivCorners? $(expression).dcCreate( object [, boolean] ) // This is the maximum definition   $&#40;&#34;div&#34;&#41;.dcCreate&#40;&#123;       [...]]]></description>
			<content:encoded><![CDATA[<p><strong>什么是 DivCorners?</strong></p>
<p>这个插件的主要作用是建立一个简单的方法为屏幕上的内容增加边界样式。</p>
<ol>
<li>边界样式可以是圆角，简单的边界，褪色的边缘，盒布局等。</li>
<li>使用现有的图片来生成样式，我会完善函数，使在没有图片的情况下也能生成边界样式的。</li>
</ol>
<p>它有三个可在jquery.js和jquery.divcorners.js加载后调用的函数。</p>
<ol>
<li>使用 <strong>$(expression).dcCreate( object [, boolean] ) </strong>创建布局的实例。</li>
<li>使用 <strong>$(expression).dcResize( [boolean] )</strong> 重新调整布局的一个实例。</li>
<li>使用 <strong>$(expression).dcClear( [boolean] )</strong> 消除布局的实例。</li>
</ol>
<p>DivCorners是由jquery.divcorners.js和jquery.divcorners.css构成的，两者必须结合起来使用。</p>
<p><strong>为什么选择 DivCorners?</strong></p>
<p>“jQuery 是一个快速的，简洁的 javaScript 库，使用户能更方便地处理 HTML documents、events、实现动画效果，并且方便地为网站提供 AJAX 交互。 jQuery改变了书写JavaScript的方法。”jQuery.com</p>
<p>这个插件是为了使工作更加简单。 使用 DivCorners可以节约一半时间去完成兼容各种浏览器的预期效果。此插件还修复了IE6下PNG图片透明显示问题。</p>
<p><strong>怎么使用 DivCorners?</strong></p>
<p><strong>$(expression).dcCreate( object [, boolean] )</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// This is the maximum definition</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcCreate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
      imgPrefix<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;/images/&quot;</span><span style="color: #339933;">,</span>
      fileType<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;.gif&quot;</span><span style="color: #339933;">,</span>
      expand<span style="color: #339933;">:</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">,</span>           <span style="color: #006600; font-style: italic;">// optional</span>
      radius<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>           <span style="color: #006600; font-style: italic;">// optional, Note: Radius must be greater than expand. See Understand the Parameters</span>
      position<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;inside&quot;</span><span style="color: #339933;">,</span>  <span style="color: #006600; font-style: italic;">// optional</span>
      resize<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;img&quot;</span><span style="color: #339933;">,</span>       <span style="color: #006600; font-style: italic;">// optional</span>
      exclude<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;left, top&quot;</span> <span style="color: #006600; font-style: italic;">// optional</span>
  <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>                <span style="color: #006600; font-style: italic;">// Note: This parameter is optional. By default it's true.</span>
                           <span style="color: #006600; font-style: italic;">// This parameter controls whether parent .dCorner instances will be resized.</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// This is the recommended definition</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcCreate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
      imgPrefix<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;/images/dCorner-&quot;</span><span style="color: #339933;">,</span>
      fileType<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;.gif&quot;</span><span style="color: #339933;">,</span>
      expand<span style="color: #339933;">:</span> <span style="color: #CC0000;">10</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>$(expression).dcResize( [boolean] )</strong></p>
<div>
<div>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// Call this function when the height or width of the container is altered.</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcResize</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// This is the recommended definition</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcResize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// Note: This function's parameter is optional. By default it's true.</span>
<span style="color: #006600; font-style: italic;">// This parameter controls whether parent .dCorner instances will be resized.</span></pre></div></div>

</div>
</div>
<p><strong>$(expression).dcClear( [boolean] )</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// Call this function to remove any instances.</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcClear</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// This is the constructor definition</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcClear</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// Note: This function's parameter is optional. By default it's true.</span>
<span style="color: #006600; font-style: italic;">// This parameter controls whether parent .dCorner instances will be resized.</span></pre></div></div>

<p>官方网址：<a href="http://roydukkey.com/divcorners/">http://roydukkey.com/divcorners/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/divcorners.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Unit PNG Fix</title>
		<link>http://www.biaodianfu.com/unit-png-fix.html</link>
		<comments>http://www.biaodianfu.com/unit-png-fix.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:50:57 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1719</guid>
		<description><![CDATA[Unit PNG Fix同样是一个修复IE6无法显示透明图片的JS它的主要特点有： 非常小的JS文件，只有1KB 解决因为IE的滤镜属性所带来的影响 无论是img元素或background-image属性都能有很好的效果 在加载页面之前就能自动运行，不需要再为png图片定义任何类名 允许自动高宽 超级简单的应用方法 Unit PNG Fix怎么使用： 1).下载zip 然后,添加下面的代码到你页面的头部（一定要确保路径的正确） &#60;!--&#91;if lt IE 7&#93;&#62;         &#60;script type=&#34;text/javascript&#34; src=&#34;unitpngfix.js&#34;&#62;&#60;/script&#62; &#60;!&#91;endif&#93;--&#62; 2).添加clear.gif到你的images 文件夹中.在js文件中,修改“var clear=“images/clear.gif” 路径为存放clear.gif的文件路径. 一些注意事项: Unit PNG Fix能够让background-repeat在ie6下工作，不过这种工作方式不是像正常的repeat图片重复的效果，而是采用了拉伸的效果。 官方网址及下载地址：http://unitinteractive.com/labs/unitpngfix.php]]></description>
			<content:encoded><![CDATA[<p>Unit PNG Fix同样是一个修复IE6无法显示透明图片的JS它的主要特点有：</p>
<ol>
<li>非常小的JS文件，只有1KB</li>
<li>解决因为IE的滤镜属性所带来的影响</li>
<li>无论是img元素或background-image属性都能有很好的效果</li>
<li>在加载页面之前就能自动运行，不需要再为<span style="color: black;"><span style="font-family: Arial;">png</span></span><span style="color: black;"><span style="font-family: 宋体;">图片定义任何类名</span></span></li>
<li><span style="color: black;"><span style="font-family: Arial;">允许自动高宽</span></span></li>
<li><span style="color: black;"><span style="font-family: 宋体;">超级简单的应用方法</span></span></li>
</ol>
<p>Unit PNG Fix怎么使用：</p>
<p>1).下载zip 然后,添加下面的代码到你页面的头部（一定要确保路径的正确）</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">if</span> lt IE <span style="color: #CC0000;">7</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;unitpngfix.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span>endif<span style="color: #009900;">&#93;</span><span style="color: #339933;">--&gt;</span></pre></div></div>

<p>2).添加clear.gif到你的images 文件夹中.在js文件中,修改“var clear=“images/clear.gif” 路径为存放clear.gif的文件路径.</p>
<p><strong>一些注意事项:</strong></p>
<p>Unit PNG Fix能够让background-repeat在ie6下工作，不过这种工作方式不是像正常的repeat图片重复的效果，而是采用了拉伸的效果。</p>
<p>官方网址及下载地址：<a href="http://unitinteractive.com/labs/unitpngfix.php">http://unitinteractive.com/labs/unitpngfix.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/unit-png-fix.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE PNG Fix 2.0</title>
		<link>http://www.biaodianfu.com/ie-png-fix-2-0.html</link>
		<comments>http://www.biaodianfu.com/ie-png-fix-2-0.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:30:12 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1717</guid>
		<description><![CDATA[IE PNG Fix 2.0是通过页面标签使用behavior:url(”iepngfix.htc”);来调用外部包含js、css的iepngfix.htc文件來修正PNG alpha 透明度。 IE PNG Fix 2.0支持以图片方式插入透明png和以CSS背景方式插入透明png。 需要注意的是： images目录的blank.gif透明图片作为png图片的替换,如目录有变请修改iepngfix.htc里blank.gif代码路径 iepngfix.htc为IE6所用,本例子以&#8221;_&#8221;hack作为区分 应用有PNG透明图片的标签,均要读取behavior:url(&#8220;iepngfix.htc&#8221;) iepngfix方法在背景应用上只能做到background-image的效果, 背景重复坐标调用等暂时实现不了 透明png背景图片会以所在层的宽高度拉伸填充,border计算在层的宽高内 官方网址及下载地址：http://www.twinhelix.com/css/iepngfix/]]></description>
			<content:encoded><![CDATA[<p>IE PNG Fix 2.0是通过页面标签使用behavior:url(”iepngfix.htc”);来调用外部包含js、css的iepngfix.htc文件來修正PNG alpha 透明度。</p>
<p>IE PNG Fix 2.0支持以图片方式插入透明png和以CSS背景方式插入透明png。</p>
<p>需要注意的是：</p>
<ol>
<li>images目录的blank.gif透明图片作为png图片的替换,如目录有变请修改iepngfix.htc里blank.gif代码路径</li>
<li>iepngfix.htc为IE6所用,本例子以&#8221;_&#8221;hack作为区分</li>
<li>应用有PNG透明图片的标签,均要读取behavior:url(&#8220;iepngfix.htc&#8221;)</li>
<li>iepngfix方法在背景应用上只能做到background-image的效果, 背景重复坐标调用等暂时实现不了</li>
<li>透明png背景图片会以所在层的宽高度拉伸填充,border计算在层的宽高内</li>
</ol>
<p>官方网址及下载地址：<a href="http://www.twinhelix.com/css/iepngfix/">http://www.twinhelix.com/css/iepngfix/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/ie-png-fix-2-0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DD_belatedPNG.js让IE6支持透明PNG图片</title>
		<link>http://www.biaodianfu.com/dd_belatedpng-js.html</link>
		<comments>http://www.biaodianfu.com/dd_belatedpng-js.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 11:20:50 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1710</guid>
		<description><![CDATA[DD_belatedPNG.js 是一个能是IE6支持p显示ng透明图片，而且还支持背景循环（background-repeat）和定位（backgrond-position） ，支持focus，Hover。 使用方法： &#60;!--&#91;if IE 6&#93;&#62; &#60;script src=&#34;DD_belatedPNG.js&#34;&#62;&#60;/script&#62; &#60;script&#62; DD_belatedPNG.fix&#40;'.png_bg'&#41;; &#60;/script&#62; &#60;!&#91;endif&#93;--&#62; 其中: DD_belatedPNG.js 为文件路径，.png_bg 为需要引用的容器名，如果需要多处引用可以使用如下方法： DD_belatedPNG.fix&#40;'.example1, .example2, img'&#41;; 其中.example1 和 .example2 为class 选择器，img 就是标签了。 如果需要修复页面上的所有PNG图片，则可以使用 DD_belatedPNG.fix&#40;‘*');  官方网站：http://www.dillerdesign.com/experiment/DD_belatedPNG 除了DD_belatedPNG.js之外，我们以前介绍过的IE7.js也可以解决PNG透明图片在IE下不显示的问题。]]></description>
			<content:encoded><![CDATA[<p>DD_belatedPNG.js 是一个能是IE6支持p显示ng透明图片，而且还支持背景循环（background-repeat）和定位（backgrond-position）<strong> </strong>，支持focus，Hover。</p>
<p><strong>使用方法：</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">if</span> IE <span style="color: #CC0000;">6</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;DD_belatedPNG.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
DD_belatedPNG.<span style="color: #660066;">fix</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.png_bg'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span>endif<span style="color: #009900;">&#93;</span><span style="color: #339933;">--&gt;</span></pre></div></div>

<p>其中:<br />
DD_belatedPNG.js 为文件路径，.png_bg 为需要引用的容器名，如果需要多处引用可以使用如下方法：</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">DD_belatedPNG.<span style="color: #660066;">fix</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.example1, .example2, img'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>其中.example1 和 .example2 为class 选择器，img 就是标签了。</p>
<p>如果需要修复页面上的所有PNG图片，则可以使用</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">DD_belatedPNG.<span style="color: #660066;">fix</span><span style="color: #009900;">&#40;</span>‘<span style="color: #339933;">*</span><span style="color: #3366CC;">'); </span></pre></div></div>

<p>官方网站：<a rel="external" href="http://www.dillerdesign.com/experiment/DD_belatedPNG/" target="_blank">http://www.dillerdesign.com/experiment/DD_belatedPNG</a></p>
<p>除了DD_belatedPNG.js之外，我们以前介绍过的<a href="http://www.biaodianfu.com/jiejue-ie6-jianrong-wenti-ie7js.html">IE7.js</a>也可以解决PNG透明图片在IE下不显示的问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/dd_belatedpng-js.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery plugin: Validation 表单校验</title>
		<link>http://www.biaodianfu.com/jquery-validate-js.html</link>
		<comments>http://www.biaodianfu.com/jquery-validate-js.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 08:53:34 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[表单]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1707</guid>
		<description><![CDATA[Jquery.validate.js是基于JQuery库的一个前端验证控件，功能很强大，自身集成了大多常用的验证方法。 以下列出validate自带的默认验证 required: &#8220;必选字段&#8221;, remote: &#8220;请修正该字段&#8221;, email: &#8220;请输入正确格式的电子邮件&#8221;, url: &#8220;请输入合法的网址&#8221;, date: &#8220;请输入合法的日期&#8221;, dateISO: &#8220;请输入合法的日期 (ISO).&#8221;, number: &#8220;请输入合法的数字&#8221;, digits: &#8220;只能输入整数&#8221;, creditcard: &#8220;请输入合法的信用卡号&#8221;, equalTo: &#8220;请再次输入相同的值&#8221;, accept: &#8220;请输入拥有合法后缀名的字符串&#8221;, maxlength: jQuery.format(&#8220;请输入一个长度最多是 {0} 的字符串&#8221;), minlength: jQuery.format(&#8220;请输入一个长度最少是 {0} 的字符串&#8221;), rangelength: jQuery.format(&#8220;请输入一个长度介于 {0} 和 {1} 之间的字符串&#8221;), range: jQuery.format(&#8220;请输入一个介于 {0} 和 {1} 之间的值&#8221;), max: jQuery.format(&#8220;请输入一个最大为 {0} 的值&#8221;), min: jQuery.format(&#8220;请输入一个最小为 {0} 的值&#8221;) 贴举个简单的例子： $&#40;'#EditView'&#41;.validate&#40;&#123; [...]]]></description>
			<content:encoded><![CDATA[<p>Jquery.validate.js是基于JQuery库的一个前端验证控件，功能很强大，自身集成了大多常用的验证方法。</p>
<p>以下列出validate自带的默认验证</p>
<blockquote><p>required: &#8220;必选字段&#8221;,<br />
remote: &#8220;请修正该字段&#8221;,<br />
email: &#8220;请输入正确格式的电子邮件&#8221;,<br />
url: &#8220;请输入合法的网址&#8221;,<br />
date: &#8220;请输入合法的日期&#8221;,<br />
dateISO: &#8220;请输入合法的日期 (ISO).&#8221;,<br />
number: &#8220;请输入合法的数字&#8221;,<br />
digits: &#8220;只能输入整数&#8221;,<br />
creditcard: &#8220;请输入合法的信用卡号&#8221;,<br />
equalTo: &#8220;请再次输入相同的值&#8221;,<br />
accept: &#8220;请输入拥有合法后缀名的字符串&#8221;,<br />
maxlength: jQuery.format(&#8220;请输入一个长度最多是 {0} 的字符串&#8221;),<br />
minlength: jQuery.format(&#8220;请输入一个长度最少是 {0} 的字符串&#8221;),<br />
rangelength: jQuery.format(&#8220;请输入一个长度介于 {0} 和 {1} 之间的字符串&#8221;),<br />
range: jQuery.format(&#8220;请输入一个介于 {0} 和 {1} 之间的值&#8221;),<br />
max: jQuery.format(&#8220;请输入一个最大为 {0} 的值&#8221;),<br />
min: jQuery.format(&#8220;请输入一个最小为 {0} 的值&#8221;)</p></blockquote>
<p>贴举个简单的例子：</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#EditView'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">validate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
              event<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;keyup&quot;</span><span style="color: #339933;">,</span>
              rules<span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span>
                  <span style="color: #000066;">name</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span>required<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
                  cosa_commodity_group_list<span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span>required<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#125;</span>
              <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
              submitHandler<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#group_list &gt; option&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;selected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                  $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
              <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>1.<strong>event</strong>是触发校验的方式，可选值有keyup(每次按键时)，blur(当控件失去焦点时)，不使用这个参数时就只在按提交按钮时触发。</p>
<p>2.如果在提交前还需要进行一些自定义处理使用<strong>submitHandler</strong>参数。</p>
<p>3.<strong>debug</strong>，如果这个参数为true，那么表单不会提交，只进行检查，用于调试状态。</p>
<p>4.<strong>rules</strong>，所有的检验规则都写在这个参数里面.</p>
<p>格式为：ID : {rule1,rule2,&#8230;}</p>
<p>          (1) required: true  必输<br />
          (2) number: true 只能输入数字(包括小数)<br />
          (3) digits:true 只能输入整数<br />
          (4) minValue: 3 不能小于3<br />
          (5) maxValue: 100 最大不超过100<br />
          (6) rangeValue:[50,100] 值范围为50-100<br />
          (7) minLength: 5 最小长度(汉字算一个字符)<br />
          (8) maxLength: 10 最大长度(汉字算一个字符)<br />
          (9) rangeLength:[5,10] 长度范围为5至10位(汉字算一个字符)<br />
          (10) 上面的minLength, maxLength, rangeLength 这三项除了text input之外还可以用于checkbox,select这两种控件<br />
          (11) email:true 电子邮件<br />
          (12) equalTo: &#8220;#field&#8221; 与#field值相同<br />
          (13) dateISO:true 日期型，格式为2012/02/12   2010-1-14</p>
<p>5.<strong>messages</strong>，自定义错误信息，格式与rules类似：</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">messages <span style="color: #009900;">&#123;</span>
          password<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
              required<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;请输入您的密码.&quot;</span>
              minLength<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;密码不能小于6位.&quot;</span><span style="color: #339933;">,</span>
              maxLength<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;密码不能长于32位.&quot;</span>
          <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span></pre></div></div>

<p>官方网址：<a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">http://bassistance.de/jquery-plugins/jquery-plugin-validation/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/jquery-validate-js.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In-Field Labels jQuery Plugin</title>
		<link>http://www.biaodianfu.com/jquery-infieldlabel-min-js.html</link>
		<comments>http://www.biaodianfu.com/jquery-infieldlabel-min-js.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 08:23:52 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[表单]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1704</guid>
		<description><![CDATA[In-Field Labels jQuery插件是一个可以使普通输入框内显示默认信息，当用户开始输入时，输入框中默认显示的文字自动消失的插件，可以避免填入的value值。 目前支持的浏览器：IE6+IE6+, WebKit Browsers (Safari, Chrome), Firefox 2+（其中需要注意的是IE6需要设置输入框的label的颜色） 需要注意的是：浏览器自动填充表单会照成错误，对于火狐和Chrome可以在input elements设置autocomplete=&#8221;off&#8221; 。 官方网址及演示：http://fuelyourcoding.com/scripts/infield/]]></description>
			<content:encoded><![CDATA[<p>In-Field Labels jQuery插件是一个可以使普通输入框内显示默认信息，当用户开始输入时，输入框中默认显示的文字自动消失的插件，可以避免填入的value值。</p>
<p>目前支持的浏览器：IE6+IE6+, WebKit Browsers (Safari, Chrome), Firefox 2+（其中需要注意的是IE6需要设置输入框的label的颜色）</p>
<p>需要注意的是：浏览器自动填充表单会照成错误，对于火狐和Chrome可以在input elements设置autocomplete=&#8221;off&#8221; 。</p>
<p>官方网址及演示：<a href="http://fuelyourcoding.com/scripts/infield/">http://fuelyourcoding.com/scripts/infield/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/jquery-infieldlabel-min-js.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery.blockUI.js</title>
		<link>http://www.biaodianfu.com/jquery-blockui-js.html</link>
		<comments>http://www.biaodianfu.com/jquery-blockui-js.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 07:17:53 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1702</guid>
		<description><![CDATA[jquery.blockUI.js 插件是用于进行AJAX操作时模拟同步传输时锁定浏览器操作。当它被激活时，它会阻止使用者与页面（或页面的一部分）进行交互，直至它被取消。 BlockUI以在DOM中添加元素的方法来实现阻止用户与浏览器交互的外观和行为。 这个jQuery插件的主要用于是防止用户多次提交表单，及在提交后显示一个等待页面（或提示信息）。 官方网址：http://malsup.com/jquery/block/#overview]]></description>
			<content:encoded><![CDATA[<p>jquery.blockUI.js 插件是用于进行<abbr title="Asynchronous JavaScript and XML">AJAX</abbr>操作时模拟同步传输时锁定浏览器操作。当它被激活时，它会阻止使用者与页面（或页面的一部分）进行交互，直至它被取消。</p>
<p>BlockUI以在<abbr title="Document Object Model">DOM</abbr>中添加元素的方法来实现阻止用户与浏览器交互的外观和行为。</p>
<p>这个jQuery插件的主要用于是防止用户多次提交表单，及在提交后显示一个等待页面（或提示信息）。</p>
<p>官方网址：<a href="http://malsup.com/jquery/block/#overview">http://malsup.com/jquery/block/#overview</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/jquery-blockui-js.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
