<?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>Niche Store Market &#187; Graphics</title>
	<atom:link href="http://nichestoremarket.com/view/design-help/graphics/feed/" rel="self" type="application/rss+xml" />
	<link>http://nichestoremarket.com</link>
	<description>Affiliate Marketing Products  &#38;  Information</description>
	<lastBuildDate>Fri, 19 Jun 2009 15:25:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Creating a Mouse Over effect with the eBay (or any) Image</title>
		<link>http://nichestoremarket.com/2009/04/creating-a-mouse-over-effect-with-the-ebay-image/</link>
		<comments>http://nichestoremarket.com/2009/04/creating-a-mouse-over-effect-with-the-ebay-image/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 00:51:18 +0000</pubDate>
		<dc:creator>Shane Isaacs</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Build a Niche Store]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[ebay image]]></category>
		<category><![CDATA[image hover]]></category>
		<category><![CDATA[mouse over]]></category>

		<guid isPermaLink="false">http://nichestoremarket.com/blog/?p=224</guid>
		<description><![CDATA[<p><a href="http://nichestoremarket.com/2009/04/creating-a-mouse-over-effect-with-the-ebay-image/">Creating a Mouse Over effect with the eBay (or any) Image</a><br/><br/>Post from: <a href="http://nichestoremarket.com/">Niche Store Market</a></p>
Creating a Mouse Over effect with the eBay (or any) ImagePost from: Niche Store Market Sometimes it is just the little things that can really set a site apart from the others. Having just a simple little variation in behavior or looks of anything, even something as small as the eBay Image used in Build [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://nichestoremarket.com/2009/04/creating-a-mouse-over-effect-with-the-ebay-image/">Creating a Mouse Over effect with the eBay (or any) Image</a><br/><br/>Post from: <a href="http://nichestoremarket.com/">Niche Store Market</a></p>
<p>Sometimes it is just the little things that can really set a site apart from the others. Having just a simple little variation in behavior or looks of anything, even something as small as the eBay Image used in Build a Niche Store can mean the difference between a click through and a possible commission and the user losing interest and leaving. I was asked about doing this in the forum and thought I&#8217;d go ahead and post it for everyone.</p>
<p>Although the title and instructions are for creating a mouse over on the ebay.gif used in BANS, this can be applied to any image anywhere on your site. I&#8217;ll add some additional instructions below on how to accomplish this.</p>
<p>There are a few easy steps you will need to do in order to make this happen. For those that are not quite sure what a mouse over effect is, run your mouse over the ebay image below. The steps I took to make this image flip in this post are the same as listed in setup 2 below.</p>
<div class="ebayflip"><a href="#"><img src="http://nichestoremarket.com/wp-content/uploads/2009/04/ebay.gif" alt="blank image"/></a></div>
<p><span id="more-224"></span></p>
<h3>Setup 1: Adding a mouse over to the default eBay Image</h3>
<ol>
<li>Create 2 new images and name them ebay1.gif and ebay2.gif</li>
<li>Create a new transparent (completely clear, see thru) image the same size as the ones you made above and name it ebay.gif.</li>
<li>Upload the images to your themes image folder overwriting the original ebay.gif.</li>
<li>Open your style sheet (styles.css) and add this code at the bottom:<br />
<blockquote><p>
#ebaylogo a {<br />
   width: 70px;<br />
   float: left;<br />
   padding: 0px;<br />
   background-image:url(&#8216;images/ebay1.gif&#8217;);<br />
   background-repeat:no-repeat;<br />
   }</p>
<p>#ebaylogo a:hover {<br />
   background-image:url(&#8216;images/ebay2.gif&#8217;);<br />
   }
</p></blockquote>
</li>
<li>Save your changes and upload the style sheet to your themes folder overwriting the original styles.css.</li>
<li><b>BANS VERSION 2 ONLY FROM HERE!</b> Open the FrontControl.php in the cont folder and find the code below. Now add in the bold items to make the ebay logo a link<br />
(has to be a link to make it work!)</p>
<blockquote><p>
function logodisplay(){<br />
$temp = $this-&gt;getOptions(&quot;template&quot;);<br />
$ebaylogo = $this-&gt;getOptions(&quot;logo&quot;);<br />
if ($ebaylogo != &#8217;0&#8242;){<br />
$f = &quot;<b>&lt;a href=&#8217;YOUR AFFILIATE LINK&#8217;&gt;</b><br />
&lt;img src=&#8217;&quot;.URL_PATH.&quot;/themes/&quot;.$temp.&quot;/images/ebay.gif&#8217; alt=&#8217;eBay&#8217; /&gt;<b>&lt;/a&gt;</b><br />
&quot;;<br />
return $f;
</p></blockquote>
</li>
<li>Save your changes and upload the FrontConrol.php to your stores cont folder overwriting the original FrontControl.php</li>
</ol>
<p>That&#8217;s it. It will be working now. If the ebay.gif image is not transparent (ie made using a program like PhotoShop or Fireworks, that has that capability) then you will not see the behind effect as the image will render white and hide them.</p>
<h3>Setup 2: Adding the mouse over effect to any image</h3>
<p>To incorporate this method to any image simple follow about the same steps as I&#8217;ll show you below</p>
<ol>
<li>Create 2 new images and name them image1.gif and image2.gif</li>
<li>Create a new transparent (completely clear, see thru) image the same size as the ones you made above and name it image.gif.</li>
<li>Upload the images to your themes image folder.</li>
<li>Open your style sheet (styles.css) and add this code at the bottom:<br />
<blockquote><p>
.ebayflip a {<br />
   width: 70px; /*You can change this to the actual size of the image*/<br />
   padding: 0px;<br />
   background-image:url(&#8216;images/image1.gif&#8217;);<br />
   background-repeat:no-repeat;<br />
   }</p>
<p>.ebayflip a:hover {<br />
   background-image:url(&#8216;images/image2.gif&#8217;);<br />
   }
</p></blockquote>
</li>
<li>Save your changes and upload the style sheet to your themes folder overwriting the original styles.css.</li>
<li>Now anywhere you want to place the image in your site just add this code:<br />
<blockquote><p>&lt;div class=&#8221;ebayflip&#8221;>&lt;a href=&#8221;YOUR_LINK_HERE&#8221;>&lt;img src=&#8221;http://YOUR_DOMAIN_NAME/themes/YOUR_THEME/images/image.gif&#8221; alt=&#8221;" />&lt;/a>&lt;/div></p></blockquote>
</li>
</ol>
<p>That is all there is to it. Sometimes just a little something extra can make or break the sell!</p>


<!-- Begin TwitThis script (http://twitthis.com/) -->
<div style="text-align:left;">
<script type="text/javascript" src="http://s3.chuug.com/chuug.twitthis.scripts/twitthis.js"></script>
<script type="text/javascript">
<!--
document.write('<a href="javascript:;" onclick="TwitThis.pop();"><img src="http://s3.chuug.com/chuug.twitthis.resources/twitthis_grey_72x22.gif" alt="TwitThis" style="border:none;" /></a>');
//-->
</script>
</div>
<!-- /End -->

]]></content:encoded>
			<wfw:commentRss>http://nichestoremarket.com/2009/04/creating-a-mouse-over-effect-with-the-ebay-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
