<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Moveable Style II</title>
	<link>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/</link>
	<description>Cheating on the Kobayashi Maru since 2001</description>
	<pubDate>Fri, 15 May 2026 07:18:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: Jerie</title>
		<link>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-146</link>
		<pubDate>Wed, 16 Oct 2002 17:54:31 +0000</pubDate>
		<guid>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-146</guid>
					<description>Looks good now. Very cool. And the comments box matches the stylesheet, too. Very, very cool.
</description>
		<content:encoded><![CDATA[<p>Looks good now. Very cool. And the comments box matches the stylesheet, too. Very, very cool.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jemima</title>
		<link>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-145</link>
		<pubDate>Wed, 16 Oct 2002 13:48:24 +0000</pubDate>
		<guid>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-145</guid>
					<description>IE is psychotic.  I've juggled some of my improvements around so that it really should be fixed now, unless I break it again when I put the cookie bits back in.  &lt;i&gt;Sigh&lt;/i&gt;.</description>
		<content:encoded><![CDATA[<p>IE is psychotic.  I&#8217;ve juggled some of my improvements around so that it really should be fixed now, unless I break it again when I put the cookie bits back in.  <i>Sigh</i>.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jerie</title>
		<link>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-144</link>
		<pubDate>Wed, 16 Oct 2002 10:33:17 +0000</pubDate>
		<guid>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-144</guid>
					<description>I'm getting a white page, too, using IE 6. I could see all the stylesheets yesterday, but cleaned my cookies last night, so I'm not sure if that had anything to do with it or not.

I like what you can do with MT. Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting a white page, too, using IE 6. I could see all the stylesheets yesterday, but cleaned my cookies last night, so I&#8217;m not sure if that had anything to do with it or not.</p>
<p>I like what you can do with MT. Thanks for sharing.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jemima</title>
		<link>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-143</link>
		<pubDate>Wed, 16 Oct 2002 05:33:35 +0000</pubDate>
		<guid>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-143</guid>
					<description>Well, corrupted wasn't the best word for it.  It would be difficult for a browser to corrupt a cookie, though not beyond the talents of, say, Netscape 4.  It's more likely that the cookie could become outmoded when the stylesheet corresponding to that name is either removed or renamed by the blogger.  (I renamed one or two of mine in the course of experimenting.)

The javascript essentially runs through all stylesheet LINKs, turning on the one that has the title named in your cookie and turning off the rest.  If you have no cookie at all, the "Default" is used.  If you have a bad cookie, all stylesheets are turned off and you get the unstyled page.

The "Default" for the javascript doesn't have to be the primary stylesheet - that was my change for Netscape 4.  Netscape 4 doesn't do the turning on and off thing at all, so it just uses the primary stylesheet whatever you choose, regardless of the cookie.  (Or so it seems so far.)  So the javascript isn't detecting the browser actively; it just fails to turn off the primary stylesheet and turn on another one if the browser is incompetent.  It's passive browser detection, I suppose.

I also introduced a little bug in the javascript that didn't give my Mac Mozillas any problems but probably caused your white page.  I think it's fixed now, though it's hard for me to tell from home.  I'll track it down tomorrow if it's still there.</description>
		<content:encoded><![CDATA[<p>Well, corrupted wasn&#8217;t the best word for it.  It would be difficult for a browser to corrupt a cookie, though not beyond the talents of, say, Netscape 4.  It&#8217;s more likely that the cookie could become outmoded when the stylesheet corresponding to that name is either removed or renamed by the blogger.  (I renamed one or two of mine in the course of experimenting.)</p>
<p>The javascript essentially runs through all stylesheet LINKs, turning on the one that has the title named in your cookie and turning off the rest.  If you have no cookie at all, the &#8220;Default&#8221; is used.  If you have a bad cookie, all stylesheets are turned off and you get the unstyled page.</p>
<p>The &#8220;Default&#8221; for the javascript doesn&#8217;t have to be the primary stylesheet - that was my change for Netscape 4.  Netscape 4 doesn&#8217;t do the turning on and off thing at all, so it just uses the primary stylesheet whatever you choose, regardless of the cookie.  (Or so it seems so far.)  So the javascript isn&#8217;t detecting the browser actively; it just fails to turn off the primary stylesheet and turn on another one if the browser is incompetent.  It&#8217;s passive browser detection, I suppose.</p>
<p>I also introduced a little bug in the javascript that didn&#8217;t give my Mac Mozillas any problems but probably caused your white page.  I think it&#8217;s fixed now, though it&#8217;s hard for me to tell from home.  I&#8217;ll track it down tomorrow if it&#8217;s still there.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Caff</title>
		<link>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-142</link>
		<pubDate>Wed, 16 Oct 2002 04:56:48 +0000</pubDate>
		<guid>http://www.ficml.org/jemimap/wordpress/2002/10/15/moveable-style-ii/#comment-142</guid>
					<description>Let me see if I get this straight: basically, the JavaScript function determines what browser I use and picks the shyle sheet accordingly?  (7:50 am here, and I just got up.  Bear with me, please.)

Also, how does a cookie get corrupted?  Because that seems to be the case with me.  Every time I load your blog page, I get no style sheet at all; I have to pick one manually.  But even when I do that, the comment window still pops up without style sheet.</description>
		<content:encoded><![CDATA[<p>Let me see if I get this straight: basically, the JavaScript function determines what browser I use and picks the shyle sheet accordingly?  (7:50 am here, and I just got up.  Bear with me, please.)</p>
<p>Also, how does a cookie get corrupted?  Because that seems to be the case with me.  Every time I load your blog page, I get no style sheet at all; I have to pick one manually.  But even when I do that, the comment window still pops up without style sheet.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
