<?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; JS</title>
	<atom:link href="http://www.biaodianfu.com/tag/js/feed" rel="self" type="application/rss+xml" />
	<link>http://www.biaodianfu.com</link>
	<description>编译自己的互联网生活</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:42:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>将手机网站做成手机应用的JS框架</title>
		<link>http://www.biaodianfu.com/make-your-mobile-websites-act-like-apps.html</link>
		<comments>http://www.biaodianfu.com/make-your-mobile-websites-act-like-apps.html#comments</comments>
		<pubDate>Wed, 01 Sep 2010 04:12:44 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[移动互联网]]></category>
		<category><![CDATA[JS]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=2658</guid>
		<description><![CDATA[随着智能手机销量持续飙升，越来越多的开发者投入到移动应用开发之中。无论是本地化的APP应用，还是移动优化版的网络站点，移动创新正以不可思议的速度蔓延开来。 本地APP仍然有其价值所在，但随着越来越多的不同设备、操作系统，以及屏幕大小让开发移动优化版的网站越来越令人着迷。实际上，在以快速、迭代、跨平台为基础的WEB应用，与具备更多标准化用户界面、手势支持、多点触摸以及硬件优化为基础的本地应用，此二者间历来便有权衡利弊的比较。 幸运的是，越来越多的现成框架让开发者们可以更轻松地为自己的移动网站开发应用，并且在界面上也更加接近本地化的APP。如下便是六个现成的框架： 一、jQuery Mobile jQueryMobile不像前面SproutCore 或者Sencha Touch，它没有提供一个完整的应用架构。但它是一个新的开始，其也以向移动网站应用提供更多本地化的控制为宗旨。jQuery Mobile项目宣布其要成为“完整的，统一的，移动UI架构”。 jQuery Mobile核心项目也将继续为移动提供优化，但jQuery Mobile更专注于为主流智能手机浏览器提供一种真正的顶级的JS体验和界面。 官方网址：http://jquerymobile.com/ 支持列表：http://jquerymobile.com/gbs/ 二、Sencha Touch Sencha前身是Ext JS ，全名是Sencha Touch HTML5 mobile framework.它提供一种可跨平台的架构，目前支持IOS，Android将在不久后得到支持。这种在线摸触摸技术结合了一个UI库的独立解决方案，触摸项目管理、地理技术支持、离线缓存技术以及特殊的CSS和CSS3功能。 官方网址：http://www.sencha.com/products/touch/ 演示地址：http://www.sencha.com/products/touch/demos.php 三、YUI 3.2 雅虎将发布最新的JS实用程序的YUI库。YUI最新版对触摸和移动设备提供更多更好的支持 官方网址：http://yuilibrary.com/ 四、iUI iUI是一个iPhone用户界面架构，其设计目标是像移动网站应用提供更接近iPhone的体验。它的工作原理是结合WEBKIT为基础的设备以及包括一个JS库和CSS及图形。其最早追溯至2007年，但多年以来缓慢地升级以提供更多其他设备，甚至是iPad。 官方网址：http://code.google.com/p/iui/ 五、SproutCore SproutCore是一个HTML5的架构，目标帮助开发者建立桌面口径的web应用，并且支持任何浏览器下无需补丁的运行。其项目带头大哥已经辞去了其原本苹果的职位，专心致志地来完成此项目。 官方网址：http://www.sproutcore.com/ 演示地址：http://demo.sproutcore.com/ 六、XUI 在开发Phonegap时，XUI团队对应用于移动设备的现存JS库及表现很失望。XUI创建的初衷是跨多个移动浏览器工作，其包括WEBKIT，Fennec，Opera。其目标是为低成本条件下解决传统JS库不适合移动浏览器，提供更多跨兼容的方案。 官方网址：http://xuijs.com/ 英文原版：http://mashable.com/2010/08/18/mobile-web-app-frameworks/ Related posts: IE7.JS 解决IE兼容性问题 Google Search Appliance 地图类网站收集]]></description>
			<content:encoded><![CDATA[<p>随着智能手机销量持续飙升，越来越多的开发者投入到移动应用开发之中。无论是本地化的APP应用，还是移动优化版的网络站点，移动创新正以不可思议的速度蔓延开来。</p>
<p>本地APP仍然有其价值所在，但随着越来越多的不同设备、操作系统，以及屏幕大小让开发移动优化版的网站越来越令人着迷。实际上，在以快速、迭代、跨平台为基础的WEB应用，与具备更多标准化用户界面、手势支持、多点触摸以及硬件优化为基础的本地应用，此二者间历来便有权衡利弊的比较。</p>
<p><img class="alignnone size-full wp-image-2659" title="mobile" src="http://www.biaodianfu.com/wp-content/uploads/2010/09/mobile.png" alt="" width="233" height="228" /></p>
<p>幸运的是，越来越多的现成框架让开发者们可以更轻松地为自己的移动网站开发应用，并且在界面上也更加接近本地化的APP。如下便是六个现成的框架：</p>
<p><strong>一、jQuery Mobile</strong></p>
<p>jQueryMobile不像前面SproutCore 或者Sencha Touch，它没有提供一个完整的应用架构。但它是一个新的开始，其也以向移动网站应用提供更多本地化的控制为宗旨。jQuery Mobile项目宣布其要成为“完整的，统一的，移动UI架构”。 jQuery Mobile核心项目也将继续为移动提供优化，但jQuery Mobile更专注于为主流智能手机浏览器提供一种真正的顶级的JS体验和界面。</p>
<p>官方网址：<a href="http://jquerymobile.com/">http://jquerymobile.com/</a></p>
<p>支持列表：<a href="http://jquerymobile.com/gbs/">http://jquerymobile.com/gbs/</a></p>
<p><strong>二、Sencha Touch</strong></p>
<p>Sencha前身是Ext JS ，全名是Sencha Touch HTML5 mobile framework.它提供一种可跨平台的架构，目前支持IOS，Android将在不久后得到支持。这种在线摸触摸技术结合了一个UI库的独立解决方案，触摸项目管理、地理技术支持、离线缓存技术以及特殊的CSS和CSS3功能。</p>
<p>官方网址：<a href="http://www.sencha.com/products/touch/">http://www.sencha.com/products/touch/</a></p>
<p>演示地址：<a href="http://www.sencha.com/products/touch/demos.php">http://www.sencha.com/products/touch/demos.php</a></p>
<p><strong>三、YUI 3.2</strong></p>
<p>雅虎将发布最新的JS实用程序的YUI库。YUI最新版对触摸和移动设备提供更多更好的支持</p>
<p>官方网址：<a href="http://yuilibrary.com/">http://yuilibrary.com/</a></p>
<p><strong>四、iUI</strong></p>
<p>iUI是一个iPhone用户界面架构，其设计目标是像移动网站应用提供更接近iPhone的体验。它的工作原理是结合WEBKIT为基础的设备以及包括一个JS库和CSS及图形。其最早追溯至2007年，但多年以来缓慢地升级以提供更多其他设备，甚至是iPad。</p>
<p>官方网址：<a href="http://code.google.com/p/iui/">http://code.google.com/p/iui/</a></p>
<p><strong>五、SproutCore</strong></p>
<p>SproutCore是一个HTML5的架构，目标帮助开发者建立桌面口径的web应用，并且支持任何浏览器下无需补丁的运行。其项目带头大哥已经辞去了其原本苹果的职位，专心致志地来完成此项目。</p>
<p>官方网址：<a href="http://www.sproutcore.com/">http://www.sproutcore.com/</a></p>
<p>演示地址：<a href="http://demo.sproutcore.com/">http://demo.sproutcore.com/</a></p>
<p><strong>六、XUI</strong></p>
<p>在开发Phonegap时，XUI团队对应用于移动设备的现存JS库及表现很失望。XUI创建的初衷是跨多个移动浏览器工作，其包括WEBKIT，Fennec，Opera。其目标是为低成本条件下解决传统JS库不适合移动浏览器，提供更多跨兼容的方案。</p>
<p>官方网址：<a href="http://xuijs.com/">http://xuijs.com/</a></p>
<p>英文原版：<a href="http://mashable.com/2010/08/18/mobile-web-app-frameworks/">http://mashable.com/2010/08/18/mobile-web-app-frameworks/</a></p>
<p>Related posts:<ol>
<li><a href='http://www.biaodianfu.com/jiejue-ie6-jianrong-wenti-ie7js.html' rel='bookmark' title='IE7.JS 解决IE兼容性问题'>IE7.JS 解决IE兼容性问题</a></li>
<li><a href='http://www.biaodianfu.com/google-search-appliance.html' rel='bookmark' title='Google Search Appliance'>Google Search Appliance</a></li>
<li><a href='http://www.biaodianfu.com/ditu-websites.html' rel='bookmark' title='地图类网站收集'>地图类网站收集</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/make-your-mobile-websites-act-like-apps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用JS让链接从新窗口打开</title>
		<link>http://www.biaodianfu.com/js-target-blank.html</link>
		<comments>http://www.biaodianfu.com/js-target-blank.html#comments</comments>
		<pubDate>Wed, 14 Oct 2009 22:14:04 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[链接]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=1171</guid>
		<description><![CDATA[当网页内出现很多链接，且链接需要在新窗口打开时。使用程序自动target=”_blank”的话页面代码量会变大。下面是使用JS来时某个Div层里的链接在新窗口打开的方法。 &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62; &#60;html xmlns="http://www.w3.org/1999/xhtml"&#62; &#60;head&#62; &#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62; &#60;title&#62;使用JS让链接从新窗口打开&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;div id="test"&#62; &#60;a href=http://www.google.cn&#62;谷歌&#60;/a&#62;&#60;a href=http://www.baidu.com&#62;百度&#60;/a&#62;&#60;a href=http://cn.bing.com&#62;必应&#60;/a&#62; &#60;/div&#62; &#60;a href=http://www.biaodianfu.com&#62;标点符&#60;/a&#62; &#60;script type="text/javascript"&#62; var demo = document.getElementById('test');         for (var i = 0; i &#60; demo.childNodes.length; i++) {             if (demo.childNodes[i].tagName == 'A')                 demo.childNodes[i].target = '_blank'; [...]]]></description>
			<content:encoded><![CDATA[<p>当网页内出现很多链接，且链接需要在新窗口打开时。使用程序自动target=”_blank”的话页面代码量会变大。下面是使用JS来时某个Div层里的链接在新窗口打开的方法。</p>
<pre lang="html4strict" escaped="true">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;
&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;使用JS让链接从新窗口打开&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id="test"&gt;
&lt;a href=<a href="http://www.google.cn">http://www.google.cn</a>&gt;谷歌&lt;/a&gt;&lt;a href=<a href="http://www.baidu.com">http://www.baidu.com</a>&gt;百度&lt;/a&gt;&lt;a href=<a href="http://cn.bing.com">http://cn.bing.com</a>&gt;必应&lt;/a&gt;
&lt;/div&gt;
&lt;a href=<a href="http://www.biaodianfu.com">http://www.biaodianfu.com</a>&gt;标点符&lt;/a&gt;
&lt;script type="text/javascript"&gt;
var demo = document.getElementById('test');
        for (var i = 0; i &lt; demo.childNodes.length; i++) {
            if (demo.childNodes[i].tagName == 'A')
                demo.childNodes[i].target = '_blank';
        }
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Related posts:<ol>
<li><a href='http://www.biaodianfu.com/js-css-chang-color.html' rel='bookmark' title='JS+CSS实现隔行换色'>JS+CSS实现隔行换色</a></li>
<li><a href='http://www.biaodianfu.com/seo-doc.html' rel='bookmark' title='SEO代码优化规范'>SEO代码优化规范</a></li>
<li><a href='http://www.biaodianfu.com/gapi-google-analytics-php-interface.html' rel='bookmark' title='使用 PHP导出Google Analytics数据。'>使用 PHP导出Google Analytics数据。</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/js-target-blank.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在线站长工具</title>
		<link>http://www.biaodianfu.com/zaixianzhanzhanggongju.html</link>
		<comments>http://www.biaodianfu.com/zaixianzhanzhanggongju.html#comments</comments>
		<pubDate>Sun, 19 Jul 2009 02:39:08 +0000</pubDate>
		<dc:creator>标点符</dc:creator>
				<category><![CDATA[实用网站]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Sprite]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[压缩]]></category>
		<category><![CDATA[圆角]]></category>

		<guid isPermaLink="false">http://www.biaodianfu.com/?p=229</guid>
		<description><![CDATA[1.W3C HTML验证 地址：http://validator.w3.org/ 2.W3C CSS 验证 地址：http://jigsaw.w3.org/css-validator/ 3.JS压缩（解压） 地址：http://www.biaodianfu.com/js-yasuo/ 4.CSS压缩（解压） 简介：用于清除CSS文件中的空格和格式，加快CSS加载速度。 地址：http://www.cleancss.com/ 5.图片压缩（支持PNG,GIF) 地址：http://smush.it/ 6.CSS Sprite Generator 简介：CSS sprites（CSS 图片拼合）技术是将多张图片以一定间距合并为一个大图片，利用CSS中的background-position属性来显示大图片中的特定位置。 用来降低HTTP 连接请求数. 提高网页加载速度，尤其是网页上有众多小图片时效果显著 地址1：http://www.csssprites.com/ 地址2：http://spritegen.website-performance.org/ 7.CSS圆角生成器 地址：http://www.spiffycorners.com/ Related posts: PR=10 网站列表 使用JS让链接从新窗口打开 IIS日志配置方案]]></description>
			<content:encoded><![CDATA[<p>1.<strong>W3C HTML验证</strong></p>
<p>地址：<a href="http://validator.w3.org/">http://validator.w3.org/</a></p>
<p>2.<strong>W3C CSS 验证</strong></p>
<p>地址：<a href="http://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator/</a></p>
<p>3.<strong>JS压缩（解压）</strong></p>
<p>地址：<a href="http://www.biaodianfu.com/js-yasuo/">http://www.biaodianfu.com/js-yasuo/</a></p>
<p>4.<strong>CSS压缩（解压）</strong></p>
<p>简介：用于清除CSS文件中的空格和格式，加快CSS加载速度。</p>
<p>地址：<a href="http://www.cleancss.com/">http://www.cleancss.com/</a></p>
<p>5.<strong>图片压缩（支持PNG,GIF)</strong></p>
<p>地址：<a href="http://smush.it/">http://smush.it/</a></p>
<p>6.<strong>CSS Sprite Generator</strong></p>
<p>简介：CSS sprites（CSS 图片拼合）技术是将多张图片以一定间距合并为一个大图片，利用CSS中的<code>background-position属性来显示大图片中的特定位置。</code> 用来降低HTTP 连接请求数. 提高网页加载速度，尤其是网页上有众多小图片时效果显著</p>
<p>地址1：<a href="http://www.csssprites.com/">http://www.csssprites.com/</a></p>
<p>地址2：<a href="http://spritegen.website-performance.org/">http://spritegen.website-performance.org/</a></p>
<p>7.<strong>CSS圆角生成器</strong></p>
<p>地址：<a href="http://www.spiffycorners.com/">http://www.spiffycorners.com/</a></p>
<p>Related posts:<ol>
<li><a href='http://www.biaodianfu.com/pr-10-website.html' rel='bookmark' title='PR=10 网站列表'>PR=10 网站列表</a></li>
<li><a href='http://www.biaodianfu.com/js-target-blank.html' rel='bookmark' title='使用JS让链接从新窗口打开'>使用JS让链接从新窗口打开</a></li>
<li><a href='http://www.biaodianfu.com/iis-log.html' rel='bookmark' title='IIS日志配置方案'>IIS日志配置方案</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.biaodianfu.com/zaixianzhanzhanggongju.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

