<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>Javascript</title>
<link>http://deephp.com/js/index.html</link>
<description>Javascript</description>
<language>zh-cn</language>
<generator><![CDATA[Copyright &amp;copy; 2008-2009 &lt;a href=&quot;http://deephp.com&quot;&gt;深入PHP&lt;/a&gt; All Rights Reserved&lt;br /&gt;
本站致力于Php信息的共享，欢迎转载。如果侵犯了您的权益请您和我们联系！ 
邮箱：josh#deephp.com]]></generator>
<webmaster>deephp@163.com</webmaster>
<item>
    <title><![CDATA[jquery 阻止事件冒泡]]></title>
    <link>http://deephp.com/js/2009/1210/254.html</link>
    <description><![CDATA[html body script src=jquery.js/script divDIV/div spanSPAN/span pP/p script $(document).click( function() { alert('document'); } ); $('div').click( function(event) { alert('div'); } ); /script /html 以上示例中，在div上点击回出现两]]></description>
    <pubDate>2009-12-10</pubDate>
    <category>Javascript</category>
    <author>掂量</author>
    <comments>未知</comments>
</item>
<item>
    <title><![CDATA[JS模板替换的简单实现]]></title>
    <link>http://deephp.com/js/2009/1120/180.html</link>
    <description><![CDATA[今天才发现JS 的replace 的强大，当第二个参数为函数时，原来可以这样的XXOO function template(object, html) { var reg = /\{(\w+)\}/g; if(reg.test(html)) { var str = html.replace(reg, function(r,a){return object[a]});]]></description>
    <pubDate>2009-11-20</pubDate>
    <category>Javascript</category>
    <author>Josh</author>
    <comments>原创</comments>
</item>
<item>
    <title><![CDATA[JS实现遮罩层和DIV层的drag]]></title>
    <link>http://deephp.com/js/2009/1119/164.html</link>
    <description><![CDATA[原来一直以为实现 层的拖动是很难的事，今天动手实现了一遍，觉得也没有啥！主要是事件的监听和层的位置的计算，搞通这两点，实现起来自然也就没有问题了。啥也不说，上代码]]></description>
    <pubDate>2009-11-19</pubDate>
    <category>Javascript</category>
    <author>Josh</author>
    <comments>原创</comments>
</item>

</channel>
</rss>

