<?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>webdevils.com &#187; Javascript</title>
	<atom:link href="http://www.webdevils.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevils.com</link>
	<description>Web New Media notes and ramblings</description>
	<lastBuildDate>Tue, 31 Jan 2012 04:58:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Games in HTML5?</title>
		<link>http://www.webdevils.com/2012/01/30/games-in-html5/</link>
		<comments>http://www.webdevils.com/2012/01/30/games-in-html5/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 04:53:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=720</guid>
		<description><![CDATA[Not only does this answer the question posed in the title, the article gives a great overview of all of the technologies that are involved. http://www.photonstorm.com/archives/2759/the-reality-of-html5-game-development-and-making-money-from-it]]></description>
			<content:encoded><![CDATA[<p>Not only does this answer the question posed in the title, the article gives a great overview of all of the technologies that are involved.</p>
<p><a href="http://www.photonstorm.com/archives/2759/the-reality-of-html5-game-development-and-making-money-from-it">http://www.photonstorm.com/archives/2759/the-reality-of-html5-game-development-and-making-money-from-it</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2012/01/30/games-in-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tile based games with JS</title>
		<link>http://www.webdevils.com/2011/11/10/tile-based-games-with-js/</link>
		<comments>http://www.webdevils.com/2011/11/10/tile-based-games-with-js/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 00:41:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=651</guid>
		<description><![CDATA[Hmm, this looks pretty interesting. There seems to be a lot of talk of games in HTML5 these days. http://www.melonjs.org/]]></description>
			<content:encoded><![CDATA[<p>Hmm, this looks pretty interesting. There seems to be a lot of talk of games in HTML5 these days.</p>
<p><a href="http://www.melonjs.org/">http://www.melonjs.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2011/11/10/tile-based-games-with-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser developer tools</title>
		<link>http://www.webdevils.com/2011/11/10/642/</link>
		<comments>http://www.webdevils.com/2011/11/10/642/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 17:00:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=642</guid>
		<description><![CDATA[Here&#8217;s an article on all of the ins and out of using the browser developer tools. If you want to make web sites this information will only make it easier! http://www.andismith.com/blog/2011/11/25-dev-tool-secrets/]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an article on all of the ins and out of using the browser developer tools. If you want to make web sites this information will only make it easier!</p>
<p><a href="http://www.andismith.com/blog/2011/11/25-dev-tool-secrets/">http://www.andismith.com/blog/2011/11/25-dev-tool-secrets/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2011/11/10/642/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s new in Firefox 6</title>
		<link>http://www.webdevils.com/2011/08/17/whats-new-in-firefox-6/</link>
		<comments>http://www.webdevils.com/2011/08/17/whats-new-in-firefox-6/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 18:57:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=564</guid>
		<description><![CDATA[http://hacks.mozilla.org/2011/08/firefox6/ Looks like some new interesting things. Looks Firefox now supports touch events.]]></description>
			<content:encoded><![CDATA[<p><a href="http://hacks.mozilla.org/2011/08/firefox6/">http://hacks.mozilla.org/2011/08/firefox6/</a></p>
<p>Looks like some new interesting things. Looks Firefox now supports touch events.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2011/08/17/whats-new-in-firefox-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery UI and JQTouch</title>
		<link>http://www.webdevils.com/2011/08/12/jquery-ui-and-jqtouch/</link>
		<comments>http://www.webdevils.com/2011/08/12/jquery-ui-and-jqtouch/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 20:50:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=562</guid>
		<description><![CDATA[On a current project I wanted to use the JQuery UI Slider in a JQTouch project. Turns out that Mobile Safari rewires all of the standard JS events. Think about it. A standard mouseDown event on mobile device has more implications. Did a user want to drag an element? Did they want to scroll the [...]]]></description>
			<content:encoded><![CDATA[<p>On a current project I wanted to use the JQuery UI Slider in a JQTouch project. Turns out that Mobile Safari rewires all of the standard JS events. Think about it. A standard mouseDown event on mobile device has more implications. Did a user want to drag an element? Did they want to scroll the page? Did they want want to pinch zoom? It&#8217;s hard for mobile Safari to tell. From a quick look at the <a title="Safari web content guide:Handling events" href="http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html">Apple Developer site</a> it appears that Mobile Safari &#8220;flattens&#8221; all the mouse events into a single action. When you tap and lift your finger mobile Safari fires mouseOver, mouseMove, mouseDown, mouseUp and click. At this point you&#8217;ve lifted your finger and your drag action isn&#8217;t really going to work.</p>
<p>After a search I ran across a few fixes for this. Here&#8217;s a link to one</p>
<p><a href="http://code.google.com/p/jquery-ui-for-ipad-and-iphone/">http://code.google.com/p/jquery-ui-for-ipad-and-iphone/</a></p>
<p>This seemed to work well, though it had the problem of also nixing touch scrolling in my project. Since all of the mouse events were now rewired Mobile Safari was not getting the events it needed to scroll with a swipe.</p>
<p>Looking under issues on the Google Project site I found a few people had asked about this. The author had posted a fix which seemed to work well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2011/08/12/jquery-ui-and-jqtouch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LESS is it more?</title>
		<link>http://www.webdevils.com/2011/03/03/less-is-it-more/</link>
		<comments>http://www.webdevils.com/2011/03/03/less-is-it-more/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 18:08:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=543</guid>
		<description><![CDATA[Someone just brought LESS to my attention. LESS is a Javascript library that extends the functionality of CSS. LESS effectively adds variables and functions to your CSS. Usng LESS you can define variables and apply mathematical functions to your values in your stylesheets. For more information read more on their web page: LESS.org]]></description>
			<content:encoded><![CDATA[<p>Someone just brought LESS to my attention. LESS is a Javascript library that extends the functionality of CSS. LESS effectively adds variables and functions to your CSS. Usng LESS you can define variables and apply mathematical functions to your values in your stylesheets.</p>
<p>For more information read more on their web page: <a href="http://lesscss.org/">LESS.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2011/03/03/less-is-it-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery: Getting Started</title>
		<link>http://www.webdevils.com/2011/02/26/jquery-getting-started/</link>
		<comments>http://www.webdevils.com/2011/02/26/jquery-getting-started/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 05:16:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=521</guid>
		<description><![CDATA[JQuery is a great tool for web development. It&#8217;s a Javascript framework that makes working with Javascript much easier. JQuery makes it easier to write code that works across platforms. JQuery simplifies all of the common Javascripts that may need to perform. Download the JQuery library from Jquery.com. They archive different versions and provide a [...]]]></description>
			<content:encoded><![CDATA[<p>JQuery is a great tool for web development. It&#8217;s a Javascript framework that makes working with Javascript much easier. JQuery makes it easier to write code that works across platforms. JQuery simplifies all of the common Javascripts that may need to perform.</p>
<p>Download the JQuery library from Jquery.com. They archive different versions and provide a compressed (or minified) version and an un-compressed version. You can download the latest compressed version from the JQuery home page and it will work with all of the examples. Move this file into the directory where you will be working.</p>
<p>You can obviously place the jquery js file anywhere, as long as you provide the correct path to the file in your HTML document.</p>
<p>JQuery is very easy to use. Follow these steps:</p>
<ol>
<li>Import the JQuery js file with the script tag</li>
<li>Set up another script tag for your own javascript.</li>
</ol>
<p>For example:</p>
<pre>&lt;script type="text/javascript" src='jquery-1.4.4.min.js'&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
   <span style="color: #ff0000;">// your own JS here</span>
&lt;/script&gt;
</pre>
<p>At this point you can use JQuery in your scripts. Notice, your scripts come second.</p>
<p>Many times you will want to wait for your document to load before applying your own JS. This important, because executing JS before the elements it acts on are loaded will cause your scripts to fail. JQuery provides the ready() event to easily work around this.</p>
<p>To set up the ready event use the following:</p>
<pre>&lt;script type="text/javascript" src='jquery-1.4.4.min.js'&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
<span style="color: #ff0000;">$(document).ready(function(){</span>
<span style="color: #ff0000;">   // Scripts here execute after the page has loaded.</span>
<span style="color: #ff0000;">});</span>
&lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2011/02/26/jquery-getting-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash on iDevices?</title>
		<link>http://www.webdevils.com/2010/06/02/flash-on-idevices/</link>
		<comments>http://www.webdevils.com/2010/06/02/flash-on-idevices/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 20:17:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[SVG]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/2010/06/02/flash-on-idevices/</guid>
		<description><![CDATA[This looks like a pretty interesting alternative method to get Flash on the iPhone and iPad. From what I have read it sounds like it&#8217;s slower that regular Flash especially when it comes to interactive stuff like games. At this point it&#8217;s probably good for ads. Smokescreen seems to take an SWF and convert into [...]]]></description>
			<content:encoded><![CDATA[<p>This looks like a pretty interesting alternative method to get Flash on the iPhone and iPad. From what I have read it sounds like it&#8217;s slower that regular Flash especially when it comes to interactive stuff like games. At this point it&#8217;s probably good for ads.</p>
<p>Smokescreen seems to take an SWF and convert into an SVG file and ad some javascript, so the end results are compatible with iPhone and and iPad.</p>
<p><a href="http://smokescreen.us/">http://smokescreen.us/</a></p>
<p>Thanks to Karaminder for pointing me to this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2010/06/02/flash-on-idevices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery document ready</title>
		<link>http://www.webdevils.com/2010/04/13/jquery-document-ready/</link>
		<comments>http://www.webdevils.com/2010/04/13/jquery-document-ready/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 04:17:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=312</guid>
		<description><![CDATA[Here&#8217;s a great article with some very interesting things to say about JQuery&#8217;s document ready method. http://www.subprint.com/blog/demystifying-the-dom-ready-event-method/]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a great article with some very interesting things to say about JQuery&#8217;s document ready method.</p>
<p><a href="http://www.subprint.com/blog/demystifying-the-dom-ready-event-method/">http://www.subprint.com/blog/demystifying-the-dom-ready-event-method/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2010/04/13/jquery-document-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SWFObject</title>
		<link>http://www.webdevils.com/2009/11/22/swfobject-2/</link>
		<comments>http://www.webdevils.com/2009/11/22/swfobject-2/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 06:03:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SWFObject]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=235</guid>
		<description><![CDATA[SWFObject, if you haven&#8217;t heard of it already is a really great little javascript that simplifies the process of embedding your swf files in an html page. This is a huge improvement over the default systems provided Publishing from Flash or Dreamweaver. The method provided by the Publish settings in Flash and Insert &#62; Media [...]]]></description>
			<content:encoded><![CDATA[<p>SWFObject, if you haven&#8217;t heard of it already is a really great little javascript that simplifies the process of embedding your swf files in an html page. This is a huge improvement over the default systems provided Publishing from Flash or Dreamweaver.</p>
<p>The method provided by the Publish settings in Flash and Insert &gt; Media &gt; Flash in Dreamweaver work just fine, but they leave you with a huge Javascript mess in your HTML page. SWFObject provides a clean and organized system that works well and provides a few extra perks.</p>
<p>You can download SWFObject here: <a href="http://code.google.com/p/swfobject/" target="_blank">http://code.google.com/p/swfobject/ </a></p>
<p>SWFObject is contained in a single small Javascript file. I have been using the latest version (at the time I wrote this it was 2.2) and it seems to work well.</p>
<p>You can write the code for yourself following the documentation on the site listed above. Or use the code generator here: <a href="http://www.bobbyvandersluis.com/swfobject/generator/index.html" target="_blank">http://www.bobbyvandersluis.com/swfobject/generator/index.html</a></p>
<p>I had some trouble getting Flash to display 100% width and height. But this was sorted after a short Google search. Turns out the following styles are required:</p>
<pre>html, body {
 background-color: #616264;
 margin:0;
 height:100%;
 overflow: hidden;
}
#flashcontent {
 height:100%;
}</pre>
<p>Note, without overflow:hidden you end up seeing the scroll bars and the page scrolls about 5px. This was very confusing, you would figure that 100% height would make everything the size of the browser rather than a little larger?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2009/11/22/swfobject-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

