<?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>Delivering Quality &#187; Firefox</title>
	<atom:link href="http://www.markdeepwell.com/tag/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markdeepwell.com</link>
	<description>A Software Developers View of the World</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:44:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Building for Mobile with Device Orientation</title>
		<link>http://www.markdeepwell.com/2010/01/building-for-mobile-with-device-orientation/</link>
		<comments>http://www.markdeepwell.com/2010/01/building-for-mobile-with-device-orientation/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 16:54:29 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web Application]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Device Orientation]]></category>
		<category><![CDATA[Fennec]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=460</guid>
		<description><![CDATA[Mozilla Firefox 3.5 and Firefox for Mobile 1.0 (Fennec) both have support for modifying a web applications look based on screen dimensions and current orientation. These abilities give web developers the power to build better web applications for mobile devices and the ability to optimize the browsing experience when screen space is constrained. CSS Orientation [...]]]></description>
			<content:encoded><![CDATA[<p>Mozilla Firefox 3.5 and Firefox for Mobile 1.0 (Fennec) both have support for modifying a web applications look based on screen dimensions and current orientation. These abilities give web developers the power to build better web applications for mobile devices and the ability to optimize the browsing experience when screen space is constrained.</p>
<h3>CSS Orientation Properties</h3>
<p>Web applications look and feel is defined by a CSS file, so therefore the Firefox developers made it super easy to tie current orientation and screen dimensions into which CSS file to load.</p>
<p>For examaple: If the browser is in portrait mode, a single CSS media parameter will specify which styles to use:</p>
<div class="igBar"><span id="ljavascript-5"><a href="#" onclick="javascript:showPlainTxt('javascript-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-5">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@media all and <span style="color: #66cc66;">&#40;</span>orientation: portrait<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> ... <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>In the same way, you can create a custom CSS stylesheet for users who are browsing with a screen size between 500 and 700 pixels:</p>
<div class="igBar"><span id="ljavascript-6"><a href="#" onclick="javascript:showPlainTxt('javascript-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-6">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@media screen and <span style="color: #66cc66;">&#40;</span>min-width: 500px<span style="color: #66cc66;">&#41;</span> and <span style="color: #66cc66;">&#40;</span>max-width: 700px<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> ... <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<h3>Orientation Events</h3>
<p>Firefox 3.6 adds support for orientation events in JavaScript, so you can get current updates of how the user is holding their mobile device:</p>
<div class="igBar"><span id="ljavascript-7"><a href="#" onclick="javascript:showPlainTxt('javascript-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-7">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">window.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"MozOrientation"</span>, handleOrientation, <span style="color: #003366; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Once you register the event handler, the handleOrientation function will receive an object specifying the x, y, and z value of the devices current position:</p>
<div class="igBar"><span id="ljavascript-8"><a href="#" onclick="javascript:showPlainTxt('javascript-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-8">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">function</span> handleOrientation<span style="color: #66cc66;">&#40;</span>orientData<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">var</span> x = orientData.<span style="color: #006600;">x</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">var</span> y = orientData.<span style="color: #006600;">y</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">var</span> z = orientData.<span style="color: #006600;">z</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>With those parameters and a game timer, you can probably build the <a href="http://www.turbosquid.com/FullPreview/Index.cfm/ID/275316">Labyrinth game</a>.</p>
<p>For those of your that are ready to start experimenting with this API right away, Mozilla Developer Center has the full <a href="https://developer.mozilla.org/en/Detecting_device_orientation">Firefox orientation documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2010/01/building-for-mobile-with-device-orientation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UpcomingHoliday.com Now with Geolocation</title>
		<link>http://www.markdeepwell.com/2009/12/upcomingholiday-com-now-with-geolocation/</link>
		<comments>http://www.markdeepwell.com/2009/12/upcomingholiday-com-now-with-geolocation/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 06:27:40 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web Application]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Geolocation]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=440</guid>
		<description><![CDATA[UpcomingHoliday.com has been updated and now includes geolocation support. If your browser supports it your country should automatically find and select your country. If not, it will fall back to IP based country lookup. Geolocation is a HTML 5 feature that is supported by Safari on the iPhone 3.0 OS, Firefox 3.5 and Google Chrome. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://upcomingholiday.com">UpcomingHoliday.com</a> has been updated and now includes <a href="http://dev.w3.org/geo/api/spec-source.html">geolocation</a> support. If your browser supports it your country should automatically find and select your country. If not, it will fall back to IP based country lookup. Geolocation is a HTML 5 feature that is supported by Safari on the iPhone 3.0 OS, Firefox 3.5 and Google Chrome.</p>
<p>UpcomingHoliday.com is an application that tells you what and when your <a href="http://upcomingholiday.com">next federal holiday</a> is. Currently it's available for people in: Australia, Canada, France, Germany, India,  Nigeria, United Kingdom and United States.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/12/upcomingholiday-com-now-with-geolocation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fall 2009 Web Browser Outlook</title>
		<link>http://www.markdeepwell.com/2009/09/fall-2009-web-browser-outlook/</link>
		<comments>http://www.markdeepwell.com/2009/09/fall-2009-web-browser-outlook/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 23:31:16 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Upcoming Web Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=136</guid>
		<description><![CDATA[The names are familiar: Firefox, Google Chrome and Safari. These relatively new browsers have been shaking the foundations of Internet Explorers complete victory over Netscape. These new browser are implementing fresh ideas and breaking out of the crusty browsers of the early 21st century. With the second browser wars in full swing, lets see where [...]]]></description>
			<content:encoded><![CDATA[<p>The names are familiar: Firefox, Google Chrome and Safari. These relatively new browsers have been shaking the foundations of Internet Explorers complete victory over Netscape. These new browser are implementing fresh ideas and breaking out of the crusty browsers of the early 21st century. With the second browser wars in full swing, lets see where things stand and what's coming.</p>
<h3>Mozilla Firefox 3.6</h3>
<p>The Firefox team is focusing on startup performance, JavaScript performance, lightweight themes, and a few new features for developers. <a href="http://www.markdeepwell.com/2009/08/upcoming-web-browser-mozilla-firefox-3-6/">Firefox 3.6</a> is expected to arrive Nov 2009.</p>
<p>After that, Firefox 3.7 will boast a <a href="https://wiki.mozilla.org/Firefox/3.7_Windows_Theme_Mockups">revamped user interface</a>, a <a href="http://www.downloadsquad.com/2009/09/20/webgl-support-makes-first-appearance-in-latest-firefox-3-7-night/">WebGL implementation</a> and ongoing speed and responsiveness improvements.</p>
<h3>Safari 5?</h3>
<p>Safari 4 was just released, and we have not heard any official statement from Apple what features <a href="http://www.markdeepwell.com/2009/08/upcoming-web-browser-safari-5/">Safari 5</a> will include, but looking at WebKit we can see what core browser technologies are being developed. WebKit has added geolocation support, HTML 5 draggable, and HTML 5 forms patterns and required attributes. What directly user visible changes will Apple make? We will have to wait and see.</p>
<h3>Internet Explorer 9?</h3>
<p>The next version of IE is still quite a ways out (3 years if you look at the release time-frame of IE 7 and 8 ) but it's expected to boast many new HTML 5 features including native video and audio playback. <a href="http://www.markdeepwell.com/2009/08/upcoming-web-browser-internet-explorer-9/">Internet Explorer 9</a> should be quite a feature packed release with HTML 5 goodness, better performance, and improved standards support.</p>
<h3>Opera 10.10</h3>
<p><a href="http://www.markdeepwell.com/2009/08/upcoming-web-browser-opera-10/">Opera 10</a> was just released this month but the team is working on <a href="http://my.opera.com/desktopteam/blog/2009/09/04/10-10-with-unite">Opera 10.10 with Unite</a>. So far we're waiting to hear more from the Opera team about what they are working on.</p>
<h3>Google Chrome 4</h3>
<p>With <a href="http://www.markdeepwell.com/2009/09/upcoming-web-browser-google-chrome-3/">Google Chrome 3</a> being released, the Chrome team and external developers are hard at work making the browser cross platform with support for OS X and Linux. User end features include <a href="http://blogs.zdnet.com/Google/?p=1516">bookmark synchronization</a>, extensions and surly will include more JavaScript performance enhancements.</p>
<div id="attachment_285" class="wp-caption aligncenter" style="width: 310px"><a href="http://cs.helsinki.fi/u/ilmarihe/metatunnel.html"><img class="size-medium wp-image-285 " title="Metatunnel by FRequency - WebGL Demo" src="http://www.markdeepwell.com/wp-content/uploads/2009/09/Metatunnel-by-FRequency-WebGL-300x185.jpg" alt="Metatunnel by FRequency - WebGL Demo" width="300" height="185" /></a><p class="wp-caption-text">Metatunnel by FRequency - WebGL Demo</p></div>
<p>Overall the competition looks quite healthy and browsers are being enhanced to be the <strong>Operating System</strong> of the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/09/fall-2009-web-browser-outlook/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>WebGL Coming in Firefox 3.7</title>
		<link>http://www.markdeepwell.com/2009/09/webgl-coming-in-firefox-3-7/</link>
		<comments>http://www.markdeepwell.com/2009/09/webgl-coming-in-firefox-3-7/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 01:44:21 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[WebGL]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=263</guid>
		<description><![CDATA[Vladimir Vukićević, the pioneer of bringing the well known OpenGL standard to the web, has just blogged using Firefox to render Spore creatures. Check it out, it's a pretty impressive demo of this upcoming web standard. Development on what would become WebGL started back in 2007 with Canvas 3D as an extension for Mozilla Firefox [...]]]></description>
			<content:encoded><![CDATA[<p>Vladimir Vukićević, the pioneer of bringing the well known OpenGL standard to the web, has just blogged using <a href="http://blog.vlad1.com/2009/09/21/webgl-samples/">Firefox to render Spore creatures</a>. Check it out, it's  a pretty impressive demo of this upcoming web standard.</p>
<p>Development on what would become WebGL started back in <a href="http://blog.vlad1.com/2007/11/26/canvas-3d-gl-power-web-style/">2007 with Canvas 3D</a> as an extension for Mozilla Firefox 3.0. Since then it has grown from a single project to an open web standard through the <a href="http://www.khronos.org/news/press/releases/khronos-webgl-initiative-hardware-accelerated-3d-graphics-internet/">Khronos standards group</a>. The standard is currently under development with a target release date of <a href="http://www.khronos.org/news/press/releases/khronos-webgl-initiative-hardware-accelerated-3d-graphics-internet/">first half 2010</a>.</p>
<p>Firefox isn't the only web browser to be experimenting with WebGL, Google and Opera have also pledged to support this standard. The WebKit source code has  recently picked up <a href="http://blog.wolfire.com/2009/09/preview-of-webkits-webgl-canvas3d/">preliminary support</a>.</p>
<p>The web has mostly stayed 2D, but with the advent of <a href="http://www.markdeepwell.com/2009/07/accelerated-css-transforms/">CSS Transforms</a> and WebGL, the browser is moving into new territory. The web is evolving into the most important platform of the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/09/webgl-coming-in-firefox-3-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upcoming Web Browser: Mozilla Firefox 3.6</title>
		<link>http://www.markdeepwell.com/2009/08/upcoming-web-browser-mozilla-firefox-3-6/</link>
		<comments>http://www.markdeepwell.com/2009/08/upcoming-web-browser-mozilla-firefox-3-6/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 02:47:06 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Upcoming Web Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Gecko]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=160</guid>
		<description><![CDATA[With Mozilla Firefox 3.6 the team is shifting to a shorter release schedule, so enhancements reach users sooner. It's quite likely we'll see more incremental releases, including Firefox 3.6 which is scheduled for release just six months after Firefox 3.5. The next version of Firefox will be faster because of improvements to the TraceMonkey JavaScript [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<p>With Mozilla Firefox 3.6 the team is shifting to a <a href="https://wiki.mozilla.org/Firefox/Goals/2009Q3">shorter release schedule</a>, so enhancements  reach users sooner. It's quite likely  we'll see more incremental releases, including Firefox 3.6 which is scheduled for release just six months after Firefox 3.5.</p>
<p>The next version of Firefox will be faster because of improvements to the <a href="http://arstechnica.com/open-source/news/2009/08/firefox-36-a1-new-css-features-javascript-speed-boost.ars">TraceMonkey JavaScript engine</a> and because of a focus on <a href="https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements">improving startup time</a> performance. An asynchronous location bar and improved scrolling on Windows should also provide a noticeable speed improvement. The next version will feature the Gecko 1.9.2 rendering engine.</p>
<dl id="attachment_172" class="wp-caption aligncenter" style="width: 310px;">
<dt class="wp-caption-dt"><img class="size-medium wp-image-172 " title="dromaeo firefox 3.6" src="http://www.markdeepwell.com/wp-content/uploads/2009/08/dromaeo-firefox-3.6-300x162.jpg" alt="Dromaeo in Firefox 3.6" width="300" height="162" /></dt>
</dl>
<p>UI changes include <a href="http://lifehacker.com/5333858/firefox-36-alpha-adds-tab-previews-boosts-startup-time">tab previews</a> of other open websites when you use the <code>CTRL-TAB</code> keyboard shortcut (currently you must turn it on with the <code>browser.ctrlTab.previews</code> config option), and <a href="http://www.oxymoronical.com/blog/2009/09/Lightweight-themes-UI-landed">lightweight themes</a> that don't require a restart.</p>
<p>CSS3 Features for web developers:</p>
<ul>
<li><a href="https://developer.mozilla.org/en/CSS/-moz-background-size">-moz-background-size</a></li>
</ul>
<ul>
<li> gradients: <a href="https://developer.mozilla.org/en/CSS/Gradients">-moz-linear-gradient()</a> and <a href="https://developer.mozilla.org/en/CSS/Gradients">-moz-radial-gradient()</a></li>
</ul>
<p>For a concise list of changes, see the <a href="https://developer.mozilla.org/en/Firefox_3.6_for_developers">Firefox 3.6 for developers</a> wiki page.</p>
<p>Estimated Release Date: <span style="text-decoration: line-through;">January 2010</span> Update: according to a <a href="https://wiki.mozilla.org/Firefox/Roadmap">draft roadmap</a>, release date is set for November 2009.<span style="text-decoration: line-through;"><br />
</span></p>
<p>Download <a href="https://developer.mozilla.org/devnews/index.php/2009/08/07/firefox-3-6-alpha-1-now-available-for-download/">Firefox 3.6 Alpha 1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/08/upcoming-web-browser-mozilla-firefox-3-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Browser Notifications with Yip</title>
		<link>http://www.markdeepwell.com/2009/08/browser-notifications-with-yip/</link>
		<comments>http://www.markdeepwell.com/2009/08/browser-notifications-with-yip/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 02:51:35 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Cross Platform]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Firefox Extension]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[notifications]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=119</guid>
		<description><![CDATA[Add support for operating system notifications to your web application through a simple JavaScript API using Yip.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-121" title="Yip Icon" src="http://www.markdeepwell.com/wp-content/uploads/2009/08/yip-icon.jpg" alt="Yip Icon" width="197" height="205" /></p>
<p>Ever wanted your web application to be able to show notifications even if the user may be in another browser tab or application? Now you can!</p>
<p>The relatively new <a href="http://abcdefu.wordpress.com/2009/06/09/introducing-yip-an-unified-notification-system-for-the-web/">Yip  extension</a> for Firefox adds notification functionality. This is not a small JavaScript notification that pops up in the browser tab, but one that integrates directly with the users Operating System.</p>
<p>Yip uses <a href="http://www.markshuttleworth.com/archives/265">libnotify/notify-osd</a> on Ubuntu Linux, <a href="http://growl.info/">Growl</a> on Mac, and <a href="http://www.fullphat.net/">Snarl</a> or <a href="http://growlforwindows.com/gfw/">Growl for Windows</a> on Windows. If none of these notification applications are installed, it will use Firefox's simple and not as pretty  notification system. Ubuntu Linux users have notify-osd installed by default,  Growl is popular with Mac users, yet Windows users probably don't have  Snarl or Growler for Windows installed.</p>
<p>When building with notifications remember that they are meant to enhance the user experience, not require it.</p>
<p>The Yip extension supports both the Fluid and Prism APIs, but recommends Fluid because of support for an onclick callback function.</p>
<p>The API is simple and straight to the point:</p>
<div class="igBar"><span id="ljavascript-9"><a href="#" onclick="javascript:showPlainTxt('javascript-9'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-9">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">window.<span style="color: #006600;">fluid</span>.<span style="color: #006600;">showGrowlNotification</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; title: <span style="color: #3366CC;">"your notification title"</span>,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; description: <span style="color: #3366CC;">"some description"</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; onclick: optionalCallbackFunction,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; icon: <span style="color: #3366CC;">"URL to an icon"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Since Yip may not be installed on the users computer, just wrap it with a check for fluid. A complete example looks like this:</p>
<div class="igBar"><span id="ljavascript-10"><a href="#" onclick="javascript:showPlainTxt('javascript-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-10">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span><span style="color: #66cc66;">&#40;</span>fluid<span style="color: #66cc66;">&#41;</span> !== <span style="color: #3366CC;">'undefined'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; window.<span style="color: #006600;">fluid</span>.<span style="color: #006600;">showGrowlNotification</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; title: <span style="color: #3366CC;">"Hello World"</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; description: <span style="color: #3366CC;">"The Google icon says Hi"</span>,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; icon: <span style="color: #3366CC;">"http://www.google.com/favicon.ico"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<h3>Related Projects</h3>
<ul>
<li><a href="http://digitarald.de/project/roar/">Roar</a>: Embed notifications into a web page (powered by MooTools).</li>
<li><a href="http://ajaxian.com/archives/growls-for-windows-and-a-web-notification-api">growl.js</a>: Windows only notifications using Growl for Windows.</li>
<li><a href="http://code.google.com/p/gears/wiki/NotificationAPI">NotificationAPI</a>: Notifications in Google Gears</li>
</ul>
<p>Of all these options, Yip is the best solution by far; its fully cross platform, has a simple to use API, and is ready to use. <a href="http://blog.abi.sh/yip-latest.xpi">Install Yip now</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/08/browser-notifications-with-yip/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Importance of the HTML Video Tag</title>
		<link>http://www.markdeepwell.com/2009/07/importance-of-the-html-video-tag/</link>
		<comments>http://www.markdeepwell.com/2009/07/importance-of-the-html-video-tag/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 05:34:22 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=26</guid>
		<description><![CDATA[Since Firefox, Safari, and recently Chrome hit the browser scene, the web has been growing and improving at a much faster pace. The next evolution of the web comes in the form of HTML 5, the latest HTML standard that brings native video playback, offline storage, 2D drawing via the canvas tag among others features. [...]]]></description>
			<content:encoded><![CDATA[<p>Since Firefox, Safari, and recently Chrome hit the browser scene, the web has been  growing and improving at a much faster pace. The next evolution of the web comes in the form of HTML 5, the latest HTML standard that brings native video playback, offline storage, 2D drawing via the canvas tag among others features. Of those, the  video tag is the most important and critical to the continued success of the open web.</p>
<p><a href="https://developer.mozilla.org/en/Using_audio_and_video_in_Firefox">Native video playback</a> inside a web browser will now be as simple as embedding an image into a page:</p>
<pre>&lt;video src="http://example.com/yourvideo.ogg" controls&gt;&lt;/video&gt;</pre>
<p>The benefits of this are immediately obvious to any software developer. It's a native tag so it fits in much better to the web platform, it can be controlled through JavaScript, and no more messing around with a black-box flash embed. Side benefits of this are bringing video to all users, not just the platforms that Flash supports (stable 64 bit version + iPhone version).</p>
<p>So far only Firefox 3.5 and Safari 4 have built in support for the video tag; Opera and Chrome support is in the works.</p>
<p>The web has flourished and grown to where it is today because it is based on open standards and because it is not controlled by any one company or organization. Lets continue to keep the web open and successful by using the new video tag.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/07/importance-of-the-html-video-tag/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
