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

<channel>
	<title>as4game &#187; js</title>
	<atom:link href="http://www.as4game.com/blog/archives/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.as4game.com/blog</link>
	<description>actionscript for game</description>
	<lastBuildDate>Tue, 15 Feb 2011 07:54:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash右键解决方案</title>
		<link>http://www.as4game.com/blog/archives/151</link>
		<comments>http://www.as4game.com/blog/archives/151#comments</comments>
		<pubDate>Sun, 19 Jul 2009 11:24:04 +0000</pubDate>
		<dc:creator>as4game</dc:creator>
				<category><![CDATA[as]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[rightclick]]></category>

		<guid isPermaLink="false">http://as4game.com/blog/?p=151</guid>
		<description><![CDATA[google code上找到的一个开源项目：http://code.google.com/p/custom-context-menu/
看看效果： http://www.as4game.com/example/rightclick
]]></description>
			<content:encoded><![CDATA[<p>google code上找到的一个开源项目：<a target="_blank" href="http://code.google.com/p/custom-context-menu/">http://code.google.com/p/custom-context-menu/</a></p>
<p>看看效果：<a href="http://www.as4game.com/example/rightclick" target="_blank"> http://www.as4game.com/example/rightclick</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.as4game.com/blog/archives/151/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>js中mousewheel和DomMouseScroll事件的区分</title>
		<link>http://www.as4game.com/blog/archives/4</link>
		<comments>http://www.as4game.com/blog/archives/4#comments</comments>
		<pubDate>Wed, 15 Jul 2009 09:44:38 +0000</pubDate>
		<dc:creator>as4game</dc:creator>
				<category><![CDATA[js]]></category>
		<category><![CDATA[DomMouseScroll]]></category>
		<category><![CDATA[mousewheel]]></category>

		<guid isPermaLink="false">http://as4game.com.fb6l.8-host.com/blog/?p=4</guid>
		<description><![CDATA[网上资料非常多，很多都过时了（包括以下代码，有天也会过时哦）。 代码如下：

if(window.addEventListener){
    var type = (document.getBoxObjectFor)?'DOMMouseScroll':'mousewheel';
    window.addEventListener(type, _onMousewheel, false);
}else{
    document.onmousewheel = _onMousewheel;
}

测试了以下浏览器：

IE（包含以IE为内核的浏览器：Maxthon，sogo）
Firefox
Chrome
Opera

]]></description>
			<content:encoded><![CDATA[<p>网上资料非常多，很多都过时了（包括以下代码，有天也会过时哦）。 代码如下：</p>
<pre name="code" class="javascript">
if(window.addEventListener){
    var type = (document.getBoxObjectFor)?'DOMMouseScroll':'mousewheel';
    window.addEventListener(type, _onMousewheel, false);
}else{
    document.onmousewheel = _onMousewheel;
}
</pre>
<p>测试了以下浏览器：</p>
<ul>
<li>IE（包含以IE为内核的浏览器：Maxthon，sogo）</li>
<li>Firefox</li>
<li>Chrome</li>
<li>Opera</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.as4game.com/blog/archives/4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

