<?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>Jon&#039;s Blog &#187; Nintendo Wii</title>
	<atom:link href="http://bombdiggity.net/blog/tag/nintendo-wii/feed/" rel="self" type="application/rss+xml" />
	<link>http://bombdiggity.net/blog</link>
	<description>Ramblings of a php coder</description>
	<lastBuildDate>Fri, 14 May 2010 17:36:14 +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>WiiExtJS: Building Ajax apps that run on the Wii Opera browser</title>
		<link>http://bombdiggity.net/blog/2008/06/06/wiiextjs-building-ajax-apps-that-run-on-the-wii-opera-browser/</link>
		<comments>http://bombdiggity.net/blog/2008/06/06/wiiextjs-building-ajax-apps-that-run-on-the-wii-opera-browser/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 12:20:26 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Nintendo Wii]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://www.bombdiggity.net/blog/?p=18</guid>
		<description><![CDATA[Over at the ExtJS.com Blog, Shea Frederick has posted on building Wii-friendly web pages using the ExtJS library.]]></description>
			<content:encoded><![CDATA[<p>Shea Frederick has <a href="http://extjs.com/blog/2008/06/04/wiiextjs-fun-times-with-nintendos-embeded-opera-browser/">posted on</a> building Wii-friendly web pages using the ExtJS library.</p>
<p>Shea focuses on the various issues that come up when building something for the Wii resolution, screen size, input types, and more.</p>
<p>For example, check out the layout:</p>
<pre lang="javascript">
Ext.ns('Ext.ux.layout');
Ext.ux.layout.wii = Ext.extend(Ext.layout.FitLayout, {
    setItemSize : function(item, size){
        var viewSize = Ext.getBody().getViewSize();
        this.container.addClass('ux-layout-wii');
        item.addClass('ux-layout-wii-item');
        size.height = (viewSize.height-60);
        size.width = (viewSize.width-60);
        item.setSize(size);
    }
});
Ext.Container.LAYOUTS['wii'] = Ext.ux.layout.wii;</pre>
<p>And then you can detect the Wii to set this layout:</p>
<pre lang="javascript">
Ext.isWii = navigator.userAgent.toLowerCase().indexOf("wii") &gt; -1;
var layout = 'fit';
var title = 'Normal';
if (Ext.isWii) {
    layout = 'wii';
    title = 'Wii';
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://bombdiggity.net/blog/2008/06/06/wiiextjs-building-ajax-apps-that-run-on-the-wii-opera-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
