<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: I wrote an article!</title>
	<link>http://mikemadaio.com/i-wrote-an-article</link>
	<description>User Experience * Usability * Emerging Technologies</description>
	<pubDate>Sat, 22 Nov 2008 08:07:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>

	<item>
		<title>by: Progettare un layout a prova di Widescreen - Laburno</title>
		<link>http://mikemadaio.com/i-wrote-an-article#comment-25165</link>
		<pubDate>Mon, 17 Sep 2007 05:06:01 +0000</pubDate>
		<guid>http://mikemadaio.com/i-wrote-an-article#comment-25165</guid>
					<description>[...] Preparing for Widescreen - Mike Mandaio. Sul blog dell&amp;#8217;autore c&amp;#8217;è una correzione successiva riguardo al javascript utilizzato. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Preparing for Widescreen - Mike Mandaio. Sul blog dell&#8217;autore c&#8217;è una correzione successiva riguardo al javascript utilizzato. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Douglas Clifton</title>
		<link>http://mikemadaio.com/i-wrote-an-article#comment-219</link>
		<pubDate>Wed, 29 Mar 2006 06:20:38 +0000</pubDate>
		<guid>http://mikemadaio.com/i-wrote-an-article#comment-219</guid>
					<description>For the DWM article, the JavaScript code took some extra massaging. Keep in mind this is for the &quot;mini&quot; demo--not the full blown technique.

&lt;pre&gt;
function miniStyle(z) {

 var i, l, t, v;
 for (i = 0; l = document.getElementsByTagName('link')[i]; i++) {
  if (l.getAttribute('rel').indexOf('stylesheet') != -1) {
   t = l.getAttribute('title');
   if (t &amp;#38;&amp;#38; t.indexOf('Mini') != -1) {
    if (l.getAttribute('href').indexOf(z) != -1) l.disabled = false;
    else l.disabled = true;
   }
  }
 }
 switch(z) {
  case 'minihuge':
   v = '1280x1024 and up';
   break;
  case 'minibig':
   v = '1024x768';
   break;
  default:
   v = '800x600';
 }
 document.getElementById('minisize').innerHTML = v;
 return false;
}

function addLoadEvent(f) {
 var o = window.onload;
 if (typeof window.onload != 'function') window.onload = f;
 else {
  window.onload = function() {
   o();
   f();
  }
 }
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>For the DWM article, the JavaScript code took some extra massaging. Keep in mind this is for the &#8220;mini&#8221; demo&#8211;not the full blown technique.</p>
<pre>
function miniStyle(z) {

 var i, l, t, v;
 for (i = 0; l = document.getElementsByTagName('link')[i]; i++) {
  if (l.getAttribute('rel').indexOf('stylesheet') != -1) {
   t = l.getAttribute('title');
   if (t &amp;&amp; t.indexOf('Mini') != -1) {
    if (l.getAttribute('href').indexOf(z) != -1) l.disabled = false;
    else l.disabled = true;
   }
  }
 }
 switch(z) {
  case 'minihuge':
   v = '1280x1024 and up';
   break;
  case 'minibig':
   v = '1024x768';
   break;
  default:
   v = '800x600';
 }
 document.getElementById('minisize').innerHTML = v;
 return false;
}

function addLoadEvent(f) {
 var o = window.onload;
 if (typeof window.onload != 'function') window.onload = f;
 else {
  window.onload = function() {
   o();
   f();
  }
 }
}
</pre>
]]></content:encoded>
				</item>
</channel>
</rss>
