<?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: MouseOver Images Using CSS Sprites</title>
	<atom:link href="http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/</link>
	<description></description>
	<lastBuildDate>Sat, 28 Jan 2012 15:57:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Jeff`</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-28705</link>
		<dc:creator>Jeff`</dc:creator>
		<pubDate>Tue, 14 Dec 2010 00:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-28705</guid>
		<description>Thank you for this.  I was able to get it going on my site http://elka.dappledgrey.com but because there are three different images lined up (social media icons top right) I had to give each its own DIV and then use your code on each of the three DIVs.  The hover portion I only had to include once.</description>
		<content:encoded><![CDATA[<p>Thank you for this.  I was able to get it going on my site <a href="http://elka.dappledgrey.com" rel="nofollow">http://elka.dappledgrey.com</a> but because there are three different images lined up (social media icons top right) I had to give each its own DIV and then use your code on each of the three DIVs.  The hover portion I only had to include once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1830</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 Mar 2008 15:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1830</guid>
		<description>Hi Alan, Do you mean that you&#039;ve had problems with this method? If so, could you provide me with a link and I&#039;ll be happy to take a look.

Personally, I prefer not to use JavaScript unless completely neccesary and never for critical functionality unless there&#039;s a fall back so I prefer to use the sliding method.

It has another advantage in that using CSS sprites can reduce the filesize over saving each image individually.</description>
		<content:encoded><![CDATA[<p>Hi Alan, Do you mean that you&#8217;ve had problems with this method? If so, could you provide me with a link and I&#8217;ll be happy to take a look.</p>
<p>Personally, I prefer not to use JavaScript unless completely neccesary and never for critical functionality unless there&#8217;s a fall back so I prefer to use the sliding method.</p>
<p>It has another advantage in that using CSS sprites can reduce the filesize over saving each image individually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1829</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Tue, 11 Mar 2008 15:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1829</guid>
		<description>Dave, 

About the flicker when using background-image swapping. I have of course encountered the issue before. Oddly enough I have encountered a similar issue in IE when using this &quot;sliding doors&quot; method.  For some reason, even though it was one actual image just being shifted on hover, IE6 would flicker out on me as if it was trying to reload the image and then slide it over. It didn&#039;t happen all the time but I found a little piece of script that seems to cure the issue. 

---

function fixIE6flicker(fix) {
	try {
		document.execCommand(&quot;BackgroundImageCache&quot;, false, fix);
	} catch(err) { }
}
fixIE6flicker(true); 

---

It might also fix the issue with actually swapping the images instead of sliding them.</description>
		<content:encoded><![CDATA[<p>Dave, </p>
<p>About the flicker when using background-image swapping. I have of course encountered the issue before. Oddly enough I have encountered a similar issue in IE when using this &#8220;sliding doors&#8221; method.  For some reason, even though it was one actual image just being shifted on hover, IE6 would flicker out on me as if it was trying to reload the image and then slide it over. It didn&#8217;t happen all the time but I found a little piece of script that seems to cure the issue. </p>
<p>&#8212;</p>
<p>function fixIE6flicker(fix) {<br />
	try {<br />
		document.execCommand(&quot;BackgroundImageCache&quot;, false, fix);<br />
	} catch(err) { }<br />
}<br />
fixIE6flicker(true); </p>
<p>&#8212;</p>
<p>It might also fix the issue with actually swapping the images instead of sliding them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1821</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 Mar 2008 14:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1821</guid>
		<description>Hi Jack, Do you mean something like this...

http://www.dave-woods.co.uk/?p=202

If not, do you have an example online anywhere of something like what you&#039;re trying to achieve?</description>
		<content:encoded><![CDATA[<p>Hi Jack, Do you mean something like this&#8230;</p>
<p><a href="http://www.dave-woods.co.uk/?p=202" rel="nofollow">http://www.dave-woods.co.uk/?p=202</a></p>
<p>If not, do you have an example online anywhere of something like what you&#8217;re trying to achieve?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackyboy</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1806</link>
		<dc:creator>jackyboy</dc:creator>
		<pubDate>Mon, 10 Mar 2008 18:30:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1806</guid>
		<description>This is ok, but i have a list of names and would like to have mouse roll over a name and picture pop up on side of name (in space i have saved for the pictures to show) also need to be able to click on name and go to another page. Name should not be a link. is this possible? Where would i find such a effect - how would i do it?</description>
		<content:encoded><![CDATA[<p>This is ok, but i have a list of names and would like to have mouse roll over a name and picture pop up on side of name (in space i have saved for the pictures to show) also need to be able to click on name and go to another page. Name should not be a link. is this possible? Where would i find such a effect &#8211; how would i do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dr john</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1405</link>
		<dc:creator>dr john</dc:creator>
		<pubDate>Fri, 15 Feb 2008 14:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1405</guid>
		<description>&lt;p&gt;One alternative if you use an unordered list for your menu is to use a different image (and colour) as the background for the list item and for the a:link.  Then for a:hover, you simply apply no image to the link and a transparent background - no colour, so the image/colour shows through. Or if it is in a div with a background image, that can show through instead, removing the need for a background image for the list item. Or even a background image for the div, and a colour for the link, going to transparent on hover - see this example&lt;br /&gt;
http://www.sky-web.net/taggartandwright/index.htm&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>One alternative if you use an unordered list for your menu is to use a different image (and colour) as the background for the list item and for the a:link.  Then for a:hover, you simply apply no image to the link and a transparent background &#8211; no colour, so the image/colour shows through. Or if it is in a div with a background image, that can show through instead, removing the need for a background image for the list item. Or even a background image for the div, and a colour for the link, going to transparent on hover &#8211; see this example<br />
<a href="http://www.sky-web.net/taggartandwright/index.htm" rel="nofollow">http://www.sky-web.net/taggartandwright/index.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1384</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 14 Feb 2008 08:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1384</guid>
		<description>Hi duryodhan,

Yes it would work but you&#039;ll also find that the hover image only loads once it&#039;s actually requested and therefore you get a blank gap displayed while the second image loads.

You should also notice that the two images combined can usually be slightly smaller in file size so it also has that benefit along with fewer http requests so you can significantly speed up your site.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hi duryodhan,</p>
<p>Yes it would work but you&#8217;ll also find that the hover image only loads once it&#8217;s actually requested and therefore you get a blank gap displayed while the second image loads.</p>
<p>You should also notice that the two images combined can usually be slightly smaller in file size so it also has that benefit along with fewer http requests so you can significantly speed up your site.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duryodhan</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1382</link>
		<dc:creator>duryodhan</dc:creator>
		<pubDate>Thu, 14 Feb 2008 03:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1382</guid>
		<description>Wouldn&#039;t just changing the background-image work too ?</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t just changing the background-image work too ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jermayn Parker</title>
		<link>http://www.dave-woods.co.uk/index.php/mouseover-images-using-css-sprites/comment-page-1/#comment-1381</link>
		<dc:creator>Jermayn Parker</dc:creator>
		<pubDate>Thu, 14 Feb 2008 01:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=180#comment-1381</guid>
		<description>Yeah that is easier and neater than using JavaScribble...

Im after something similar as this for an existing project, so ta for feeding me some ideas :D</description>
		<content:encoded><![CDATA[<p>Yeah that is easier and neater than using JavaScribble&#8230;</p>
<p>Im after something similar as this for an existing project, so ta for feeding me some ideas <img src='http://www.dave-woods.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

