<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Client-Side Image Replacement</title>
	<atom:link href="http://www.mrspeaker.net/2006/04/19/client-side-image-replacement-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mrspeaker.net/2006/04/19/client-side-image-replacement-2/</link>
	<description>Javascript flâneur, internet flibbertygibbert</description>
	<lastBuildDate>Thu, 26 Jan 2012 09:22:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mr. Speaker</title>
		<link>http://www.mrspeaker.net/2006/04/19/client-side-image-replacement-2/comment-page-1/#comment-889</link>
		<dc:creator>Mr. Speaker</dc:creator>
		<pubDate>Thu, 20 Apr 2006 00:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/04/19/client-side-image-replacement/#comment-889</guid>
		<description>That pre-loady thing is weird... if you refresh the page once it starts doing that slow plot-one-character-at-a-time thing then it loads instantly. Otherwise it reloads the background image for every single character. I&#039;ll fix it on the weekend. Though I&#039;m not sure how you preload when the image is set in css... hmmm...

The FOUC is mainly because I do the image replacing in js as it gets to each element. If you put the image replacement in the style sheet then you don&#039;t the flash, but if someone has js turned off then the headings will be replaced with nothing.

Also, if you replace a tag that has other tags nested - like a p tag, then it looks tres cool but smashes the nested tags. Pfft. who needs hyperlinks.

</description>
		<content:encoded><![CDATA[<p>That pre-loady thing is weird&#8230; if you refresh the page once it starts doing that slow plot-one-character-at-a-time thing then it loads instantly. Otherwise it reloads the background image for every single character. I&#8217;ll fix it on the weekend. Though I&#8217;m not sure how you preload when the image is set in css&#8230; hmmm&#8230;</p>
<p>The FOUC is mainly because I do the image replacing in js as it gets to each element. If you put the image replacement in the style sheet then you don&#8217;t the flash, but if someone has js turned off then the headings will be replaced with nothing.</p>
<p>Also, if you replace a tag that has other tags nested &#8211; like a p tag, then it looks tres cool but smashes the nested tags. Pfft. who needs hyperlinks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hank</title>
		<link>http://www.mrspeaker.net/2006/04/19/client-side-image-replacement-2/comment-page-1/#comment-888</link>
		<dc:creator>hank</dc:creator>
		<pubDate>Wed, 19 Apr 2006 08:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/04/19/client-side-image-replacement/#comment-888</guid>
		<description>Hey I like where it&#039;s going - and that typeface is fragalicious...

A couple of issues I&#039;m going to be an anus about, that have been tackled in a few other similar techniques (like &lt;a href=&quot;http://www.mikeindustries.com/sifr/&quot; rel=&quot;nofollow&quot;&gt;sIFR&lt;/a&gt;, et al) after lengthy iteration: 

It seems to take a while to load. When I checked the demo page, each character replacement caused my browser to download the character map separately. Some preloading wizardry should fix it...
You also get the FOUC effect... the Flash Of Unstyled Content in the replaced headings. I think the way around this is first up setting those headings to be visibility:hidden or somesuch
Like a lot of CSS image replacement techniques, with images off and JS on, you don&#039;t see anything. I think there might be a way to position the text images over the top of the headings, rather than replacing them... but I&#039;m not sure, and most people don&#039;t care anyway.

Keep the good stuff comin&#039;</description>
		<content:encoded><![CDATA[<p>Hey I like where it&#8217;s going &#8211; and that typeface is fragalicious&#8230;</p>
<p>A couple of issues I&#8217;m going to be an anus about, that have been tackled in a few other similar techniques (like <a href="http://www.mikeindustries.com/sifr/" rel="nofollow">sIFR</a>, et al) after lengthy iteration: </p>
<p>It seems to take a while to load. When I checked the demo page, each character replacement caused my browser to download the character map separately. Some preloading wizardry should fix it&#8230;<br />
You also get the FOUC effect&#8230; the Flash Of Unstyled Content in the replaced headings. I think the way around this is first up setting those headings to be visibility:hidden or somesuch<br />
Like a lot of CSS image replacement techniques, with images off and JS on, you don&#8217;t see anything. I think there might be a way to position the text images over the top of the headings, rather than replacing them&#8230; but I&#8217;m not sure, and most people don&#8217;t care anyway.</p>
<p>Keep the good stuff comin&#8217;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

