﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-逛奔的蜗牛-随笔分类-其他编程</title><link>http://www.cppblog.com/biao/category/10227.html</link><description> 我不聪明，但我会很努力</description><language>zh-cn</language><lastBuildDate>Fri, 25 Jul 2014 08:42:35 GMT</lastBuildDate><pubDate>Fri, 25 Jul 2014 08:42:35 GMT</pubDate><ttl>60</ttl><item><title>网文：程序员的样子</title><link>http://www.cppblog.com/biao/archive/2013/04/25/199700.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Thu, 25 Apr 2013 00:10:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2013/04/25/199700.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/199700.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2013/04/25/199700.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/199700.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/199700.html</trackback:ping><description><![CDATA[<a href="http://static.oschina.net/uploads/img/201304/24171814_RypV.gif" target="_blank" style="padding: 0px; margin: 0px; color: #cc0000; outline: 0px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171814_RypV.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a><span style="font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "></span>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">往运行服务器上直接上传文件时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171816_jVMa.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171816_jVMa.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当老板说项目如果能赶在最后期限前开发完成将会有一笔奖金时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171818_9pQm.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171818_9pQm.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当凌晨3点还在修改bug时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171818_zQlt.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171818_zQlt.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当发现没有按CTRL-S就关闭了文件时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171818_vBZG.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171818_vBZG.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当使用正则表达式返回了想要的结果时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171820_hI9c.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171820_hI9c.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">第一次使用CSS美化页面时的效果</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171820_qS3F.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171820_qS3F.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当所有人都在办公室挥汗如雨的加班而你却能安然的回家度周末时的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171821_jG3D.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171821_jG3D.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当老板想找一个人来修改这个严重bug时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171822_Av8F.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171822_Av8F.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当发现有东西上周五还好用而到了周一不好用了时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171822_QejS.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171822_QejS.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当经过了数小时的努力后第一次运行开发出的脚本时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171823_TiBO.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171823_TiBO.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">当在没有使用谷歌搜索的情况下就找到了问题解决方案时程序员的样子</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://static.oschina.net/uploads/img/201304/24171828_VFZg.gif" target="_blank" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "><img alt="" src="http://static.oschina.net/uploads/img/201304/24171828_VFZg.gif" width="550" style="padding: 0px; margin: 0px; border: 0px; max-width: 600px; cursor: pointer; " /></a></p>
<h3 style="padding: 0px; margin: 20px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">做市场的那帮家伙告诉程序员他们是这样销售软件的</h3>
<p style="padding: 0px; margin: 0px 0px 10px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; "><a href="http://ihacker.taobao.com/" rel="nofollow" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; "></a></p>
<div style="margin: 0px; font-family: Verdana, sans-serif, 宋体; line-height: 22px; text-align: left; background-color: #ffffff; ">[英文原文：&nbsp;<a href="http://www.muylinux.com/2013/02/01/homenaje-a-los-desarrolladores-humor/" rel="nofollow" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; ">Homenaje a los desarrolladores [Humor]</a>&nbsp;/&nbsp;<a href="http://www.aqee.net/the-reality-of-developers-life/" target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #3e62a6; outline: 0px; ">外刊IT评论</a>]</div>
@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);<img src ="http://www.cppblog.com/biao/aggbug/199700.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2013-04-25 08:10 <a href="http://www.cppblog.com/biao/archive/2013/04/25/199700.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>其他编程：版本控制入门简介</title><link>http://www.cppblog.com/biao/archive/2012/04/27/172924.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Fri, 27 Apr 2012 07:07:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2012/04/27/172924.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/172924.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2012/04/27/172924.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/172924.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/172924.html</trackback:ping><description><![CDATA[<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana; text-align: left; background-color: #e5ecf4; ">版本控制已经出现有些年头了。然而，我还是会被人问起一些，诸如版本控制是什么或者它是如何工作的，这样基础的问题。本文会概括地解释版本控制解决的重要问题，本文使用的场景针对的是源代码版本控制。</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana; text-align: left; background-color: #e5ecf4; "><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />目前有很多不同类型的版本控制系统（Version Control System， VCS）。一些VCS，比如<a href="http://subversion.apache.org/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">Subversion</a>和<a href="http://savannah.nongnu.org/projects/cvs" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">CVS</a>，以中央仓库（repository）为中心进行架构。此外，还有分布式的VCS（Distributed VCS，DVCS），&nbsp;<a href="http://git-scm.com/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">Git</a>&nbsp;和&nbsp;<a href="http://mercurial.selenic.com/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">Mercurial</a>&nbsp;是两个新近出现的DVCS。然而，在上述两种类型的环境中，通常会有一个&#8220;指定的&#8221;中央仓库。对应地，比如一个Subversion服务器或者一个<a href="https://github.com/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">GitHub</a>仓库。下面会基于这个场景进行图示说明。那么让我们开始吧。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />在开发者拷贝到本机之前，服务器需要创建一个仓库。创建初始仓库会由于产品不同而有所差别。从现在起，你所要知道的就是，在服务器上有一个初始空间。我把这个版本称作版本&#8220;A&#8221;。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><a href="http://img.cnbeta.com/newsimg/120427/08104301990317868.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; "><img title="VCS1" src="http://img.cnbeta.com/newsimg/120427/08104301990317868.png" altwidth="237" style="margin-top: 5px !important; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: initial; clear: both; display: block; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: #d4d4d4; border-right-color: #d4d4d4; border-bottom-color: #d4d4d4; border-left-color: #d4d4d4; "  alt="" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />现在，每个开发者（开发者1和开发者2）都会拷贝版本&#8220;A&#8221;到他们本地电脑。再一次地，从服务器拷贝的过程会由于产品不同采用的技术会有所差别。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><a href="http://img.cnbeta.com/newsimg/120427/0810451132929552.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; "><img title="VCS2" src="http://img.cnbeta.com/newsimg/120427/0810451132929552.png" altwidth="243" style="margin-top: 5px !important; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: initial; clear: both; display: block; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: #d4d4d4; border-right-color: #d4d4d4; border-bottom-color: #d4d4d4; border-left-color: #d4d4d4; "  alt="" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />每个开发者会在他们的本地拷贝上进行开发。他们的本地拷贝基于版本&#8220;A&#8221;。然而，由于他们<em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">应该不会</em>做同样的开发，因而他们的版本会有所差别。因此，会有2个以上的版本会同时被创建，比如版本&#8220;B&#8221;和版本&#8220;C&#8221;。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><a href="http://img.cnbeta.com/newsimg/120427/08104621156274916.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; "><img title="VCS3" src="http://img.cnbeta.com/newsimg/120427/08104621156274916.png" altwidth="317" style="margin-top: 5px !important; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: initial; clear: both; display: block; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: #d4d4d4; border-right-color: #d4d4d4; border-bottom-color: #d4d4d4; border-left-color: #d4d4d4; "  alt="" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />开发者1首先完成了她的工作并提交到服务器。服务器上的当前版本被更新成版本&#8220;B&#8221;。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><a href="http://img.cnbeta.com/newsimg/120427/08104831137474324.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; "><img title="VCS4" src="http://img.cnbeta.com/newsimg/120427/08104831137474324.png" altwidth="317" style="margin-top: 5px !important; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: initial; clear: both; display: block; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: #d4d4d4; border-right-color: #d4d4d4; border-bottom-color: #d4d4d4; border-left-color: #d4d4d4; "  alt="" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />开发者2现在完成了他的工作并试图提交到服务器。然而，这是服务器告知他基于开发的版本已经发生改变。<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">这也是为什么采取版本控制的首要原因之一。</strong>这个特性是对网络共享代码然后由开发者手动更新的一个跨越式发展，这确保了之前的编辑没有被新的修改覆盖。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><a href="http://img.cnbeta.com/newsimg/120427/08104941810307228.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; "><img title="VCS5" src="http://img.cnbeta.com/newsimg/120427/08104941810307228.png" altwidth="396" style="margin-top: 5px !important; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: initial; clear: both; display: block; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: #d4d4d4; border-right-color: #d4d4d4; border-bottom-color: #d4d4d4; border-left-color: #d4d4d4; "  alt="" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />开发者2必须首先获得所有版本&#8220;B&#8221;的变化，并合并到他的修改中，然后才可以提交到服务器。这个过程听起来有些复杂。然而，大多数现代的版本控制系统十分高级，能够自动在开发者的本地拷贝上完成合并。有几种情况会产生冲突（例如：开发者1和开发者2同时修改了同一个文件的同一行）。这就是一些VCS产品比其他更高级的地方。不论如何完成合并，现在开发者2在他们的本地系统上同时混合了版本B和版本C。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><a href="http://img.cnbeta.com/newsimg/120427/0810515916028618.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; "><img title="VCS6" src="http://img.cnbeta.com/newsimg/120427/0810515916028618.png" altwidth="459" style="margin-top: 5px !important; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: initial; clear: both; display: block; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: #d4d4d4; border-right-color: #d4d4d4; border-bottom-color: #d4d4d4; border-left-color: #d4d4d4; "  alt="" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />现在开发者2可以提交他的版本到服务器。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /><a href="http://img.cnbeta.com/newsimg/120427/08105262025047221.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; "><img title="VCS7" src="http://img.cnbeta.com/newsimg/120427/08105262025047221.png" altwidth="410" style="margin-top: 5px !important; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: initial; clear: both; display: block; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: #d4d4d4; border-right-color: #d4d4d4; border-bottom-color: #d4d4d4; border-left-color: #d4d4d4; "  alt="" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />这是一个版本控制的基础。通过注意观察图中服务器的连线可以发现版本控制的原理。服务器记录了所有先前的版本包括发生的变化，什么时候发生以及由谁进行修改。当需要进行代码回溯或者引入其他bug时，这个记录能够解除困境。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />我希望本文能够为版本控制系统提供一个基础的介绍。如果你有任何疑问，请就你问题发表评论。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />英文原文：<a href="http://www.greenmoonsoftware.com/2012/04/04/an-introduction-to-version-control/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">greenmoonsoftware&nbsp;</a>编译：<a href="http://www.jobbole.com/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">伯乐</a>在线 &#8211;&nbsp;<a href="http://blog.jobbole.com/11590/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #003366; text-decoration: none; ">唐尤华</a></p><img src ="http://www.cppblog.com/biao/aggbug/172924.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2012-04-27 15:07 <a href="http://www.cppblog.com/biao/archive/2012/04/27/172924.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript：10 款强大的JavaScript图表图形插件推荐</title><link>http://www.cppblog.com/biao/archive/2012/03/17/168156.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Fri, 16 Mar 2012 22:42:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2012/03/17/168156.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/168156.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2012/03/17/168156.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/168156.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/168156.html</trackback:ping><description><![CDATA[<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">网上有很多用于绘制图表图形的免费JavaScript插件和图表库，这类插件大量出现的原因，一是人们不再依赖于Flash，二是浏览器和精密的计算使呈现实时数据变得容易，而且各种向量绘图技术像VML、SVG和Canvas的发展也使之成为可能。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">本文推荐10款强大的绘制图表图形的JavaScript插件。其中一些插件需要主流浏览器的支持，而另外一些经过整合后，也能在不同的平台和老版本的浏览器上工作。有些工具是独立的框架，大部分支持常规的功能：条形图、线形图、饼形图，有的还可以生成更复杂的图表：关联图、维恩图、热区图、Newick树图、二维散点图、二维气泡图、三维散点图。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://www.humblesoftware.com/finance/index" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>1. Humble Finance</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">这是一个非常好用的HTML5数据可视化工具，与Flash工具颇为相似。基于JavaScript，利用了Prototype 和 Flotr 库，可用于显示两组实时二维数据。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8270/d4224798-49bf-32c9-b70b-bec6390dd661.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://mbostock.github.com/d3/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>2. D3</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">D3是最流行的可视化库之一，它可以将任意数据绑定到DOM（Document Object Model，文档对象模型），然后对该文件提供数据驱动转换。还可以将一组数据生成基本的HTML表，或生成一个SVG条形图。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8272/84e17f29-b4c4-3de3-ae3a-850530fdeeeb.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://shutterstock.github.com/rickshaw/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>3. Rickshaw</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">Rickshaw可以创建交互时间序列图。它依赖于D3的可视化库，需要一些扩展比如jQuery和jQuery UI来辅助实现。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8274/eb40e245-3bcb-3302-ad69-b3e14dd9fc42.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://www.jqplot.com/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>4. jqPlot</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">这是一个基于jQuery（最流行的JavaScript库）的绘图制表插件。jqPlot可以生成线形图、条形图、饼形图。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8276/3e3e2ba9-05b1-378e-b33c-b3af8f8e35c5.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://www.rgraph.net/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>5. rGraph</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">这是HTML5的JS图表库，拥有20多个类型的图表。利用最新的HTML5 canvas标签，这个工具可在网页浏览器中生成JavaScript的图表，这意味着更快的网页加载和更少的Web服务器负载。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8278/442b4195-794e-3a8b-92fb-ee9daef1870d.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://dygraphs.com/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>6. Digraphs</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">开源JS库，能生成交互、可缩放的时间序列图表。可显示密集的数据组，用户还可对这些数据进行分析和说明。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8280/431ef6a6-08db-38a8-8dee-2438b6d27183.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://canvasxpress.org/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>7. CanvasXpress</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">一个基于HTML5标签的库，支持大量极其复杂的图表和图形。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8282/24a286dc-fa62-303a-9717-d7f355fff739.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://g.raphaeljs.com/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>8. gRaphael</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">这个工具可在网站上创建美观的图表，它基于Raphael图形库，可以查看静态图表和互动图表的演示。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8284/85dd29dc-7a04-3788-928b-ce1dec5d86a0.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://www.humblesoftware.com/flotr2/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>9. Flotr2</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">一个独立框架库，可以绘制HTML5的图表图形，实际上是flotr的一个分支，功能更完善。可生成线形图、条形图、烛形图、饼形图和气泡图，还支持旧的浏览器（如IE 6）和移动平台。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8286/55c8d32f-ad41-3625-a966-c58e403fe639.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<a href="http://cyberpython.github.com/AwesomeChartJS/" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><strong>10. Awesome Chart JS</strong></a><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">顾名思义，这是一个很棒的JavaScript库，它可用于创建基于HTML 5 canvas元素的图表。这个库很简单，只需要几行代码就能快速生成简单的图表。&nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<div style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; background-color: #f7f7f7; text-align: center; "><img src="http://dl.iteye.com/upload/attachment/0064/8288/aa90a8e1-7def-3463-b46e-3528e365766a.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "  alt="" /></div>
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " />
<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">英文原文：</span><a href="http://smashinghub.com/awesome-javascript-plugins.htm" target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">10 Awesome Javascript Plugins For Plotting Charts and Graphs</a>
@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);<img src ="http://www.cppblog.com/biao/aggbug/168156.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2012-03-17 06:42 <a href="http://www.cppblog.com/biao/archive/2012/03/17/168156.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Html：Sublime Text 2 使用的主题：Black Perl</title><link>http://www.cppblog.com/biao/archive/2012/01/20/164414.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Fri, 20 Jan 2012 07:56:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2012/01/20/164414.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/164414.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2012/01/20/164414.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/164414.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/164414.html</trackback:ping><description><![CDATA[@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
<div>Black Perl:&nbsp;<a href="/Files/biao/Black-Perl.tmTheme.zip">/Files/biao/Black-Perl.tmTheme.zip</a></div>
<div><br />
</div>
<img src="http://www.cppblog.com/images/cppblog_com/biao/Black-Perl.png" width="689" height="789" alt="" />&nbsp;
<div><br />
</div>
<div>背景微微亮点，也许有时候更舒服:</div>
<div><a href="/Files/biao/Black-Pearl2.tmTheme.zip">/Files/biao/Black-Pearl2.tmTheme.zip</a><br />
</div>
<div><img src="http://www.cppblog.com/images/cppblog_com/biao/Black-Pearl2.png" width="720" height="787" alt="" /><br />
</div><img src ="http://www.cppblog.com/biao/aggbug/164414.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2012-01-20 15:56 <a href="http://www.cppblog.com/biao/archive/2012/01/20/164414.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Html：Sublime Text 2 使用的主题：Espresso Soda</title><link>http://www.cppblog.com/biao/archive/2012/01/17/164313.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Tue, 17 Jan 2012 10:58:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2012/01/17/164313.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/164313.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2012/01/17/164313.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/164313.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/164313.html</trackback:ping><description><![CDATA[<div>下载连接：<a href="/Files/biao/Espresso-Soda.tmTheme.zip">/Files/biao/Espresso-Soda.tmTheme.zip</a></div>
<div><br />
</div>
<img src="http://www.cppblog.com/images/cppblog_com/biao/Espresso-Soda.png" width="720" height="787" alt="" />&nbsp;<img src ="http://www.cppblog.com/biao/aggbug/164313.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2012-01-17 18:58 <a href="http://www.cppblog.com/biao/archive/2012/01/17/164313.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Html：Sublime Text 2 的设置</title><link>http://www.cppblog.com/biao/archive/2012/01/16/164276.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Mon, 16 Jan 2012 12:36:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2012/01/16/164276.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/164276.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2012/01/16/164276.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/164276.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/164276.html</trackback:ping><description><![CDATA[@import url(/css/cuteeditor.css);
@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&amp;file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&amp;file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&amp;file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
<span style="color: red; ">Key Bindings User</span>: 快捷键
<div>
<div>
<div>[</div>
<div>&nbsp; &nbsp; { "keys": ["super+;"], "command": "auto_complete" },</div>
<div>&nbsp; &nbsp; { "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },</div>
<div>&nbsp; &nbsp; { "keys": ["super+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },</div>
<div>&nbsp; &nbsp; { "keys": ["alt+super+r"], "command": "find_all_under" },</div>
<div>&nbsp; &nbsp; { "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },</div>
<div>&nbsp; &nbsp; { "keys": ["super+shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line Before.sublime-macro"} },<br />
<div>&nbsp; &nbsp; { // Emmet: Zencoding</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; "keys": [</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ctrl+enter"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; ],</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; "command": "expand_as_you_type",</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; "context": [</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "operand": false,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "operator": "equal",</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "match_all": true,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "key": "setting.is_widget"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "match_all": true,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "key": "emmet_action_enabled.expand_as_you_type"</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; ]</div>
<div>&nbsp; &nbsp; }</div>
</div>
<div>]</div>
</div>
<div><br />
</div>
</div>
<div><br />
</div>
<div>// super在Mac里指的是Cmd键</div>
<div>// 删除当前行: Cmd + d</div>
<div>// 自动补全: Cmd + ;</div>
<div>// 跳到行: Cmd + l</div>
<div>// 修改当前文件中所有的同一个单词: Cmd + Alt + r</div>
<div>// 列出所有的函数 Cmd + r&nbsp;</div>
<div>// 在下一行插入行: Shift + Enter</div>
<div>// 在上一行插入行: Shift + super + Enter</div>
<div><br />
</div>
<div><span style="color: red; ">Settings - User</span>:&nbsp;{</div>
<div>&nbsp; &nbsp; "ignored_packages":</div>
<div>&nbsp; &nbsp; [</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; "Vintage"</div>
<div>&nbsp; &nbsp; ],</div>
<div><br />
</div>
<div>&nbsp; &nbsp; "line_numbers": false,</div>
<div>&nbsp; &nbsp; "open_files_in_new_window": false,</div>
<div>&nbsp; &nbsp; "show_tab_close_buttons": true,</div>
<div>&nbsp; &nbsp; "translate_tabs_to_spaces": true,</div>
<div>&nbsp; &nbsp; "trim_trailing_white_space_on_save": true,</div>
<div>&nbsp; &nbsp; "word_wrap": true,</div>
<div>&nbsp; &nbsp; "wrap_width": 80,</div>
<div><br />
</div>
<div>&nbsp; &nbsp; "theme": "Soda Dark.sublime-theme",</div>
<div>&nbsp; &nbsp; "color_scheme": "Packages/Color Scheme - Default/Black Pearl.tmTheme",</div>
<div>&nbsp; &nbsp; "caret_style": "solid",</div>
<div>&nbsp; &nbsp; "draw_white_space": "selection",</div>
<div>&nbsp; &nbsp; "ensure_newline_at_eof_on_save": true,</div>
<div>&nbsp; &nbsp; "fade_fold_buttons": false,</div>
<div>&nbsp; &nbsp; "font_size": 14.0,</div>
<div>&nbsp; &nbsp; "gutter": true,</div>
<div>&nbsp; &nbsp; "highlight_line": false,</div>
<div>&nbsp; &nbsp; "highlight_modified_tabs": true</div>
<div>}</div>
<div>
<div>
</div>
</div>
<div><br />
</div>
<div>安装插件:&nbsp;</div>
<div>1. 安装Package Control: 按下cmd + `打开Console，输入下面的命令，安装好后重启Sublime Text 2</div>
<div><span style="color: #222222; font-family: 'PT Serif', Georgia, Times, 'Times New Roman', serif, 'Heiti SC', 'Microsoft Yahei', 微软雅黑, 宋体; font-size: 18px; line-height: 27px; ">
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 2.1em; margin-left: 0px; padding-top: 0.8em; padding-right: 1em; padding-bottom: 0.8em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; font-size: 13px; font: inherit; vertical-align: baseline; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; box-shadow: rgba(0, 0, 0, 0.0585938) 0px 0px 10px; background-image: url(http://lucifr.com/images/noise.png?1324406186); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #002b36; border-top-left-radius: 0.4em 0.4em; border-top-right-radius: 0.4em 0.4em; border-bottom-right-radius: 0.4em 0.4em; border-bottom-left-radius: 0.4em 0.4em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #05232b; border-right-color: #05232b; border-bottom-color: #05232b; border-left-color: #05232b; line-height: 1.45em; color: #93a1a1; overflow-x: auto; overflow-y: auto; background-position: 0% 0%; "><code style="margin-top: -1px; margin-right: 0px; margin-bottom: -1px; margin-left: 0px; padding-top: 0px; padding-right: 0.3em; padding-bottom: 0px; padding-left: 0.3em; border-style: initial; border-color: initial; font-size: 1em !important; font: inherit; vertical-align: baseline; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; display: inline-block; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; line-height: 1.5em; color: #93a1a1; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-left-radius: 0.4em 0.4em; border-top-right-radius: 0.4em 0.4em; border-bottom-right-radius: 0.4em 0.4em; border-bottom-left-radius: 0.4em 0.4em; border-width: initial; border-color: initial; ">import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())<br />
</code></pre>
</span></div>
<div>2. Cmd + Shift + P，输入install，然后再输入下面几个插件的名字安装</div>
<div>&nbsp; &nbsp; 2.1 Format SQL // 格式化SQL</div>
<div>&nbsp; &nbsp; 2.2&nbsp;Indent XML // 格式化XML</div>
<div>&nbsp; &nbsp; 2.3&nbsp;Theme - Soda // 安装Soda 主题</div>
<div>&nbsp; &nbsp; 2.4&nbsp;ZenCoding &nbsp;// ZenCoding网页前端开发者的利器，使用Emmet代替，zenCoding过期了: 快捷键：ctr+alt+enter</div>
<div>&nbsp; &nbsp; 2.5 SublimeRope // Python自动补全，打开文档，...</div>
<div>&nbsp; &nbsp; 2.6 Shell-Turtlestein: 运行 shell 命令，快捷键cmd + shift + c&nbsp;<span style="color: #333333; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; "><a class="postlink" href="https://github.com/misfo/Shell-Turtlestein" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; color: #105289; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #368ad2; ">https://github.com/misfo/Shell-Turtlestein</a></span></div>
<div>&nbsp; &nbsp; 2.7 Bracket Highlighter</div>
<div><br />
</div>
<div>3. 安装皮肤：Theme - Soda: 修改过的&nbsp;<a href="/Files/biao/Theme-Soda.zip">/Files/biao/Theme-Soda.zip</a></div>
<div>修改自动补全窗口中被选中项的背景:&nbsp;code-completion-row-selected.png</div>
<div><img src="http://www.cppblog.com/images/cppblog_com/biao/code-completion-row-selected.png" width="16" height="16" alt="" /></div>
<div>效果：</div>
<div><img src="http://www.cppblog.com/images/cppblog_com/biao/Theme-Soda.png" width="328" height="166" alt="" /><br />
</div>
<div><br />
</div>
<div>
<div style="padding: 0px; ">不喜欢显示关闭按钮，但未保存的文档需要显示一个圆点表示未保存：</div>
<div style="padding: 0px; ">
<div style="padding: 0px; ">&nbsp; &nbsp; {</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; // Tab button size</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "class": "tab_close_button",</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "settings": ["show_tab_close_buttons"],</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "content_margin": [0, 0] // Note: 隐藏关闭按钮</div>
<div style="padding: 0px; ">&nbsp; &nbsp; },</div>
<div style="padding: 0px; ">&nbsp; &nbsp; // Tab dirty button</div>
<div style="padding: 0px; ">&nbsp; &nbsp; {</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "class": "tab_close_button",</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "parents": [{"class": "tab_control", "attributes": ["dirty"]}],</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "layer0.texture": "Theme - Soda/Soda Dark/tab-dirty.png",</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "layer0.opacity": 1.0,</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "layer1.opacity": 0.0,</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "content_margin": [8, 8] // Note: 当文档被修改时，显示未保存按钮</div>
<div style="padding: 0px; ">&nbsp; &nbsp; },</div>
<div style="padding: 0px; "><br />
</div>
<div style="padding: 0px; ">
<div style="padding: 0px; ">&nbsp; &nbsp; {</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "class": "auto_complete",</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "row_padding": [2, 0], // 被选中行的上下边距为0</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "layer0.tint": [30, 30, 30],</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "layer0.opacity": 1.0,</div>
<div style="padding: 0px; ">&nbsp; &nbsp; &nbsp; &nbsp; "dark_content": true</div>
<div style="padding: 0px; ">&nbsp; &nbsp; },</div>
</div>
</div>
</div>
<div><br />
</div>
<div>代码着色主题：微微修改过的<span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; line-height: normal; "><a id="_1c18e61e515_HomePageDays_DaysList_ctl00_DayItem_DayList_ctl00_TitleUrl" href="http://www.cppblog.com/biao/archive/2012/01/17/164313.html" style="color: navy; text-decoration: none; ">Espresso Soda</a>:&nbsp;</span></div>
<div><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; line-height: normal; "><a href="http://www.cppblog.com/biao/archive/2012/01/17/164313.html" title="http://www.cppblog.com/biao/archive/2012/01/17/164313.html">http://www.cppblog.com/biao/archive/2012/01/17/164313.html</a></span></div>
<div><br />
</div>
<div>代码着色主题：微微修改过的Black Perl:<span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; line-height: normal; ">&nbsp;</span></div>
<div><a href="http://www.cppblog.com/biao/archive/2012/01/20/164414.html" title="http://www.cppblog.com/biao/archive/2012/01/20/164414.html">http://www.cppblog.com/biao/archive/2012/01/20/164414.html</a><br />
</div>
<div><br />
</div><img src ="http://www.cppblog.com/biao/aggbug/164276.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2012-01-16 20:36 <a href="http://www.cppblog.com/biao/archive/2012/01/16/164276.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Html：Sublime Text 2 – Useful Shortcuts (Mac OS X)</title><link>http://www.cppblog.com/biao/archive/2012/01/16/164274.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Mon, 16 Jan 2012 12:33:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2012/01/16/164274.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/164274.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2012/01/16/164274.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/164274.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/164274.html</trackback:ping><description><![CDATA[<span  style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px; ">
<h2 style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0.5em; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-size: 20px; border-top-width: 4px; border-top-style: solid; border-top-color: #e0e0e0; ">General</h2>
<table style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: inherit; line-height: 1.4em; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;T</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">go to file</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8963;P</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">go to project</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;R</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">go to methods</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963;G</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">go to line</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;KB</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">toggle side bar</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;P</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">command prompt</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963; `</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">python console</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;N</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">new window (useful for new project)</td>
        </tr>
    </tbody>
</table>
<h2 style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0.5em; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-size: 20px; border-top-width: 4px; border-top-style: solid; border-top-color: #e0e0e0; ">Editing</h2>
<table style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: inherit; line-height: 1.4em; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;L</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">select line (repeat select next lines)</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;D</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">select word (repeat select others occurrences in context for multiple editing)</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963;&#8679;M</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">select content into brackets</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;&#8617;</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">insert line before</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8617;</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">inter line after</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963;&#8679;K</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">delete line</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;KK</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">delete from cursor to end of line</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;K&#9003;</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">delete from cursor to start of line</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;D</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">duplicate line(s)</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;J</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">join lines</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;KU</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">upper case</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;KL</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">lower case</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984; /</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">comment</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8997; /</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">block comment</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;Y</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">redo or repeat</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;V</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">past and ident</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963; space</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">autocomplete (repeat to select next suggestion)</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963;M</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">jump to matching brackets</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;U</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">soft undo (movement undo)</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;U</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">soft redo (movement redo)</td>
        </tr>
    </tbody>
</table>
<h2 style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0.5em; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-size: 20px; border-top-width: 4px; border-top-style: solid; border-top-color: #e0e0e0; ">XML/HTML</h2>
<table style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: inherit; line-height: 1.4em; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;A</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">select content into tag</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8997; .</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">close tag</td>
        </tr>
    </tbody>
</table>
<h2 style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0.5em; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-size: 20px; border-top-width: 4px; border-top-style: solid; border-top-color: #e0e0e0; ">Find/Replace</h2>
<table style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: inherit; line-height: 1.4em; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;F</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">find</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8997;F</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">replace</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8997;G</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">find next occurrence of current word</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8963;G</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">select all occurrences of current word for multiple editing</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;F</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">find in files</td>
        </tr>
    </tbody>
</table>
<h2 style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0.5em; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-size: 20px; border-top-width: 4px; border-top-style: solid; border-top-color: #e0e0e0; ">Splits/Tabs</h2>
<table style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: inherit; line-height: 1.4em; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8997;1</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">single column</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8997;2</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">two columns</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8997;5</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">grid (4 groups)</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963;[1,2,3,4]</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">focus group</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8963;&#8679;[1,2,3,4]</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">move file to group</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;[1,2,3&#8230;]</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">select tab</td>
        </tr>
    </tbody>
</table>
<h2 style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0.5em; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-size: 20px; border-top-width: 4px; border-top-style: solid; border-top-color: #e0e0e0; ">Bookmarks</h2>
<table style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: inherit; line-height: 1.4em; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;F2</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">toggle bookmark</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">F2</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">next bookmark</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8679;F2</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">previous bookmark</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;&#8679;F2</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">clear bookmarks</td>
        </tr>
    </tbody>
</table>
<h2 style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0.5em; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; font-size: 20px; border-top-width: 4px; border-top-style: solid; border-top-color: #e0e0e0; ">Marks</h2>
<table style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: inherit; line-height: 1.4em; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;K space</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">set mark // &#8984;K; for me</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;KW</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">delete from cursor to mark</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;KA</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">select from cursor to mark</td>
        </tr>
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; "><strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.4em; ">&#8984;KG</strong></td>
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.2em; padding-right: 1em; padding-bottom: 0.2em; padding-left: 1em; line-height: 1.4em; ">clear mark</td>
        </tr>
    </tbody>
</table>
<br />
</span>
@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
<div><span  style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px; ">From:&nbsp;https://gist.github.com/1207002/</span></div>
<div><span  style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px; "><br />
</span></div>
<div><span  style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px; ">我的设置:</span></div>
<div><span  style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px; ">Key Bindings User:</span></div>
<div><span  style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px; ">
<div>[</div>
<div>&nbsp; &nbsp; { "keys": ["super+;"], "command": "auto_complete" },</div>
<div>&nbsp; &nbsp; { "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },</div>
<div>&nbsp; &nbsp; { "keys": ["super+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },</div>
<div>&nbsp; &nbsp; { "keys": ["alt+super+r"], "command": "find_all_under" }</div>
<div>]</div>
<div><br />
</div>
</span></div><img src ="http://www.cppblog.com/biao/aggbug/164274.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2012-01-16 20:33 <a href="http://www.cppblog.com/biao/archive/2012/01/16/164274.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Html：Sublime Text 2 入门及技巧</title><link>http://www.cppblog.com/biao/archive/2012/01/15/164215.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sun, 15 Jan 2012 09:09:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2012/01/15/164215.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/164215.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2012/01/15/164215.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/164215.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/164215.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 看了&nbsp;Nettuts+ 对 Sublime Text 2 的介绍，立刻就兴奋了，诚如作者 Jeffrey Way 所说：&#8220;《永远的毁灭公爵》都发布了，TextMate 2 还没发&#8221;，你还能指望它么？TextMate 开发者的消极态度已经无法让人忍受了。而作为一款跨 OS X、Linux 和 Windows 三大系统平台的文字编辑器，Sublime Text 2功能...&nbsp;&nbsp;<a href='http://www.cppblog.com/biao/archive/2012/01/15/164215.html'>阅读全文</a><img src ="http://www.cppblog.com/biao/aggbug/164215.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2012-01-15 17:09 <a href="http://www.cppblog.com/biao/archive/2012/01/15/164215.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Javascript：最漂亮的JavaScript图表工具Highcharts</title><link>http://www.cppblog.com/biao/archive/2011/12/22/162615.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Thu, 22 Dec 2011 13:28:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/12/22/162615.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/162615.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/12/22/162615.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/162615.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/162615.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Highcharts Demo Gallery&#171; Go to the Highcharts home pagePick an example on the left and combine it with a preset theme in the top menu. Click "View options" to inspect the code.Line and ...&nbsp;&nbsp;<a href='http://www.cppblog.com/biao/archive/2011/12/22/162615.html'>阅读全文</a><img src ="http://www.cppblog.com/biao/aggbug/162615.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-12-22 21:28 <a href="http://www.cppblog.com/biao/archive/2011/12/22/162615.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++：浮点数的存储方式</title><link>http://www.cppblog.com/biao/archive/2011/12/18/162330.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sun, 18 Dec 2011 03:20:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/12/18/162330.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/162330.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/12/18/162330.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/162330.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/162330.html</trackback:ping><description><![CDATA[<span  style="font-family: simsun; line-height: 23px; ">float内存存储结构(共4字节，32位分别如下)：<br />
31 30 29----23 22----0 &nbsp;&nbsp;<br />
<br />
实数符号位 指数符号位 指数位 有效数位<br />
其中实数符号位0表示正，1表示负；指数符号位1表示正，0表示负<br />
<br />
float在计算机中的存储计算方法：<br />
1. 先将这个实数的绝对值化为二进制格式，方法是：实数的整数部分是除2取余和小数部分是乘2取整<br />
2. 将这个二进制格式实数的小数点左移或右移n位，直到小数点移动到第一个有效数字的右边。<br />
3. 从小数点右边第一位开始数出二十三位数字放入第22到第0位。<br />
4. 如果实数是正的，则在第31位放入&#8220;0&#8221;，否则放入&#8220;1&#8221;。<br />
5. 如果n 是左移得到的，说明指数是正的，第30位放入&#8220;1&#8221;。如果n是右移得到的或n=0，则第30位放入&#8220;0&#8221;。<br />
6. 如果n是左移得到的，则将n减去1后化为二进制，并在左边加&#8220;0&#8221;补足七位，放入第29到第23位。如果n是右移得到的或n=0，<br />
<br />
则将n化为二进制后在左边加&#8220;0&#8221;补足七位，再各位求反，再放入第29到第23位。&nbsp;&nbsp;<br />
<br />
根据上面那个步骤得：<br />
(1). 23.172001二进制形式为：0001,0111.0010,1100,0000,1000,0100,0001....<br />
(2)左移4位得：1.0111.0010,1100,0000,1000,0100,0001<br />
(3)取小数点后23位得： 0111.0010,1100,0000,1000,010（这23位为float数二进制码的后23位）<br />
(4)第31位： 0<br />
(5)第30位： 1<br />
(6)左移4位，4的二进制0011，不足7位则：0000,011<br />
最后得23.172001在计算机中的二进制表现形式为：0100,0001,1011,1001,0110,0000,0100,0010<br />
二进制转16进制得：41A96042</span>
@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
<div><span  style="font-family: simsun; line-height: 23px; "><br />
</span></div>
<div><span  style="font-family: simsun; line-height: 23px; ">From:&nbsp;http://topic.csdn.net/u/20111217/19/6c5221d6-a779-4e6c-9eb0-72949857dc6e.html?95401</span></div><img src ="http://www.cppblog.com/biao/aggbug/162330.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-12-18 11:20 <a href="http://www.cppblog.com/biao/archive/2011/12/18/162330.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java：随机数是否存在</title><link>http://www.cppblog.com/biao/archive/2011/10/02/157375.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sun, 02 Oct 2011 15:38:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/10/02/157375.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/157375.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/10/02/157375.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/157375.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/157375.html</trackback:ping><description><![CDATA[<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Hiragino Sans GB'">现在有<span style="font: 14.0px Helvetica">1</span><span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">千万个随机数，随机数的范</span>围在<span style="font: 14.0px Helvetica">1</span><span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">到</span><span style="font: 14.0px Helvetica">1</span>亿之间。现在要求写出一种算法，将<span style="font: 14.0px Helvetica">1</span><span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">到</span><span style="font: 14.0px Helvetica">1</span>亿之间没有在随机数中的数求出来。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Hiragino Sans GB'; min-height: 21.0px"><br />
</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica"><span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">一个</span>32<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">位的整数</span>32<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">位表示</span>32<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">个数，</span>1<span style="font: 14.0px 'Hiragino Sans GB'">亿</span>/32 = 3125000<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">，使用</span>3.125 * 4m<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">即可保存</span>1<span style="font: 14.0px 'Hiragino Sans GB'">亿个数</span>. <span style="font: 14.0px 'Hiragino Sans GB'">对于数</span>n<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">，</span>(n-1) / 32 <span style="font: 14.0px 'Hiragino Sans GB'">为其在数组中的下标，</span>table[(n - 1) % 32]<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">与数</span><span style="font: 14.0px 'Hiragino Sans GB'">组中此下标的值使用或操作。</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px"><br />
</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica"><span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">表中</span><span style="font: 14.0px 'Hiragino Sans GB'">值为</span>0000001, 0000010, 0000100<span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">等</span><span style="font: 14.0px 'Hiragino Sans GB'">这样的表示方式，具体的数值使用查表法加快速度</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px"><br />
</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Hiragino Sans GB'"><span style="font: 14.0px 'Hiragino Kaku Gothic ProN'">最后算某</span>值是否存在，使用与操作即可计算出</p><img src ="http://www.cppblog.com/biao/aggbug/157375.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-10-02 23:38 <a href="http://www.cppblog.com/biao/archive/2011/10/02/157375.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java：看样子UEditor也很好用</title><link>http://www.cppblog.com/biao/archive/2011/09/28/157094.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Wed, 28 Sep 2011 09:13:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/09/28/157094.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/157094.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/09/28/157094.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/157094.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/157094.html</trackback:ping><description><![CDATA[<span  style="font-family: Arial; line-height: normal; ">
<div class="head" style="height: 103px; position: relative; ">
<div class="head-logo" style="width: 213px; height: 71px; position: absolute; left: 15px; top: 26px; "><a href="http://ueditor.baidu.com/index.html"><img src="http://ueditor.baidu.com/img/logo.png" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></a></div>
<div class="head-nav" style="width: 620px; height: 29px; position: absolute; right: 0px; top: 46px; overflow-x: hidden; overflow-y: hidden; "><a class="head-nav-item" href="http://ueditor.baidu.com/index.html" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 8px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; ">首页<span class="footer" style="height: 29px; margin-top: 22px; position: absolute; line-height: 29px; color: #cbcbcb; border-top-width: 0px; border-top-style: solid; border-top-color: #efefef; font-size: 12px; display: block; overflow-x: hidden; overflow-y: hidden; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; width: 5px; bottom: 0px; right: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; "></span></a><a class="head-nav-item split" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: url(http://ueditor.baidu.com/img/icons.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 2px; background-position: 0px 0px; background-repeat: initial initial; "></a><a class="head-nav-item" href="http://ueditor.baidu.com/document.html" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 8px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; ">文档<span class="footer" style="height: 29px; margin-top: 22px; position: absolute; line-height: 29px; color: #cbcbcb; border-top-width: 0px; border-top-style: solid; border-top-color: #efefef; font-size: 12px; display: block; overflow-x: hidden; overflow-y: hidden; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; width: 5px; bottom: 0px; right: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; "></span></a><a class="head-nav-item split" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: url(http://ueditor.baidu.com/img/icons.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 2px; background-position: 0px 0px; background-repeat: initial initial; "></a><a class="head-nav-item" href="http://ueditor.baidu.com/onlinedemo.html" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 8px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; ">演示<span class="footer" style="height: 29px; margin-top: 22px; position: absolute; line-height: 29px; color: #cbcbcb; border-top-width: 0px; border-top-style: solid; border-top-color: #efefef; font-size: 12px; display: block; overflow-x: hidden; overflow-y: hidden; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; width: 5px; bottom: 0px; right: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; "></span></a><a class="head-nav-item split" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: url(http://ueditor.baidu.com/img/icons.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 2px; background-position: 0px 0px; background-repeat: initial initial; "></a><a class="head-nav-item" href="http://ueditor.baidu.com/download.html" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 8px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; ">下载<span class="footer" style="height: 29px; margin-top: 22px; position: absolute; line-height: 29px; color: #cbcbcb; border-top-width: 0px; border-top-style: solid; border-top-color: #efefef; font-size: 12px; display: block; overflow-x: hidden; overflow-y: hidden; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; width: 5px; bottom: 0px; right: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; "></span></a><a class="head-nav-item split" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: url(http://ueditor.baidu.com/img/icons.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 2px; background-position: 0px 0px; background-repeat: initial initial; "></a><a class="head-nav-item" href="http://ueditor.baidu.com/teach.html" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 8px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; ">教程<span class="footer" style="height: 29px; margin-top: 22px; position: absolute; line-height: 29px; color: #cbcbcb; border-top-width: 0px; border-top-style: solid; border-top-color: #efefef; font-size: 12px; display: block; overflow-x: hidden; overflow-y: hidden; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; width: 5px; bottom: 0px; right: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; "></span></a><a class="head-nav-item split" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: url(http://ueditor.baidu.com/img/icons.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 2px; background-position: 0px 0px; background-repeat: initial initial; "></a><a class="head-nav-item" href="http://ueditor.baidu.com/about.html" style="font-family: Calibri; display: block; float: left; position: relative; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 8px; text-decoration: none; height: 29px; line-height: 29px; color: #626262; font-size: 16px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; ">关于<span class="footer" style="height: 29px; margin-top: 22px; position: absolute; line-height: 29px; color: #cbcbcb; border-top-width: 0px; border-top-style: solid; border-top-color: #efefef; font-size: 12px; display: block; overflow-x: hidden; overflow-y: hidden; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; width: 5px; bottom: 0px; right: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; "></span></a></div>
</div>
<div class="bananer" style="height: 240px; "><img src="http://ueditor.baidu.com/img/bananer.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></div>
<div class="con" style="height: 660px; ">
<div class="con-left" style="width: 620px; height: 660px; float: left; ">
<div class="con-left-item" style="width: 510px; height: auto; margin-top: 8px; margin-right: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 0px; padding-left: 64px; line-height: 18px; margin-bottom: 15px; ">
<table>
    <tbody>
        <tr>
            <td><img src="http://ueditor.baidu.com/img/simple.jpg" width="40px" height="40px" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></td>
            <td><span style="font-size: 22px; color: #5591da; ">轻量级</span></td>
        </tr>
    </tbody>
</table>
<p>代码精简，加载迅速。</p>
</div>
<div class="con-left-item" style="width: 510px; height: auto; margin-top: 8px; margin-right: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 0px; padding-left: 64px; line-height: 18px; margin-bottom: 15px; ">
<table>
    <tbody>
        <tr>
            <td><img src="http://ueditor.baidu.com/img/custom.jpg" width="40px" height="40px" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></td>
            <td><span style="font-size: 22px; color: #5591da; ">定制化</span></td>
        </tr>
    </tbody>
</table>
<p>全新的分层理念，满足多元化的需求。<br />
采用三层架构：<br />
1.	核心层： 为命令层提供底层API，如range/selection/domUtils类。<br />
2.	命令插件层： 基于核心层开发command命令，命令之间相互独立。<br />
3.	界面层： 为命令层提供用户使用界面。<br />
满足不同层次用户的需求。</p>
</div>
<div class="con-left-item" style="width: 510px; height: auto; margin-top: 8px; margin-right: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 0px; padding-left: 64px; line-height: 18px; margin-bottom: 15px; ">
<table>
    <tbody>
        <tr>
            <td><img src="http://ueditor.baidu.com/img/compatible.jpg" width="40px" height="40px" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></td>
            <td><span style="font-size: 22px; color: #5591da; ">浏览器兼容</span></td>
        </tr>
    </tbody>
</table>
<p>兼容Mozilla, MSIE, FireFox, Maxthon,Safari 和Chrome，实现浏览器无差别化。</p>
</div>
<div class="con-left-item" style="width: 510px; height: auto; margin-top: 8px; margin-right: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 0px; padding-left: 64px; line-height: 18px; margin-bottom: 15px; ">
<table>
    <tbody>
        <tr>
            <td><img src="http://ueditor.baidu.com/img/details.jpg" width="40px" height="40px" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></td>
            <td><span style="font-size: 22px; color: #5591da; ">注重细节</span></td>
        </tr>
    </tbody>
</table>
<p>统一不同浏览器下表格选取方式。<br />
提供黑/白名单的过滤机制。<br />
更好的word支持，实现粘贴转换机制。<br />
</p>
</div>
<div class="con-left-item" style="width: 510px; height: auto; margin-top: 8px; margin-right: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 0px; padding-left: 64px; line-height: 18px; margin-bottom: 15px; ">
<table>
    <tbody>
        <tr>
            <td><img src="http://ueditor.baidu.com/img/stable.jpg" width="40px" height="40px" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></td>
            <td><span style="font-size: 22px; color: #5591da; ">稳定性</span></td>
        </tr>
    </tbody>
</table>
<p>经过专业的QA团队测试，通过上千个测试用例，包括自动化用例和手动用例，目前仍然在不断完善中。</p>
</div>
</div>
<div class="con-right" style="width: 220px; height: 660px; float: left; ">
<div class="con-right-download" style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "><a href="http://ueditor.baidu.com/download/ueditor.zip"><img src="http://ueditor.baidu.com/img/index-download.gif" id="download" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "  alt="" /></a></div>
<div class="con-right-faq" style="height: auto; background-image: url(http://ueditor.baidu.com/img/index-con-right-faq.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 50% 0%; background-repeat: no-repeat no-repeat; ">
<div class="con-right-faq-title" style="height: 30px; line-height: 30px; font-size: 12px; font-weight: bold; text-align: center; color: #656565; ">最新动态</div>
<div class="con-right-faq-item" style="width: 187px; line-height: 19px; margin-top: 12px; margin-right: 0px; margin-bottom: 0px; margin-left: 11px; padding-left: 10px; "><a href="http://ueditor.baidu.com/changelog.html" style="color: #6384c9; text-decoration: none; ">ueditor1.1.6发布</a><br />
<br />
<a href="http://ueditor.baidu.com/changelog.html" style="color: #6384c9; text-decoration: none; ">ueditor1.1.5发布</a><br />
<br />
<a href="http://ueditor.baidu.com/changelog.html" style="color: #6384c9; text-decoration: none; ">ueditor1.1.4发布</a><br />
<br />
<a href="http://ueditor.baidu.com/changelog.html" style="color: #6384c9; text-decoration: none; ">ueditor1.1.3发布</a><br />
<br />
<a href="http://ueditor.baidu.com/changelog.html" style="color: #6384c9; text-decoration: none; ">ueditor1.1.2发布</a><br />
<br />
</div>
<div class="con-right-faq-footer" style="height: 15px; background-image: url(http://ueditor.baidu.com/img/index-con-right-faq.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 50% 100%; background-repeat: no-repeat no-repeat; "></div>
</div>
</div>
<div class="clear" style="font-size: 1px; line-height: 1px; height: 0px; clear: both; "></div>
</div>
<div class="using" style="height: 76px; line-height: 76px; text-indent: 30px; position: relative; background-image: url(http://ueditor.baidu.com/img/index-using.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-repeat: no-repeat no-repeat; ">已支持项目：&nbsp;<a href="http://baike.baidu.com/" target="_blank" style="margin-top: 0px; margin-right: 10px; margin-bottom: 0px; margin-left: 10px; color: #0056a9; ">百科</a>&nbsp;<a href="http://jingyan.baidu.com/" target="_blank" style="margin-top: 0px; margin-right: 10px; margin-bottom: 0px; margin-left: 10px; color: #0056a9; ">经验</a>&nbsp;<a href="http://lvyou.baidu.com/" target="_blank" style="margin-top: 0px; margin-right: 10px; margin-bottom: 0px; margin-left: 10px; color: #0056a9; ">旅游</a>&nbsp;<a href="http://xinzhi.baidu.com/" target="_blank" style="margin-top: 0px; margin-right: 10px; margin-bottom: 0px; margin-left: 10px; color: #0056a9; ">新知</a>&nbsp;<a href="http://space.baidu.com/" target="_blank" style="margin-top: 0px; margin-right: 10px; margin-bottom: 0px; margin-left: 10px; color: #0056a9; ">空间</a>
<div class="using-footer" style="width: 15px; height: 76px; position: absolute; right: 0px; top: 0px; background-image: url(http://ueditor.baidu.com/img/index-using.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 100% 50%; background-repeat: no-repeat no-repeat; "></div>
</div>
<div class="footer" style="height: 60px; margin-top: 22px; position: relative; line-height: 30px; color: #cbcbcb; font-size: 12px; "><a href="http://ueditor.baidu.com/index.html" style="color: #cbcbcb; text-decoration: none; ">Home</a>&nbsp;|&nbsp;<a href="http://ueditor.baidu.com/about.html" style="color: #cbcbcb; text-decoration: none; ">About Us</a></div>
</span><img src ="http://www.cppblog.com/biao/aggbug/157094.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-09-28 17:13 <a href="http://www.cppblog.com/biao/archive/2011/09/28/157094.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java：非常优秀的代码在线编辑器 CodeMirror</title><link>http://www.cppblog.com/biao/archive/2011/07/24/151750.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sun, 24 Jul 2011 06:09:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/07/24/151750.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/151750.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/07/24/151750.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/151750.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/151750.html</trackback:ping><description><![CDATA[<div><a href="http://codemirror.net/">http://codemirror.net/</a><br />
</div>
<div><br />
</div>
<div>支持代码着色，自动缩进</div>
<div><br />
</div>
<img src="http://www.cppblog.com/images/cppblog_com/biao/CodeMirror.png" width="578" height="310" alt="" />&nbsp;<img src ="http://www.cppblog.com/biao/aggbug/151750.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-07-24 14:09 <a href="http://www.cppblog.com/biao/archive/2011/07/24/151750.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>HTML：ckeditor皮肤 chris</title><link>http://www.cppblog.com/biao/archive/2011/03/25/142736.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Fri, 25 Mar 2011 12:52:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/03/25/142736.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/142736.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/03/25/142736.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/142736.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/142736.html</trackback:ping><description><![CDATA[<div><a href="http://www.chrisherberte.com/blog/ckeditor-skin" title="http://www.chrisherberte.com/blog/ckeditor-skin">http://www.chrisherberte.com/blog/ckeditor-skin</a><br></div><img src="http://www.cppblog.com/images/cppblog_com/biao/chris.png" id="" vspace="0" hspace="0" border="" align="baseline" alt="" longdesc=""><img src ="http://www.cppblog.com/biao/aggbug/142736.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-03-25 20:52 <a href="http://www.cppblog.com/biao/archive/2011/03/25/142736.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PHP：相当于javascript中的unescapse</title><link>http://www.cppblog.com/biao/archive/2011/02/24/140565.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Wed, 23 Feb 2011 17:03:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/02/24/140565.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/140565.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/02/24/140565.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/140565.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/140565.html</trackback:ping><description><![CDATA[<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #e30008"><span style="color: #000000">&lt;!DOCTYPE HTML PUBLIC </span>"-//W3C//DTD XHTML 1.0 Transitional//EN"<span style="color: #000000"> </span>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"<span style="color: #000000">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&lt;html&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&lt;head&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #e30008"><span style="color: #000000">&nbsp; &nbsp; &lt;meta http-equiv=</span>"Content-type"<span style="color: #000000"> content=</span>"text/html; charset=utf-8"<span style="color: #000000">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &lt;title&gt;Title&lt;/title&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&lt;/head&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #e30008"><span style="color: #000000">&lt;body style=</span>"padding: 30px;"<span style="color: #000000">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #cd00a6">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; $text = $_GET[<span style="color: #3c00df">'text'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #e30008"><span style="color: #000000">&nbsp; &nbsp; </span><span style="color: #cd00a6">echo</span><span style="color: #000000"> </span>"<span style="font: 11.0px 'Hiragino Kaku Gothic ProN'">收到</span>: $text&lt;br /&gt;"<span style="color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; $text = utf8_unescape($text);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #e30008"><span style="color: #000000">&nbsp; &nbsp; </span><span style="color: #cd00a6">echo</span><span style="color: #000000"> </span>"$text&lt;br /&gt;"<span style="color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; $text = utf8_unescape($text);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #e30008"><span style="color: #000000">&nbsp; &nbsp; </span><span style="color: #cd00a6">echo</span><span style="color: #000000"> </span>"$text&lt;br /&gt;"<span style="color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; $text = utf8_unescape($text);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #e30008"><span style="color: #000000">&nbsp; &nbsp; </span><span style="color: #cd00a6">echo</span><span style="color: #000000"> </span>"$text&lt;br /&gt;"<span style="color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; <span style="color: #cd00a6">echo</span> html_entity_decode(<span style="color: #e30008">"&#xf6;"</span>,null,<span style="color: #3c00df">'UTF-8'</span>)<span style="color: #cd00a6">.</span><span style="color: #e30008">"&lt;br /&gt;"</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; <span style="color: #cd00a6">echo</span> <span style="color: #e30008">"</span><span style="font: 11.0px 'Hiragino Kaku Gothic ProN'; color: #e30008">内容：</span><span style="color: #e30008">"</span>.utf8_unescape(<span style="color: #e30008">"IT%u6709%u9053"</span>);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; <span style="color: #cd00a6">function</span> utf8_unescape($str) {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; $str = preg_replace(<span style="color: #e30008">"/%u([0-9a-f]{3,4}|)/i"</span>,<span style="color: #e30008">"&#x$1;"</span>,$str);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; $str = preg_replace(<span style="color: #e30008">"/%([0-9a-f]{2})/i"</span>,<span style="color: #e30008">"&#x$1;"</span>,$str);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cd00a6">return</span> html_entity_decode($str,null,<span style="color: #3c00df">'UTF-8'</span>);;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; }</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #cd00a6">?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&lt;/body&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &lt;form action=<span style="color: #e30008">"unescapse.php"</span> method=<span style="color: #e30008">"get"</span>&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=<span style="color: #e30008">"text"</span> name=<span style="color: #e30008">"text"</span>/&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=<span style="color: #e30008">"submit"</span> value=<span style="color: #e30008">"Submit"</span>/&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &lt;/form&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &lt;script src=<span style="color: #e30008">"js/lib/jquery.js"</span>&gt;&lt;/script&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &lt;script type=<span style="color: #e30008">"text/javascript"</span>&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; $(<span style="color: #cd00a6">function</span>() {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; $(<span style="color: #e30008">"input:submit"</span>).click(<span style="color: #cd00a6">function</span>() {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008c00"><span style="color: #000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>// escapse(): This function encodes special characters, with the exception of: * @ - _ + . /</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008c00"><span style="color: #000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>// <span style="font: 11.0px 'Hiragino Kaku Gothic ProN'">大于</span>255<span style="font: 11.0px 'Hiragino Kaku Gothic ProN'">的，被</span><span style="font: 11.0px 'Heiti SC Light'">编码成</span>%u + unicode code: %u5BB9</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008c00"><span style="color: #000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>// <span style="font: 11.0px 'Hiragino Kaku Gothic ProN'">于于</span>255<span style="font: 11.0px 'Hiragino Kaku Gothic ProN'">的，被</span><span style="font: 11.0px 'Heiti SC Light'">编码成</span>% + unicode code : %20</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008c00"><span style="color: #000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>// escapse()<span style="font: 11.0px 'Hiragino Kaku Gothic ProN'">不被</span><span style="font: 11.0px 'Heiti SC Light'">转换的字符</span>: 0-9a-zA-Z+-*/.-@</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cd00a6">var</span> text = $(<span style="color: #e30008">"input:text"</span>).val();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(<span style="color: #e30008">"input:text"</span>).val(escape(text));</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).submit();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; });</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; });</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &lt;/script&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&lt;/html&gt;</p>
<img src ="http://www.cppblog.com/biao/aggbug/140565.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-02-24 01:03 <a href="http://www.cppblog.com/biao/archive/2011/02/24/140565.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PHP：PHP中的非贪婪匹配</title><link>http://www.cppblog.com/biao/archive/2011/02/21/140382.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Mon, 21 Feb 2011 08:41:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2011/02/21/140382.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/140382.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2011/02/21/140382.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/140382.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/140382.html</trackback:ping><description><![CDATA[
<div style="background-color: rgb(238, 238, 238); font-size: 13px; border-left-color: rgb(204, 204, 204); padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; "><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">pre</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;?</span><span style="color: #000000; ">php<br></span><span style="color: #008000; ">//</span><span style="color: #008000; ">&nbsp;替换图片的目录为统一路径</span><span style="color: #008000; "><br></span><span style="color: #800080; ">$string</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">a&lt;img&nbsp;src=\</span><span style="color: #000000; ">"a/b</span><span style="color: #000000; ">/</span><span style="color: #000000; ">x</span><span style="color: #000000; ">.</span><span style="color: #000000; ">png\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;,Biao,&lt;img&nbsp;src=\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">uploads</span><span style="color: #000000; ">/</span><span style="color: #000000; ">y</span><span style="color: #000000; ">.</span><span style="color: #000000; ">jpg\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">;<br><br></span><span style="color: #008000; ">//</span><span style="color: #008000; ">&nbsp;/U为非贪婪，这种非贪婪，是从后面向前找，与+?有些区别</span><span style="color: #008000; "><br></span><span style="color: #800080; ">$pattern</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">/&lt;img&nbsp;src=\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">(</span><span style="color: #000000; ">.*</span><span style="color: #000000; ">)\</span><span style="color: #000000; ">/</span><span style="color: #000000; ">(</span><span style="color: #000000; ">.+</span><span style="color: #000000; ">\\</span><span style="color: #000000; ">..+</span><span style="color: #000000; ">)\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;/U</span><span style="color: #000000; ">"</span><span style="color: #000000; ">;&nbsp;<br></span><span style="color: #800080; ">$replacement</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&lt;img&nbsp;src=\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">__IMG_BASE__</span><span style="color: #000000; ">/</span><span style="color: #000000; ">$</span><span style="color: #000000; ">2</span><span style="color: #000000; ">\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">;&nbsp;</span></div><div style="background-color: rgb(238, 238, 238); font-size: 13px; border-left-color: rgb(204, 204, 204); padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; "><span style="color: rgb(128, 0, 128); ">$pattern</span><span style="color: rgb(0, 0, 0); ">&nbsp;</span><span style="color: rgb(0, 0, 0); ">=</span><span style="color: rgb(0, 0, 0); ">"</span><span style="color: rgb(0, 0, 0); ">/&lt;img&nbsp;src=\</span><span style="color: rgb(0, 0, 0); ">"</span><span style="color: rgb(0, 0, 0); ">(</span><span style="color: rgb(0, 0, 0); ">.*</span><span style="color: rgb(0, 0, 0); ">)\</span><span style="color: rgb(0, 0, 0); ">/</span><span style="color: rgb(0, 0, 0); ">(</span><span style="color: rgb(0, 0, 0); ">.+</span><span style="color: rgb(0, 0, 0); ">\\</span><span style="color: rgb(0, 0, 0); ">..+</span><span style="color: rgb(0, 0, 0); ">)\</span><span style="color: rgb(0, 0, 0); ">"</span><span style="color: rgb(0, 0, 0); ">&gt;+?/"</span><span style="color: rgb(0, 0, 0); ">;&nbsp;</span><span style="color: rgb(0, 128, 0); ">//</span><span  style="font-size: 13px; "><span style="color: rgb(0, 128, 0); ">&nbsp;+?结果与上面的不一样</span></span></div><div style="background-color: rgb(238, 238, 238); font-size: 13px; border-left-color: rgb(204, 204, 204); padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; "><span style="color: #000000; "><br></span><span style="color: #0000FF; ">echo</span><span style="color: #000000; ">&nbsp;</span><span style="color: #008080; ">preg_replace</span><span style="color: #000000; ">(</span><span style="color: #800080; ">$pattern</span><span style="color: #000000; ">,</span><span style="color: #000000; ">&nbsp;</span><span style="color: #800080; ">$replacement</span><span style="color: #000000; ">,</span><span style="color: #000000; ">&nbsp;</span><span style="color: #800080; ">$string</span><span style="color: #000000; ">);<br><br></span><span style="color: #008000; ">//</span><span style="color: #008000; ">&nbsp;找出所有的图片，图片名</span><span style="color: #008000; "><br></span><span style="color: #800080; ">$pattern</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">/&lt;img&nbsp;src=\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">(</span><span style="color: #000000; ">.*</span><span style="color: #000000; ">)\</span><span style="color: #000000; ">/</span><span style="color: #000000; ">(</span><span style="color: #000000; ">.+</span><span style="color: #000000; ">\\</span><span style="color: #000000; ">..+</span><span style="color: #000000; ">)\</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;/U</span><span style="color: #000000; ">"</span><span style="color: #000000; ">;<br></span><span style="color: #008080; ">preg_match_all</span><span style="color: #000000; ">(</span><span style="color: #800080; ">$pattern</span><span style="color: #000000; ">,</span><span style="color: #000000; ">&nbsp;</span><span style="color: #800080; ">$string</span><span style="color: #000000; ">,</span><span style="color: #000000; ">&nbsp;</span><span style="color: #800080; ">$images</span><span style="color: #000000; ">);<br></span><span style="color: #008080; ">print_r</span><span style="color: #000000; ">(</span><span style="color: #800080; ">$images</span><span style="color: #000000; ">);<br><br></span><span style="color: #008000; ">//</span><span style="color: #008000; ">&nbsp;输出图片名</span><span style="color: #008000; "><br></span><span style="color: #0000FF; ">foreach</span><span style="color: #000000; ">&nbsp;(</span><span style="color: #800080; ">$images</span><span style="color: #000000; ">[</span><span style="color: #000000; ">2</span><span style="color: #000000; ">]&nbsp;</span><span style="color: #0000FF; ">as</span><span style="color: #000000; ">&nbsp;</span><span style="color: #800080; ">$index</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">=&gt;</span><span style="color: #000000; ">&nbsp;</span><span style="color: #800080; ">$imageName</span><span style="color: #000000; ">)&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF; ">echo</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">$imageName&lt;br/&gt;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">;<br>}<br></span><span style="color: #000000; ">?&gt;</span><span style="color: #000000; "><br></span></div><img src ="http://www.cppblog.com/biao/aggbug/140382.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2011-02-21 16:41 <a href="http://www.cppblog.com/biao/archive/2011/02/21/140382.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PHP：自定义CKFinder上传图片插件</title><link>http://www.cppblog.com/biao/archive/2010/12/25/137461.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sat, 25 Dec 2010 11:19:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/12/25/137461.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/137461.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/12/25/137461.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/137461.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/137461.html</trackback:ping><description><![CDATA[


<div>给CKEditor自定义一个上传文件图片的插件，因为有时候CKFinder并不能满足我们的需求，因为CKFinder不支持JSP.</div><div>解压<a class="" target="" href="/Files/biao/fileuploader.zip">Uploader.zip</a>，然后按其中目录结构放置即可，如果要支持JSP等，照着写后台就可以了。</div><div><br></div><div><div>|----xxxxxxxxxx</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;|----editor.html</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;|----upload-file.php</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;|----ckeditor</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----plugins</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----fileuploader</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----plugin.js</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----css</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----dialog.css</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----dialogs</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----images</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----close.png</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----toolbar-btn.png</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;|----js</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----util.js</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----lib</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----ajaxupload.js</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|----jquery.js</div><div>| &nbsp; &nbsp; &nbsp; &nbsp;|----uploads</div></div><div><br></div><div><br></div><img src="http://www.cppblog.com/images/cppblog_com/biao/fileuploader.png" id="" vspace="0" hspace="0" border="" align="baseline" alt="" longdesc=""><br><img src ="http://www.cppblog.com/biao/aggbug/137461.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-12-25 19:19 <a href="http://www.cppblog.com/biao/archive/2010/12/25/137461.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript：一些代码</title><link>http://www.cppblog.com/biao/archive/2010/12/25/137455.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sat, 25 Dec 2010 09:05:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/12/25/137455.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/137455.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/12/25/137455.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/137455.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/137455.html</trackback:ping><description><![CDATA[<div>JavaScript的一些代码：http://www.jslab.org.cn/ipad.html?tag=FunctionDeclarationaAndFunctionExpression</div><div><br></div><img src="http://www.cppblog.com/images/cppblog_com/biao/jslib.jpg" id="" vspace="0" hspace="0" border="" align="baseline" alt="" longdesc=""><img src ="http://www.cppblog.com/biao/aggbug/137455.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-12-25 17:05 <a href="http://www.cppblog.com/biao/archive/2010/12/25/137455.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>网文：最牛X的程序员</title><link>http://www.cppblog.com/biao/archive/2010/12/17/136780.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Fri, 17 Dec 2010 10:06:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/12/17/136780.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/136780.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/12/17/136780.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/136780.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/136780.html</trackback:ping><description><![CDATA[<span  style="line-height: 15px; color: rgb(0, 134, 198); font-family: 'BBAlpha Sans', 'Prelude Medium', 'S60 Sans', Tahoma, Verdana, Arial, sans-serif; font-size: 12px; ">我是一名程序员。三年前，当我在麻绳理工学院读博士的时候，一家公司聘请我完成一个项目。当我完成学业离开美国以后，该公司需要对程序进行修改，于是聘请了一名程序员来完成这项工作。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">谦虚的说（我一向很谦虚的）：想要理解我编的程序，不是一般人能做到的。在我的程序中，使用了大量的独特算法，富有个性的变量、函数的命名方式，同时，我没有时间给程序作注释！&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">这名程序员在耗费了60余磅体重（三个月没有吃东西，一吃就吐），14英寸身高（在计算机屏幕前弓着背坐了三个月）后，终于。。。。。。（尽管他的绰号叫 &#8220;开心的汤姆&#8221;）死掉了。据现场的目击者介绍，在他生命的最后一刻，跪倒在电脑台前，双手高举过头顶，然后，趴倒在地上，抬起头，表情安详的对着屏幕说： &#8220;英雄!I服了YOU!&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">尸体解剖时医生发现此人的大脑呈现海绵状，但他从出生就从没吃过任何与肉（牛肉、羊肉、猪肉、鱼肉、鸡肉。。。。。。以及人肉）有关的食物。为此该医生发表了一篇论文《后天性用脑过度缺损综合症》。据悉，凭借该论文，该医生已被内定为下届诺被儿医学奖得主。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">微硬公司总裁&#8220;比你-该死&#8221;听说后，利用三个星期的时间，读懂了我的系统中的一个模块，大喜过望，从中领会到软件设计的精髓，决定推出&#8220;.not&#8221;计划以对抗&#8220;.net&#8221;。公司股票在消息发布的两分钟内，暴涨10（此处省略三百二十万字）0％。预计到2100年国际贸易将全部放弃货币，改为采用微硬的股票，各国央行全部以微硬的股票作为外汇储备。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">一位不知名的物理学家躺在浴缸中读懂我的用户需求分析，系统设计书后，突然跳起来，光着身子跑到大街上，欣喜若狂地喊道：&#8220;我找到了！我找到了！&#8221;。他成为全世界第十三名真正理解&#8220;量子力学&#8221;的人。其发表的论文《程序设计与用户需求的测不准原理》成为程序员的圣经，并被世界计算机联合会指定为系统分析员考试用教材。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">一位气象学家浏览了我的程序的界面后，茅塞顿开。完成了基于&#8220;混沌&#8221;理论的&#8220;北极蝴蝶飞行轨迹影响好望角飓风&#8221;的数学模型，并在成功地预报了2002年全球各主要股市的走势（不包括深、沪两市）后，被索洛死指定为量子基金会的接班人（写入量子基金会会章）。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">消息传开，我的有关程序设计的各种资料以各种形式广为流传。由于这些信息在网络上频繁交换，全球共有300万台服务器的CPU被烧毁，鹰的耳公司被迫赔偿4948（死就死吧）亿股微硬股票。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">一名建筑师通过我的源程序获得灵感，建造了一个迷宫主题公园。对于走出迷宫的游客奖赏10000亿股微硬股票。&#8220;截至目前为止，据不完全统计，已经有十二亿三千余万游客在一年时间里陆陆续续进入迷宫，尚无有关领取奖品的报道&#8221;（摘自&#8220;联合国人口促进委员会有关人口流失的报告&#8221;）。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">在阅读我的用户手册后，一名音乐家成功地复原了著名钢琴曲《黑色的星期五》。当第100万个在阅读我的用户手册时听钢琴曲《黑色的星期五》的跳楼者诞生后，该音乐家被以&#8220;恐怖分子&#8221;的罪名逮捕，现被关押在纽约世贸大楼南楼的地下室。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">当听完我当初与公司经理进行交涉的谈话录音后，小不死为&#8220;倒沙&#8221;战争制定了计策：命令全国各媒体公开猜测军事计划，并冠之以&#8220;据军方高层透露&#8221;。以便将沙打亩彻底搞晕。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">联合国秘书长将傻聋和阿拉Fat召集在一起，要求他们选择给我的程序添加注释或是在和平协议上签字。。。。。。我被提名下届诺被儿和平奖。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">IBM公司为良好运行我的程序，决定斥巨资进行超超超级计算机的研制。预期性能：采用P42.8G阵列（4294967296个），内存4T字节，1MT容量的硬盘。&nbsp;<br style="line-height: 15px; ">===================================<br style="line-height: 15px; ">注，这一段写的太白痴了，看来原作者对硬件知之甚少。不过，既然是笑话，大家不妨一笑而过。<br style="line-height: 15px; "><br style="line-height: 15px; ">经过细致研究我当年的投标书和我所完成的程序功能，一名大导演以超豪华的阵容拍摄了一部巨片（巨烂片的简称）《英雌》，并进行了空前的炒作。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">而这家公司的老板将我与他合作的全部过程写成了回忆录，题目叫作《企业要倒闭，就作ERP》。凭其版权收入的税收，使得美国的所得税增幅高达1000％。&nbsp;<br style="line-height: 15px; "><br style="line-height: 15px; ">俱往已。尽管我为世界作出了如此警世骇俗的贡献，但我毅然回国，在一个只有5台电脑的小网吧里工作，并因在一个月里为电脑全部安装完网络协议而赢得广大网友的尊敬。</span>
<img src ="http://www.cppblog.com/biao/aggbug/136780.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-12-17 18:06 <a href="http://www.cppblog.com/biao/archive/2010/12/17/136780.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Javascript：在整个网站中屏蔽右键等</title><link>http://www.cppblog.com/biao/archive/2010/12/17/136696.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Thu, 16 Dec 2010 19:42:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/12/17/136696.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/136696.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/12/17/136696.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/136696.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/136696.html</trackback:ping><description><![CDATA[
<div class="dp-highlighter" style="font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Consolas, 'Courier New', monospace; font-size: 12px; background-color: transparent; width: 694px; overflow-x: auto; overflow-y: auto; margin-left: 9px; padding-top: 1px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; word-break: break-all; word-wrap: break-word; line-height: 18px; "><ol start="1" class="dp-xml" style="font-size: 1em; line-height: 1.4em; margin-top: 0px; margin-right: 0px; margin-bottom: 1px; margin-left: 0px; padding-top: 2px; padding-right: 0px; padding-bottom: 2px; padding-left: 0px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(209, 215, 220); border-right-color: rgb(209, 215, 220); border-bottom-color: rgb(209, 215, 220); border-left-color: rgb(209, 215, 220); list-style-type: decimal; list-style-position: initial; list-style-image: initial; background-color: rgb(255, 255, 255); color: rgb(43, 145, 175); "><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; "><br>&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">html</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">head</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;<span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">meta</span><span style="color: black; ">&nbsp;&nbsp;</span><span class="attribute" style="color: red; ">http-equiv</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">"Content-Type"</span><span style="color: black; ">&nbsp;&nbsp;</span><span class="attribute" style="color: red; ">content</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">"text/html;&nbsp;&nbsp;charset=gb2312"</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;<span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">noscript</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">meta</span><span style="color: black; ">&nbsp;&nbsp;</span><span class="attribute" style="color: red; ">http-equiv</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">"refresh"</span><span style="color: black; ">&nbsp;&nbsp;</span><span class="attribute" style="color: red; ">content</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">"0;url=about:noscript"</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;/</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">noscript</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;<span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">title</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">屏蔽鼠标右键、Ctrl+N、Shift+F10、Alt+F4、F11、F5刷新、退格键</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;/</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">title</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;/</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">head</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">body</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">script</span><span style="color: black; ">&nbsp;&nbsp;</span><span class="attribute" style="color: red; ">language</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">"Javascript"</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&lt;!--&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">//屏蔽鼠标右键、Ctrl+N、Shift+F10、F11、F5刷新、退格键&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">//Author:&nbsp;&nbsp;meizz(梅花雨)&nbsp;&nbsp;2002-6-18&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">function&nbsp;&nbsp;document.oncontextmenu(){<span class="attribute" style="color: red; ">event.returnValue</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">false</span><span style="color: black; ">;}//屏蔽鼠标右键&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">function&nbsp;&nbsp;window.onhelp(){return&nbsp;&nbsp;false}&nbsp;&nbsp;//屏蔽F1帮助&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">function&nbsp;&nbsp;document.onkeydown()&nbsp;</span><span  style="color: rgb(0, 0, 0); ">{ &nbsp; &nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;if&nbsp;&nbsp;((window.event.altKey)&amp;&amp;&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp; ((<span class="attribute" style="color: red; ">window.event.keyCode</span><span style="color: black; ">==37) || //屏蔽&nbsp;&nbsp;Alt+&nbsp;&nbsp;方向键&nbsp;&nbsp;&#8592;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp; (<span class="attribute" style="color: red; ">window.event.keyCode</span><span style="color: black; ">==39)))&nbsp;{&nbsp;//屏蔽&nbsp;&nbsp;Alt+&nbsp;&nbsp;方向键&nbsp;&nbsp;&#8594;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert("不准你使用ALT+方向键前进或后退网页！");&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute" style="color: red; ">event.returnValue</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">false</span><span style="color: black; ">;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;&nbsp;注：这还不是真正地屏蔽&nbsp;&nbsp;Alt+&nbsp;&nbsp;方向键，&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;因为&nbsp;&nbsp;Alt+&nbsp;&nbsp;方向键弹出警告框时，按住&nbsp;&nbsp;Alt&nbsp;&nbsp;键不放，&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用鼠标点掉警告框，这种屏蔽方法就失效了。以后若&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有哪位高手有真正屏蔽&nbsp;&nbsp;Alt&nbsp;&nbsp;键的方法，请告知。*/&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;if ((<span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">==8) || //屏蔽退格删除键&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp; (<span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">==116) || //屏蔽&nbsp;&nbsp;F5&nbsp;&nbsp;刷新键&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp; (event.ctrlKey&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;<span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">==82)) { //Ctrl&nbsp;&nbsp;+&nbsp;&nbsp;R&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">0</span><span style="color: black; ">;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute" style="color: red; ">event.returnValue</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">false</span><span style="color: black; ">;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;if (<span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">==122){</span><span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">0</span><span style="color: black; ">;</span><span class="attribute" style="color: red; ">event.returnValue</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">false</span><span style="color: black; ">;} //屏蔽F11&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;if (event.ctrlKey&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;<span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">==78)&nbsp;&nbsp;</span><span class="attribute" style="color: red; ">event.returnValue</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">false</span><span style="color: black; ">; //屏蔽&nbsp;&nbsp;Ctrl+n&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;if (event.shiftKey&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;<span class="attribute" style="color: red; ">event.keyCode</span><span style="color: black; ">==121)</span><span class="attribute" style="color: red; ">event.returnValue</span><span style="color: black; ">=</span><span class="attribute-value" style="color: blue; ">false</span><span style="color: black; ">; //屏蔽&nbsp;&nbsp;shift+F10&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;if (<span class="attribute" style="color: red; ">window.event.srcElement.tagName</span><span style="color: black; ">&nbsp;&nbsp;==&nbsp;&nbsp;"A"&nbsp;&nbsp;&amp;&amp;&nbsp;&nbsp;window.event.shiftKey)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute" style="color: red; ">window.event.returnValue</span><span style="color: black; ">&nbsp;&nbsp;=&nbsp;&nbsp;</span><span class="attribute-value" style="color: blue; ">false</span><span style="color: black; ">; //屏蔽&nbsp;&nbsp;shift&nbsp;&nbsp;加鼠标左键新开一网页&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;if ((window.event.altKey)&amp;&amp;(<span class="attribute" style="color: red; ">window.event.keyCode</span><span style="color: black; ">==115))&nbsp;{&nbsp;//屏蔽Alt+F4</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">}&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;/</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">script</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">屏蔽鼠标右键、Ctrl+N、Shift+F10、Alt+F4、F11、F5刷新、退格键&nbsp;&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; ">&nbsp;&nbsp;&nbsp;</span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;/</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">body</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;&nbsp;&nbsp;</span></span></li><li style="font-size: 1em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 38px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(209, 215, 220); background-color: rgb(250, 250, 250); line-height: 18px; "><span style="color: black; "><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&lt;/</span><span class="tag-name" style="color: rgb(0, 102, 153); font-weight: bold; ">html</span><span class="tag" style="color: rgb(0, 102, 153); font-weight: bold; ">&gt;</span><span style="color: black; ">&nbsp;&nbsp;</span></span></li></ol></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, sans-serif, Helvetica, Tahoma; font-size: 12px; line-height: 18px; ">&nbsp;</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Arial, sans-serif, Helvetica, Tahoma; font-size: 12px; line-height: 18px; ">From:&nbsp;http://51jsr.javaeye.com/blog/845130</p><img src ="http://www.cppblog.com/biao/aggbug/136696.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-12-17 03:42 <a href="http://www.cppblog.com/biao/archive/2010/12/17/136696.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Html：同域iFrame自适应高度</title><link>http://www.cppblog.com/biao/archive/2010/12/14/136390.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Tue, 14 Dec 2010 08:52:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/12/14/136390.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/136390.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/12/14/136390.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/136390.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/136390.html</trackback:ping><description><![CDATA[


<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593">兼容IE6, Firefox, Safari, Opera.</span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593">只支持同域的iFrame，不支持跨域</span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593"><br></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593"><br></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593"><strong><span style="FONT-SIZE: 14pt "><span style="COLOR:red">方法一: 使用jquery插件:&nbsp;</span></span></strong></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593">From:&nbsp;http://www.lost-in-code.com/programming/jquery-auto-iframe-height/</span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593">http://www.lost-in-code.com/wp-content/projects/auto-iframe-height/jquery.autoheight.js</span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><font  color="#009593"><br></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593">&lt;!</span><span style="color: #329492">DOCTYPE</span><span style="color: #000000"> </span><span style="color: #009593">html</span><span style="color: #000000"> </span><span style="color: #929292">PUBLIC</span><span style="color: #000000"> </span><span style="color: #009593">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span><span style="color: #000000"> </span>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;</span>html<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;</span>head<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; <span style="color: #009593">&lt;</span><span style="color: #329492">title</span><span style="color: #009593">&gt;</span>Auto iFrame Height<span style="color: #009593">&lt;/</span><span style="color: #329492">title</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #000000">&nbsp; &nbsp; </span><span style="color: #009593">&lt;</span><span style="color: #329492">script</span><span style="color: #000000"> </span><span style="color: #a20095">type</span><span style="color: #000000">=</span>"text/javascript"<span style="color: #000000"> </span><span style="color: #a20095">src</span><span style="color: #000000">=</span>"js/jquery.js"<span style="color: #009593">&gt;&lt;/</span><span style="color: #329492">script</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #000000">&nbsp; &nbsp; </span><span style="color: #009593">&lt;</span><span style="color: #329492">script</span><span style="color: #000000"> </span><span style="color: #a20095">type</span><span style="color: #000000">=</span>"text/javascript"<span style="color: #000000"> </span><span style="color: #a20095">src</span><span style="color: #000000">=</span>"js/jquery.autoheight.js"<span style="color: #009593">&gt;&lt;/</span><span style="color: #329492">script</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;/</span>head<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;</span>body<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #000000">&nbsp; &nbsp; </span><span style="color: #009593">&lt;</span><span style="color: #329492">div</span><span style="color: #000000"> </span><span style="color: #a20095">align</span><span style="color: #000000">=</span>"center"<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009593">&lt;</span><span style="color: #329492">h1</span><span style="color: #009593">&gt;</span>Auto iFrame Height<span style="color: #009593">&lt;/</span><span style="color: #329492">h1</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #000000">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #009593">&lt;</span><span style="color: #329492">iframe</span><span style="color: #000000">&nbsp;</span><span style="color: #a20095">class</span><span style="color: #000000">=</span>"autoHeight"<span style="color: #000000"> </span><span style="color: #a20095">width</span><span style="color: #000000">=</span>"100%"<span style="color: #000000"> </span><span style="color: #a20095">frameborder</span><span style="color: #000000">=</span>"0"<span style="color: #000000"> </span><span style="color: #a20095">scrolling</span><span style="color: #000000">=</span>"no"<span style="color: #000000"> </span><span style="color: #a20095">src</span><span style="color: #000000">=</span>"2col.html"<span style="color: #009593">&gt;&lt;/</span><span style="color: #329492">iframe</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; <span style="color: #009593">&lt;/</span><span style="color: #329492">div</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;/</span>body<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;/</span>html<span style="color: #009593">&gt;</span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593"><br></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593"><br></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593"><span style="COLOR:red"><span style="FONT-SIZE: 18pt "><span style="FONT-SIZE: 14pt ">方法二:&nbsp;</span></span></span></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">From:&nbsp;http://www.javaeye.com/topic/839143</span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593"><br></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593"></span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #009593">&lt;!</span><span style="color: #329492">DOCTYPE</span><span style="color: #000000"> </span><span style="color: #009593">HTML</span><span style="color: #000000"> </span><span style="color: #929292">PUBLIC</span><span style="color: #000000"> </span><span style="color: #009593">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span><span style="color: #000000"> </span>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;</span>html<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;</span>head<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #009593">&lt;</span><span style="color: #329492">meta</span><span style="color: #000000"> </span><span style="color: #a20095">http-equiv</span><span style="color: #000000">=</span>"Content-type"<span style="color: #000000"> </span><span style="color: #a20095">content</span><span style="color: #000000">=</span>"text/html; charset=utf-8"<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"><span style="color: #009593">&lt;</span><span style="color: #329492">title</span><span style="color: #009593">&gt;</span>iFrame auto height<span style="color: #009593">&lt;/</span><span style="color: #329492">title</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #009593">&lt;</span><span style="color: #329492">script</span><span style="color: #000000"> </span><span style="color: #a20095">src</span><span style="color: #000000">=</span>"js/jquery.js"<span style="color: #009593">&gt;&lt;/</span><span style="color: #329492">script</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #009593">&lt;</span><span style="color: #329492">script</span><span style="color: #000000"> </span><span style="color: #a20095">type</span><span style="color: #000000">=</span>"text/javascript"<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"><span style="color: #a1006a">function</span>&nbsp; heightSet(frameId, frameName){</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2f9570"><span style="color: #000000">&nbsp; &nbsp; </span>// FF和IE必须要通过iframe的名字去得到内部页面高度,而其他浏览器则可以用this或ID</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; <span style="color: #a1006a">if</span>($.browser.mozilla || $.browser.msie) {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; &nbsp; &nbsp; bodyHeight =window.frames[frameName].document.body.scrollHeight;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; }<span style="color: #a1006a">else</span>{</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; &nbsp; &nbsp; bodyHeight = document.getElementById(frameId).contentWindow.document.documentElement.scrollHeight;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; }</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">&nbsp;&nbsp; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">&nbsp; &nbsp; document.getElementById(frameId).height = bodyHeight; &nbsp;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;/</span>script<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;/</span>head<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;</span>body<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #5000ff"><span style="color: #009593">&lt;</span><span style="color: #329492">iframe</span><span style="color: #000000"> </span><span style="color: #a20095">id</span><span style="color: #000000">=</span>"mainFrame"<span style="color: #000000"> </span><span style="color: #a20095">name</span><span style="color: #000000">=</span>"mainFrame"<span style="color: #000000"> </span><span style="color: #a20095">frameborder</span><span style="color: #000000">=</span>"0"<span style="color: #000000">&nbsp; </span><span style="color: #a20095">scrolling</span><span style="color: #000000">=</span>"no"<span style="color: #000000"> </span><span style="color: #a20095">src</span><span style="color: #000000">=</span>"2col.html"<span style="color: #000000"> </span><span style="color: #a20095">onload</span><span style="color: #000000">=</span>"heightSet('mainFrame', 'mainFrame')"<span style="color: #009593">&gt;&lt;/</span><span style="color: #329492">iframe</span><span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;/</span>body<span style="color: #009593">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #329492"><span style="color: #009593">&lt;/</span>html<span style="color: #009593">&gt;</span></p><p>&nbsp;</p><img src ="http://www.cppblog.com/biao/aggbug/136390.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-12-14 16:52 <a href="http://www.cppblog.com/biao/archive/2010/12/14/136390.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PHP：编码数组为JSON字符串</title><link>http://www.cppblog.com/biao/archive/2010/12/07/135645.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Mon, 06 Dec 2010 22:58:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/12/07/135645.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/135645.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/12/07/135645.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/135645.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/135645.html</trackback:ping><description><![CDATA[$result = array('success'=&gt;true, "fileName"=&gt;$filename);

<div>echo json_encode($result);</div><img src ="http://www.cppblog.com/biao/aggbug/135645.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-12-07 06:58 <a href="http://www.cppblog.com/biao/archive/2010/12/07/135645.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>HTML：Google网络技术指南：用HTML5打造的小人儿书</title><link>http://www.cppblog.com/biao/archive/2010/11/21/134195.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sat, 20 Nov 2010 18:21:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/21/134195.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/134195.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/21/134195.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/134195.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/134195.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 20 Things I Learned About Browsers and the WebTABLE OF THINGSFOREWORDCREDITSWhat&#8217;s a cookie? How do I protect myself on the web? And most importantly: What happens if a truck runs over my laptop...&nbsp;&nbsp;<a href='http://www.cppblog.com/biao/archive/2010/11/21/134195.html'>阅读全文</a><img src ="http://www.cppblog.com/biao/aggbug/134195.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-21 02:21 <a href="http://www.cppblog.com/biao/archive/2010/11/21/134195.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript：jQuery-1.4.4 可以返回隐藏元素的尺寸了</title><link>http://www.cppblog.com/biao/archive/2010/11/14/133597.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Sun, 14 Nov 2010 09:25:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/14/133597.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/133597.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/14/133597.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/133597.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/133597.html</trackback:ping><description><![CDATA[jQuery-1.4.4 可以返回隐藏元素的尺寸了，非常方便。<img src ="http://www.cppblog.com/biao/aggbug/133597.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-14 17:25 <a href="http://www.cppblog.com/biao/archive/2010/11/14/133597.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript: Dynamic charts</title><link>http://www.cppblog.com/biao/archive/2010/11/12/133478.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Fri, 12 Nov 2010 15:56:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/12/133478.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/133478.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/12/133478.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/133478.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/133478.html</trackback:ping><description><![CDATA[Highcharts is free for non commecial usage, pure javascript<br><a title="http://www.highcharts.com/demo/?example=dynamic-update&amp;theme=gray
"  href="http://www.highcharts.com/demo/?example=dynamic-update&amp;theme=gray">http://www.highcharts.com/demo/?example=dynamic-update&amp;theme=gray
</a><br><br> <img src ="http://www.cppblog.com/biao/aggbug/133478.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-12 23:56 <a href="http://www.cppblog.com/biao/archive/2010/11/12/133478.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PHP：字符串和timestamp的转换</title><link>http://www.cppblog.com/biao/archive/2010/11/12/133389.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Thu, 11 Nov 2010 21:40:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/12/133389.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/133389.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/12/133389.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/133389.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/133389.html</trackback:ping><description><![CDATA[


<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #ff0000"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #ff0000">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2600d2"><span style="color: #000000">header(</span>"Content-Type:text/html; charset=utf-8"<span style="color: #000000">);</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2600d2"><span style="color: #a1006a">echo </span><span style="color: #000000">(strtotime(</span>"2010-10-28 10:52:21"<span style="color: #000000">)); </span><span style="color: #599470">// MySQL格式的字符串转换成秒数</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2600d2"><span style="color: #a1006a">echo </span>"&lt;br/&gt;"<span style="color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2600d2"><span style="color: #a1006a">echo </span><span style="color: #000000">(strtotime(</span>"2010-10-01 00:00:00"<span style="color: #000000">));</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2600d2"><span style="color: #a1006a">echo </span>"&lt;br/&gt;"<span style="color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #599470"><span style="color: #000000">$d = date(</span><span style="color: #2600d2">"Y-m-d H:i:s"</span><span style="color: #000000">, time()); </span>// 秒数转换成MySQL格式的timestamp</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #a1006a">echo <span style="color: #000000">$d;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #ff0000">?&gt;</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #ff0000">From:&nbsp;http://php.net/manual/en/function.date.php</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #ff0000"><span  style="color: rgb(0, 0, 0); font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; "><div class="refsect1 parameters" style="border-left-color: rgb(204, 204, 204); border-collapse: collapse; margin-top: 1em; margin-right: 1em; margin-bottom: 1em; margin-left: 1em; padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; background-color: rgb(238, 238, 255); "><h3 class="title" style="font-weight: bold; color: rgb(0, 0, 102); background-color: transparent; font-size: 13px; margin-top: 0px; padding-top: 0px; border-bottom-style: dashed; border-bottom-width: 1px; border-bottom-color: rgb(255, 255, 255); "><a class="toggler shown" href="http://php.net/manual/en/function.date.php#" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; "><img src="http://php.net/images/notes-reject.gif" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "></a>&nbsp;Parameters</h3><p class="para"></p><dl style="padding-top: 15px; padding-right: 15px; padding-bottom: 15px; padding-left: 15px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); "><dt><span class="term" style="font-size: 1.2em; border-bottom-style: groove; border-bottom-width: 1px; border-bottom-color: rgb(221, 221, 221); "><em><tt class="parameter" style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-style: italic; ">format</tt></em></span></dt><dd style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 2em; padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; border-top-style: groove; border-right-style: groove; border-bottom-style: groove; border-left-style: groove; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); background-color: rgb(245, 245, 255); "><p class="para">The format of the outputted date&nbsp;<span class="type"><a href="http://php.net/manual/en/language.types.string.php" class="type string" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">string</a></span>. See the formatting options below. There are also several<a href="http://php.net/manual/en/class.datetime.php#datetime.constants.types" class="link" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">predefined date constants</a>&nbsp;that may be used instead, so for example&nbsp;<strong><tt style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; ">DATE_RSS</tt></strong>&nbsp;contains the format string<em>'D, d M Y H:i:s'</em>.</p><p class="para"></p><table class="doctable table" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; "><caption style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; "><strong>The following characters are recognized in the&nbsp;<em><tt class="parameter" style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-style: italic; ">format</tt></em>&nbsp;parameter string</strong></caption><thead valign="middle"><tr valign="middle"><th style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(153, 153, 204); "><em><tt class="parameter" style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-style: italic; ">format</tt></em>character</th><th style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(153, 153, 204); ">Description</th><th style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(153, 153, 204); ">Example returned values</th></tr></thead><tbody valign="middle" class="tbody"><tr valign="middle"><td align="center" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em class="emphasis" style="font-weight: bold; font-style: italic; ">Day</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>d</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Day of the month, 2 digits with leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>01</em>&nbsp;to&nbsp;<em>31</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>D</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">A textual representation of a day, three letters</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>Mon</em>&nbsp;through&nbsp;<em>Sun</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>j</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Day of the month without leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>1</em>&nbsp;to&nbsp;<em>31</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>l</em>(lowercase 'L')</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">A full textual representation of the day of the week</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>Sunday</em>&nbsp;through<em>Saturday</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>N</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">ISO-8601 numeric representation of the day of the week (added in PHP 5.1.0)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>1</em>&nbsp;(for Monday) through&nbsp;<em>7</em>&nbsp;(for Sunday)</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>S</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">English ordinal suffix for the day of the month, 2 characters</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>st</em>,&nbsp;<em>nd</em>,&nbsp;<em>rd</em>&nbsp;or&nbsp;<em>th</em>. Works well with&nbsp;<em>j</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>w</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Numeric representation of the day of the week</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>0</em>&nbsp;(for Sunday) through&nbsp;<em>6</em>&nbsp;(for Saturday)</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>z</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">The day of the year (starting from 0)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>0</em>&nbsp;through&nbsp;<em>365</em></td></tr><tr valign="middle"><td align="center" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em class="emphasis" style="font-weight: bold; font-style: italic; ">Week</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>W</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Example:&nbsp;<em>42</em>&nbsp;(the 42nd week in the year)</td></tr><tr valign="middle"><td align="center" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em class="emphasis" style="font-weight: bold; font-style: italic; ">Month</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>F</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">A full textual representation of a month, such as January or March</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>January</em>&nbsp;through<em>December</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>m</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Numeric representation of a month, with leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>01</em>&nbsp;through&nbsp;<em>12</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>M</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">A short textual representation of a month, three letters</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>Jan</em>&nbsp;through&nbsp;<em>Dec</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>n</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Numeric representation of a month, without leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>1</em>&nbsp;through&nbsp;<em>12</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>t</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Number of days in the given month</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>28</em>&nbsp;through&nbsp;<em>31</em></td></tr><tr valign="middle"><td align="center" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em class="emphasis" style="font-weight: bold; font-style: italic; ">Year</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>L</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Whether it's a leap year</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>1</em>&nbsp;if it is a leap year,<em>0</em>&nbsp;otherwise.</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>o</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">ISO-8601 year number. This has the same value as&nbsp;<em>Y</em>, except that if the ISO week number (<em>W</em>) belongs to the previous or next year, that year is used instead. (added in PHP 5.1.0)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Examples:&nbsp;<em>1999</em>&nbsp;or<em>2003</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>Y</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">A full numeric representation of a year, 4 digits</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Examples:&nbsp;<em>1999</em>&nbsp;or<em>2003</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>y</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">A two digit representation of a year</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Examples:&nbsp;<em>99</em>&nbsp;or&nbsp;<em>03</em></td></tr><tr valign="middle"><td align="center" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em class="emphasis" style="font-weight: bold; font-style: italic; ">Time</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>a</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Lowercase Ante meridiem and Post meridiem</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>am</em>&nbsp;or&nbsp;<em>pm</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>A</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Uppercase Ante meridiem and Post meridiem</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>AM</em>&nbsp;or&nbsp;<em>PM</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>B</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Swatch Internet time</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>000</em>&nbsp;through&nbsp;<em>999</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>g</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">12-hour format of an hour without leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>1</em>&nbsp;through&nbsp;<em>12</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>G</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">24-hour format of an hour without leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>0</em>&nbsp;through&nbsp;<em>23</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>h</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">12-hour format of an hour with leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>01</em>&nbsp;through&nbsp;<em>12</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>H</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">24-hour format of an hour with leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>00</em>&nbsp;through&nbsp;<em>23</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>i</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Minutes with leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>00</em>&nbsp;to&nbsp;<em>59</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>s</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Seconds, with leading zeros</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>00</em>&nbsp;through&nbsp;<em>59</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>u</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Microseconds (added in PHP 5.2.2)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Example:&nbsp;<em>654321</em></td></tr><tr valign="middle"><td align="center" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em class="emphasis" style="font-weight: bold; font-style: italic; ">Timezone</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>e</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Timezone identifier (added in PHP 5.1.0)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Examples:&nbsp;<em>UTC</em>,<em>GMT</em>,&nbsp;<em>Atlantic/Azores</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>I</em>&nbsp;(capital i)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Whether or not the date is in daylight saving time</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>1</em>&nbsp;if Daylight Saving Time,&nbsp;<em>0</em>&nbsp;otherwise.</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>O</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Difference to Greenwich time (GMT) in hours</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Example:&nbsp;<em>+0200</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>P</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Difference to Greenwich time (GMT) with colon between hours and minutes (added in PHP 5.1.3)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Example:&nbsp;<em>+02:00</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>T</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Timezone abbreviation</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Examples:&nbsp;<em>EST</em>,&nbsp;<em>MDT</em>...</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>Z</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Timezone offset in seconds. The offset for timezones west of UTC is always negative, and for those east of UTC is always positive.</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>-43200</em>&nbsp;through<em>50400</em></td></tr><tr valign="middle"><td align="center" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em class="emphasis" style="font-weight: bold; font-style: italic; ">Full Date/Time</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">---</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>c</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">ISO 8601 date (added in PHP 5)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">2004-02-12T15:19:21+00:00</td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>r</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><a href="http://www.faqs.org/rfcs/rfc2822" class="link external" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">&#187; RFC 2822</a>&nbsp;formatted date</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Example:&nbsp;<em>Thu, 21 Dec 2000 16:01:07 +0200</em></td></tr><tr valign="middle"><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); "><em>U</em></td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)</td><td align="left" style="text-indent: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: rgb(240, 240, 240); ">See also&nbsp;<span class="function"><a href="http://php.net/manual/en/function.time.php" class="function" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">time()</a></span></td></tr></tbody></table><p>&#160;</p><p class="para">Unrecognized characters in the format string will be printed as-is. The&nbsp;<em>Z</em>&nbsp;format will always return&nbsp;<em>0</em>&nbsp;when using&nbsp;<span class="function"><a href="http://php.net/manual/en/function.gmdate.php" class="function" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">gmdate()</a></span>.</p><blockquote style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; padding-top: 0.5em; padding-right: 1em; padding-bottom: 0.5em; padding-left: 1em; "><p><strong class="note">Note</strong>:</p><p class="para">Since this function only accepts&nbsp;<span class="type"><a href="http://php.net/manual/en/language.types.integer.php" class="type integer" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">integer</a></span>&nbsp;timestamps the&nbsp;<em>u</em>&nbsp;format character is only useful when using the&nbsp;<span class="function"><a href="http://php.net/manual/en/function.date-format.php" class="function" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">date_format()</a></span>&nbsp;function with user based timestamps created with&nbsp;<span class="function"><a href="http://php.net/manual/en/function.date-create.php" class="function" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">date_create()</a></span>.</p><p>&#160;</p></blockquote></dd><dt><span class="term" style="font-size: 1.2em; border-bottom-style: groove; border-bottom-width: 1px; border-bottom-color: rgb(221, 221, 221); "><em><tt class="parameter" style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-style: italic; ">timestamp</tt></em></span></dt><dd style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 2em; padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; border-top-style: groove; border-right-style: groove; border-bottom-style: groove; border-left-style: groove; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); background-color: rgb(245, 245, 255); "><p class="para">The optional&nbsp;<em><tt class="parameter" style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-style: italic; ">timestamp</tt></em>&nbsp;parameter is an&nbsp;<span class="type"><a href="http://php.net/manual/en/language.types.integer.php" class="type integer" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">integer</a></span>&nbsp;Unix timestamp that defaults to the current local time if a<em><tt class="parameter" style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-style: italic; ">timestamp</tt></em>&nbsp;is not given. In other words, it defaults to the value of&nbsp;<span class="function"><a href="http://php.net/manual/en/function.time.php" class="function" style="color: rgb(0, 0, 153); background-color: transparent; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); ">time()</a></span>.</p></dd></dl></div></span></p><img src ="http://www.cppblog.com/biao/aggbug/133389.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-12 05:40 <a href="http://www.cppblog.com/biao/archive/2010/11/12/133389.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript：使用jQuery插件jqplot绘图</title><link>http://www.cppblog.com/biao/archive/2010/11/11/133343.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Thu, 11 Nov 2010 11:00:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/11/133343.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/133343.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/11/133343.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/133343.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/133343.html</trackback:ping><description><![CDATA[<img border="0" align="absmiddle" src="http://www.cppblog.com/images/cppblog_com/biao/jqplot.png"><div style="background-color: rgb(238, 238, 238); font-size: 13px; border-left-color: rgb(204, 204, 204); padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; ">很简单的引用几个js文件，然后就可以画出很漂亮的图形了。http://www.jqplot.com/</div><div style="background-color: rgb(238, 238, 238); font-size: 13px; border-left-color: rgb(204, 204, 204); padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; "><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;!</span><span style="color: #000000; ">DOCTYPE&nbsp;HTML&nbsp;PUBLIC&nbsp;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">-//W3C//DTD&nbsp;XHTML&nbsp;1.0&nbsp;Transitional//EN</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">html</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">head</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">meta&nbsp;http</span><span style="color: #000000; ">-</span><span style="color: #000000; ">equiv</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Content-type</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;content</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/html;&nbsp;charset=utf-8</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">title</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; ">Title</span><span style="color: #000000; ">&lt;/</span><span style="color: #000000; ">title</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">link&nbsp;rel</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">stylesheet</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/css</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;href</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../jquery.jqplot.css</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">/&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">link&nbsp;rel</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">stylesheet</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/css</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;href</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">examples.css</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;</span><span style="color: #000000; ">/&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;!--</span><span style="color: #000000; ">[</span><span style="color: #0000FF; ">if</span><span style="color: #000000; ">&nbsp;IE]</span><span style="color: #000000; ">&gt;&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../excanvas.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;&lt;!</span><span style="color: #000000; ">[endif]</span><span style="color: #000000; ">--&gt;</span><span style="color: #000000; "><br><br></span><span style="color: #000000; ">&lt;!--</span><span style="color: #000000; ">&nbsp;BEGIN:&nbsp;load&nbsp;jquery&nbsp;</span><span style="color: #000000; ">--&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../jquery-1.4.2.min.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;!--</span><span style="color: #000000; ">&nbsp;END:&nbsp;load&nbsp;jquery&nbsp;</span><span style="color: #000000; ">--&gt;</span><span style="color: #000000; "><br><br></span><span style="color: #000000; ">&lt;!--</span><span style="color: #000000; ">&nbsp;BEGIN:&nbsp;load&nbsp;jqplot&nbsp;</span><span style="color: #000000; ">--&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../jquery.jqplot.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.logAxisRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.canvasTextRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.canvasAxisLabelRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.canvasAxisTickRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.dateAxisRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.categoryAxisRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.barRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.pieRenderer.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;language</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;src</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">../plugins/jqplot.pointLabels.js</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">style&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/css</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br>.jqplot</span><span style="color: #000000; ">-</span><span style="color: #000000; ">point</span><span style="color: #000000; ">-</span><span style="color: #000000; ">label&nbsp;{white</span><span style="color: #000000; ">-</span><span style="color: #000000; ">space:&nbsp;nowrap;}<br></span><span style="color: #008000; ">/*</span><span style="color: #008000; "><br>.jqplot-yaxis-label&nbsp;{font-size:&nbsp;14pt;}<br>.jqplot-yaxis-tick&nbsp;{font-size:&nbsp;7pt;}<br></span><span style="color: #008000; ">*/</span><span style="color: #000000; "><br>.jqplot&nbsp;{&nbsp;margin:&nbsp;20px;}<br></span><span style="color: #000000; ">&lt;/</span><span style="color: #000000; ">style</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br>&nbsp;&nbsp;&nbsp;&nbsp;<br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">script&nbsp;type</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">text/javascript</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br>$(</span><span style="color: #0000FF; ">function</span><span style="color: #000000; ">()&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;line2&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">&nbsp;[<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">1</span><span style="color: #000000; ">/</span><span style="color: #000000; ">1</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">42</span><span style="color: #000000; ">],&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">2</span><span style="color: #000000; ">/</span><span style="color: #000000; ">14</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">56</span><span style="color: #000000; ">],&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">3</span><span style="color: #000000; ">/</span><span style="color: #000000; ">7</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">39</span><span style="color: #000000; ">],&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">4</span><span style="color: #000000; ">/</span><span style="color: #000000; ">22</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">86</span><span style="color: #000000; ">],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">5</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">86</span><span style="color: #000000; ">],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">6</span><span style="color: #000000; ">/</span><span style="color: #000000; ">12</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">45</span><span style="color: #000000; ">],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">7</span><span style="color: #000000; ">/</span><span style="color: #000000; ">18</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">1</span><span style="color: #000000; ">],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">8</span><span style="color: #000000; ">/</span><span style="color: #000000; ">22</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">49</span><span style="color: #000000; ">],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">9</span><span style="color: #000000; ">/</span><span style="color: #000000; ">22</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">57</span><span style="color: #000000; ">],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['</span><span style="color: #000000; ">10</span><span style="color: #000000; ">/</span><span style="color: #000000; ">10</span><span style="color: #000000; ">/</span><span style="color: #000000; ">2008</span><span style="color: #000000; ">',&nbsp;</span><span style="color: #000000; ">86</span><span style="color: #000000; ">],<br>&nbsp;&nbsp;&nbsp;&nbsp;];<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;plot2&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">&nbsp;$.jqplot('chart2',&nbsp;[line2],&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;axes:&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xaxis:&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;autoscale:&nbsp;</span><span style="color: #0000FF; ">true</span><span style="color: #000000; ">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;renderer:&nbsp;$.jqplot.DateAxisRenderer,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;label:&nbsp;'Incliment&nbsp;Occurrance',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;labelRenderer:&nbsp;$.jqplot.CanvasAxisLabelRenderer,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tickRenderer:&nbsp;$.jqplot.CanvasAxisTickRenderer,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tickOptions:&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000; ">//</span><span style="color: #008000; ">&nbsp;labelPosition:&nbsp;'middle',</span><span style="color: #008000; "><br></span><span style="color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;angle:&nbsp;</span><span style="color: #000000; ">15</span><span style="color: #000000; "><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yaxis:&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;label:&nbsp;'Incliment&nbsp;Factor',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;labelRenderer:&nbsp;$.jqplot.CanvasAxisLabelRenderer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;});<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000; ">//</span><span style="color: #008000; ">&nbsp;pie</span><span style="color: #008000; "><br></span><span style="color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;s1&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">&nbsp;[['a',&nbsp;</span><span style="color: #000000; ">2</span><span style="color: #000000; ">],&nbsp;['b',&nbsp;</span><span style="color: #000000; ">1</span><span style="color: #000000; ">],&nbsp;['c',&nbsp;</span><span style="color: #000000; ">3</span><span style="color: #000000; ">],&nbsp;['d',&nbsp;</span><span style="color: #000000; ">3</span><span style="color: #000000; ">]];<br>&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;plot1&nbsp;</span><span style="color: #000000; ">=</span><span style="color: #000000; ">&nbsp;$.jqplot('chart1',&nbsp;[s1],&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;captureRightClick:&nbsp;</span><span style="color: #0000FF; ">true</span><span style="color: #000000; ">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;seriesDefaults:{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;renderer:$.jqplot.PieRenderer,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shadow:&nbsp;</span><span style="color: #0000FF; ">true</span><span style="color: #000000; ">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rendererOptions:{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;startAngle:&nbsp;</span><span style="color: #000000; ">0</span><span style="color: #000000; ">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sliceMargin:&nbsp;</span><span style="color: #000000; ">2</span><span style="color: #000000; ">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;highlightMouseDown:&nbsp;</span><span style="color: #0000FF; ">true</span><span style="color: #000000; "><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;legend:&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;show:&nbsp;</span><span style="color: #0000FF; ">true</span><span style="color: #000000; ">,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000; ">//</span><span style="color: #008000; ">location:&nbsp;'e',</span><span style="color: #008000; "><br></span><span style="color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000; ">//</span><span style="color: #008000; ">placement:&nbsp;'outside'</span><span style="color: #008000; "><br></span><span style="color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;});<br>});<br></span><span style="color: #000000; ">&lt;/</span><span style="color: #000000; ">script</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;/</span><span style="color: #000000; ">head</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br><br></span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">body</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">div&nbsp;id</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">chart1</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;style</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">margin-top:20px;&nbsp;margin-left:20px;&nbsp;width:300px;&nbsp;height:300px;</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">div</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000; ">&lt;</span><span style="color: #000000; ">div&nbsp;class</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">jqplot</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&nbsp;id</span><span style="color: #000000; ">=</span><span style="color: #000000; ">"</span><span style="color: #000000; ">chart2</span><span style="color: #000000; ">"</span><span style="color: #000000; ">&gt;&lt;/</span><span style="color: #000000; ">div</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;/</span><span style="color: #000000; ">body</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span><span style="color: #000000; ">&lt;/</span><span style="color: #000000; ">html</span><span style="color: #000000; ">&gt;</span><span style="color: #000000; "><br></span></div><img src ="http://www.cppblog.com/biao/aggbug/133343.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-11 19:00 <a href="http://www.cppblog.com/biao/archive/2010/11/11/133343.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript：跳动的小球: Bounce效果</title><link>http://www.cppblog.com/biao/archive/2010/11/11/133264.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Wed, 10 Nov 2010 23:16:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/11/133264.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/133264.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/11/133264.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/133264.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/133264.html</trackback:ping><description><![CDATA[<span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;!</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">DOCTYPE HTML PUBLIC </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-//W3C//DTD XHTML 1.0 Transitional//EN</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">html</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">head</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">meta http</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">equiv</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Content-type</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> content</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">text/html; charset=utf-8</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">title</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">Title</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">title</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">

</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">style type</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">text/css</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">*</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">{ padding: 0px; margin: 0px; }
body, html { font</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">family: arial; font</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">size: 14px; }
a, a:active, a:focus {
    outline:none;
    blr:expression(</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">this</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">.onFocus</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">this</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">.blur());
}

#div {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">color: black;
    
    border</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">-</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">radius: 50px;
}
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">style</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">

</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">script src</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">js/jquery.js</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">script</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">script src</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">js/jquery.easing.js</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">script</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">script type</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">text/javascript</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
$(</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">function</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">() {
    </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">var</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> x </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> $(window).width() </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">2</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">;
    </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">var</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> y </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> $(window).height() </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); "> </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">2</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">;
    
    </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); "> queue设置为false，这样水平和垂直的动画同时进行</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">    $(</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">#div</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">).animate({left: x}, {queue: </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 255); ">false</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, duration: </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">2000</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, easing: </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">linear</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">}).animate({top: y}, </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">2000</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">, </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">easeOutBounce</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">);
    
    </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">//</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">$("#div").animate({left: x}, 2000, "linear").animate({top: y}, 2000, "easeOutBounce");</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 128, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">});
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">script</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">head</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">

</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">body</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
    </span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">div id</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">=</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">div</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">"</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">div</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">body</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">
</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&lt;/</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">html</span></span><span  style="font-family: monospace; font-size: 13px; white-space: pre; "><span style="color: rgb(0, 0, 0); ">&gt;</span></span><img src ="http://www.cppblog.com/biao/aggbug/133264.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-11 07:16 <a href="http://www.cppblog.com/biao/archive/2010/11/11/133264.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript：How To Create Circular Image Galleries With jQuery(非常酷)</title><link>http://www.cppblog.com/biao/archive/2010/11/10/133157.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Tue, 09 Nov 2010 20:56:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/10/133157.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/133157.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/10/133157.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/133157.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/133157.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: jQuery Roundrr &#8211; How To Create Circular Image Galleries With jQuery224TOP5Kretweet13,091Delicous:&nbsp;185Posted on October 10, 2010 in:&nbsp;Web Development|Jump To Comments&nbsp;Hey guys. Quit...&nbsp;&nbsp;<a href='http://www.cppblog.com/biao/archive/2010/11/10/133157.html'>阅读全文</a><img src ="http://www.cppblog.com/biao/aggbug/133157.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-10 04:56 <a href="http://www.cppblog.com/biao/archive/2010/11/10/133157.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScript：使用jQuery解决opacity在不同浏览器的兼容性</title><link>http://www.cppblog.com/biao/archive/2010/11/10/133156.html</link><dc:creator>逛奔的蜗牛</dc:creator><author>逛奔的蜗牛</author><pubDate>Tue, 09 Nov 2010 20:51:00 GMT</pubDate><guid>http://www.cppblog.com/biao/archive/2010/11/10/133156.html</guid><wfw:comment>http://www.cppblog.com/biao/comments/133156.html</wfw:comment><comments>http://www.cppblog.com/biao/archive/2010/11/10/133156.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cppblog.com/biao/comments/commentRss/133156.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/biao/services/trackbacks/133156.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: css中opacity在Safari, Firefox, Opera里都可以使用，但是IE中不行，在IE里要使用filter，但是如果使用jQuery就可以解决不同浏览器的兼容$("#xx").css("opacity", 0.7);How to create a stunning and smooth popup using jQuery&nbsp;September 26th, 2008Now...&nbsp;&nbsp;<a href='http://www.cppblog.com/biao/archive/2010/11/10/133156.html'>阅读全文</a><img src ="http://www.cppblog.com/biao/aggbug/133156.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/biao/" target="_blank">逛奔的蜗牛</a> 2010-11-10 04:51 <a href="http://www.cppblog.com/biao/archive/2010/11/10/133156.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>