﻿<?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; Jquery+JS</title>
	<atom:link href="http://www.4wei.cn/archives/category/jqueryjs/feed" rel="self" type="application/rss+xml" />
	<link>http://www.4wei.cn</link>
	<description>PHP+Redis+ThinkPHP+LocoySpider+Discuz!+DEDE+PHPCMS</description>
	<lastBuildDate>Fri, 03 Feb 2012 04:20:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Sencha Touch最新版下载</title>
		<link>http://www.4wei.cn/archives/1001421</link>
		<comments>http://www.4wei.cn/archives/1001421#comments</comments>
		<pubDate>Tue, 30 Aug 2011 04:05:23 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001421</guid>
		<description><![CDATA[Sencha Touch是何许东东~ Sencha Touch框架是世界上第一个基于HTML 5的Mobile App框架。同时，ExtJS也正式更名为Sencha。原域名www.extjs.com也已经跳转至www.sencha.com。 Sencha Touch框架 同时，JQTouch的创始人David Kaneda，以及Raphaël的创始人也已加盟Sencha团队。“在未来的几个月内，我们的合作将会创造出令人惊叹的新东西来。不会等太久的，我保证!”Sencha的CEO Abraham Elias如是说。 Sencha Touch最新版下载 尘缘在学习Jquery和DWZ以后，开始学习JQTouch，JQTouch的手册API看完以后，发现JQTouch创始人已经另谋新主了。没办法，“数码控”、“电影控”之外，我还有“新版控”、“折腾控”、“牛逼崇拜”，哪个牛逼，就学习哪个~ 目前的版本是1.1.0，官方网站让小哥转了几圈才找到下载地址： http://extjs.cachefly.net/touch/sencha-touch-1.1.0.zip http://www.4wei.cn/files/sencha-touch-1.1.0.zip 使用说明： First, unzip the archive to your local web server and navigate to http://localhost/your-touch-install/ to view the documentation and complete working examples. Any samples that use Ajax will need to be on an web server in order [...]]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001421/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>全球jQuery的UI框架集锦，有国产DWZ框架入选</title>
		<link>http://www.4wei.cn/archives/1001093</link>
		<comments>http://www.4wei.cn/archives/1001093#comments</comments>
		<pubDate>Sun, 27 Feb 2011 04:22:14 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001093</guid>
		<description><![CDATA[DWZ国产jQueryUI框架 源代码完全开放，在Apache License 2.0许可下, 可免费应用于个人或商业目的。 是目前最知名的UI框架，用户群不少。尘缘也经常逛他们的用户论坛，发现用户很多的使用问题都有很及时的回复和解决办法，这让尘缘这种不精通Jquery的后员程序员来说，是难得的福音。 在测试网站的使用过程中，尘缘发现DWZ的性能还有待提高，页面内存占用很高，运行稍显迟钝，调优的工作还有很远的路要走。 对于一些个人开发博客、CMS等小型管理后台程序的程序员来说，是一款不得多得的首选UI框架，毕竟有不错的升级前景、不错的社区支持，最重要的是还可以用于商业目的。 网址：http://bbs.dwzjs.com/ 演示：http://demo.dwzjs.com/ 授权方式：Apache License 2.0 MochaUI 基于Mootools框架开发，英文界面，运行非常流畅，有几个小插件，如时钟和桌面小游戏。 网址：http://mochaui.com/ 演示：http://mochaui.com/demo/ 授权方式：MIT License jquery UI 准确的说，应该叫组件，还不完整的页面框架，很多组件可供选择 网址：http://ui.jquery.com/ 演示：http://ui.jquery.com/demos 授权方式：MIT and GPL licenses jquery UI Layout 网址：http://layout.jquery-dev.net/ 演示：http://layout.jquery-dev.net/demos.html 授权方式：dual-licensed under the GPL and MIT licenses. Dojo 网址：http://dojotoolkit.org/ 演示：http://dojotoolkit.org/demos 授权方式：BSD License and the Academic Free License Rico 网址：http://openrico.org/ 演示： http://demos.openrico.org/ 授权方式： [...]]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001093/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>全球jQuery插件展，无国产</title>
		<link>http://www.4wei.cn/archives/1001091</link>
		<comments>http://www.4wei.cn/archives/1001091#comments</comments>
		<pubDate>Sun, 27 Feb 2011 04:07:26 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001091</guid>
		<description><![CDATA[jQuery文件上传(File upload) Ajax File Upload. jQUploader. Multiple File Upload plugin.   jQuery File Style. Styling an input type file. Progress Bar Plugin. jQuery表单验证(Form Validation) jQuery Validation. Auto Help. Simple jQuery form validation. jQuery XAV - form validations. jQuery AlphaNumeric. Masked Input. TypeWatch Plugin. Text limiter for form fields. Ajax Username Check with jQuery. jQuery表单－选取框(Form - Select [...]]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001091/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>各种浏览器的user-agent对比表，包括360和sogou</title>
		<link>http://www.4wei.cn/archives/1001007</link>
		<comments>http://www.4wei.cn/archives/1001007#comments</comments>
		<pubDate>Thu, 02 Dec 2010 03:27:52 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1001007</guid>
		<description><![CDATA[IE   而IE各个版本典型的userAgent如下：   Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)   Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)   Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)   Mozilla/4.0 (compatible; MSIE 5.0; Windows NT)   其中，版本号是MSIE之后的数字。 Firefox   Firefox几个版本的userAgent大致如下：   Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1   Mozilla/5.0 (Windows; U; Windows NT 5.1) [...]]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1001007/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>DEDECMS+Js实现自定义二级联动</title>
		<link>http://www.4wei.cn/archives/1000878</link>
		<comments>http://www.4wei.cn/archives/1000878#comments</comments>
		<pubDate>Thu, 22 Jul 2010 01:07:41 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[DEDE]]></category>
		<category><![CDATA[Jquery+JS]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000878</guid>
		<description><![CDATA[DEDE有现成的二级联动管理，可以添加并生成二级联动的JS代码，使用起来非常方便。 如果要实现自己的效果，可能要对联动过程做一点开发。 下面的代码实例是在二级联动的过程中，添加了一个新的字段，以保存选项的值，并在前台根据JS的值做不同的事件。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000878/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DEDE防采集之Js分页链接的实现</title>
		<link>http://www.4wei.cn/archives/1000253</link>
		<comments>http://www.4wei.cn/archives/1000253#comments</comments>
		<pubDate>Thu, 01 Oct 2009 06:23:23 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[DEDE]]></category>
		<category><![CDATA[Jquery+JS]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000253</guid>
		<description><![CDATA[昨天晚上把DEDE的静态分类转换成了Js版本，从而实现了基本的分页加密方法。]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000253/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>json_encode，中文被编码成Null的解决办法</title>
		<link>http://www.4wei.cn/archives/1000235</link>
		<comments>http://www.4wei.cn/archives/1000235#comments</comments>
		<pubDate>Sun, 20 Sep 2009 04:00:47 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=1000235</guid>
		<description><![CDATA[这种情况，一般出现在文档编码或者输出的内容编码是非UTF-8时，也就是说，GBK或者GB2312的中文，就会出现编码失败的现象。 Google了一下，很简单，为了与前端紧密结合，Json只支持Utf-8编码，我认为是前端的Javascript也是Utf-8的原因。 知道了这一点，以下的代码就好写了。这里给出一个Demo，备忘。 编码以后的内容就成了这样：]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/1000235/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>限制图片大小的解决方案</title>
		<link>http://www.4wei.cn/archives/105</link>
		<comments>http://www.4wei.cn/archives/105#comments</comments>
		<pubDate>Sat, 26 Jul 2008 07:23:10 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=105</guid>
		<description><![CDATA[&#160;&#160;&#160; 我们经常会遇到在页面中的图片按照我们自己的大小来显示，这样可以让页面看起来更规范一些。 比如我们要在页面种显示130&#215;160的图片，相当于我们将图片放入这样的一个相框那，超过的就缩放到这个框的大小，小的就原样显示。 &#160;&#160;&#160; 我们这里有2种解决办法. &#160;&#160;&#160; 1，不按照比例的缩放 &#60;script&#160;language=&#34;javascript&#34;&#62; function&#160;changeImg(mypic){ &#160;&#160;&#160;&#160;var&#160;xw=130; &#160;&#160;&#160;&#160;var&#160;xl=160; &#160;&#160;&#160;&#160;var&#160;width&#160;=&#160;mypic.width; &#160;&#160;&#160;&#160;var&#160;height&#160;=&#160;mypic.height; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;if&#160;(width&#160;&#62;&#160;xw&#160;)&#160;mypic.width&#160;=&#160;xw; &#160;&#160;&#160;&#160;if&#160;(height&#160;&#62;&#160;xl&#160;)&#160;mypic.height&#160;=&#160;xl; } &#60;/script&#62; &#60;img&#160;src=&#34;sh180.jpg&#34;&#160;onload=&#34;changeImg(this)&#34;&#62; &#160;&#160;&#160; 2，按照比例的缩放 &#60;script&#160;language=&#34;javascript&#34;&#62; function&#160;changeImg1(mypic){ &#160;&#160;&#160;&#160;var&#160;xw=160; &#160;&#160;&#160;&#160;var&#160;xl=180; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;var&#160;width&#160;=&#160;mypic.width; &#160;&#160;&#160;&#160;var&#160;height&#160;=&#160;mypic.height; &#160;&#160;&#160;&#160;var&#160;bili&#160;=&#160;width/height;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;var&#160;A=xw/width; &#160;&#160;&#160;&#160;var&#160;B=xl/height; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;if(A&#62;1&#124;&#124;B&#62;1) &#160;&#160;&#160;&#160;{ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if(A&#60;B) &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mypic.width=xw; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mypic.height=xw/bili; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if(A&#62;B) &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mypic.width=xl*bili; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mypic.height=xl; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160;} } &#60;/script&#62; &#60;img&#160;src=&#34;sh180.jpg&#34;&#160;onload=&#34;changeImg(this)&#34;&#62;]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/105/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JS语法字典</title>
		<link>http://www.4wei.cn/archives/101</link>
		<comments>http://www.4wei.cn/archives/101#comments</comments>
		<pubDate>Sat, 26 Jul 2008 07:18:38 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=101</guid>
		<description><![CDATA[1.document.write(""); 输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document-&#62;html-&#62;(head,body) 4.一个浏览器窗口中的DOM顺序是:window-&#62;(navigator,screen,history,location,document) 5.得到表单中元素的名称和值:document.getElementById("表单中元素的ID号").name(或value) 6.一个小写转大写的JS: document.getElementById("output").value = document.getElementById("input").value.toUpperCase(); 7.JS中的值类型:String,Number,Boolean,Null,Object,Function 8.JS中的字符型转换成数值型:parseInt(),parseFloat() 9.JS中的数字转换成字符型:(""+变量) 10.JS中的取字符串长度是:(length) 11.JS中的字符与字符相连接使用+号. 12.JS中的比较操作符有:==等于,!=不等于,&#62;,&#62;=,&#60;.&#60;= 13.JS中声明变量使用:var来进行声明 14.JS中的判断语句结构:if(condition){}else{} 15.JS中的循环结构:for([initial e­xpression];[condition];[upadte e­xpression]) {inside loop} 16.循环中止的命令是:break 17.JS中的函数定义:function functionName([parameter],...){statement[s]} 18.当文件中出现多个form表单时.可以用document.forms[0],document.forms[1]来代替. 19.窗口:打开窗口window.open(), 关闭一个窗口:window.close(), 窗口本身:self 20.状态栏的设置:window.status="字符"; 21.弹出提示信息:window.alert("字符"); 22.弹出确认框:window.confirm(); 23.弹出输入提示框:window.prompt(); 24.指定当前显示链接的位置:window.location.href="/blog/URL" 25.取出窗体中的所有表单的数量:document.forms.length 26.关闭文档的输出流:document.close(); 27.字符串追加连接符:+= 28.创建一个文档元素:document.createElement(),document.createTextNode() 29.得到元素的方法:document.getElementById() 30.设置表单中所有文本型的成员的值为空: var form = window.document.forms[0] for (var i = 0; i&#60;form.elements.length;i++){      if (form.elements.type == [...]]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/101/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>页面自动跳转</title>
		<link>http://www.4wei.cn/archives/74</link>
		<comments>http://www.4wei.cn/archives/74#comments</comments>
		<pubDate>Fri, 30 May 2008 02:21:47 +0000</pubDate>
		<dc:creator>尘缘</dc:creator>
				<category><![CDATA[Jquery+JS]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://www.4wei.cn/?p=74</guid>
		<description><![CDATA[&#60;blockquote&#62;&#60;span id="tiao"&#62;3&#60;/span&#62;&#60;a href="javascript:countDown"&#62;&#60;/a&#62;秒后自动跳转…&#60;!--脚本开始--&#62; &#60;script&#62;&#60;!--&#60;/div&#62; &#60;div mce_tmp="1"&#62;function countDown(secs){&#60;/div&#62; &#60;div mce_tmp="1"&#62; tiao.innerText=secs;&#60;/div&#62; &#60;div mce_tmp="1"&#62; if( secs&#62;0){&#60;/div&#62; &#60;div mce_tmp="1"&#62;     setTimeout("countDown("+secs+")",1000);&#60;/div&#62; &#60;div mce_tmp="1"&#62;     }else{&#60;/div&#62; &#60;div mce_tmp="1"&#62;     location.href="http://www.4wei.cn"&#60;/div&#62; &#60;div mce_tmp="1"&#62;     }&#60;/div&#62; &#60;div mce_tmp="1"&#62; }&#60;/div&#62; &#60;div mce_tmp="1"&#62; countDown(3);&#60;/div&#62; &#60;div mce_tmp="1"&#62; // --&#62;&#60;/script&#62;&#60;/blockquote&#62;]]></description>
		<wfw:commentRss>http://www.4wei.cn/archives/74/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

