<?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>iWebUnlimited.com &#187; Rollovers</title>
	<atom:link href="http://iwebunlimited.com/tag/rollovers/feed/" rel="self" type="application/rss+xml" />
	<link>http://iwebunlimited.com</link>
	<description>Pushing iWeb to No Limit!</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:36:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iWeb Tip #13 – Rollovers in iWeb</title>
		<link>http://iwebunlimited.com/iweb-tips/iweb-tip-13-rollovers-in-iweb/</link>
		<comments>http://iwebunlimited.com/iweb-tips/iweb-tip-13-rollovers-in-iweb/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 22:02:15 +0000</pubDate>
		<dc:creator>iJason</dc:creator>
				<category><![CDATA[iWeb Tips]]></category>
		<category><![CDATA[iWeb]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Non-Post Editing]]></category>
		<category><![CDATA[Rollovers]]></category>

		<guid isPermaLink="false">http://iwebunlimited.wordpress.com/?p=137</guid>
		<description><![CDATA[It&#8217;s always fun to add some user interaction to your website and currently the only rollover like interaction iWeb gives us is text rollovers as links.  Well this post is to show you how to get image rollovers on your iWebsites.  Here we go:


See Demo

Step 1) Make 2 graphics. One that is the up/normal state, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://iwebunlimited.com/wp-content/uploads/2009/02/rollovers.jpg"><img class="alignleft size-full wp-image-338" title="rollovers" src="http://iwebunlimited.com/wp-content/uploads/2009/02/rollovers.jpg" alt="Rollovers in iWeb" width="249" height="181" /></a>It&#8217;s always fun to add some user interaction to your website and currently the only rollover like interaction iWeb gives us is text rollovers as links.  Well this post is to show you how to get image rollovers on your iWebsites.  Here we go:</p>
<p><span id="more-137"></span></p>
<blockquote>
<h4><a onclick="window.open('http://www.iwebunlimited.com/examples/rollovers.html','Rollovers in iWeb Example','width=810,height=740,left='+(screen.availWidth/2-405)+',top='+(screen.availHeight/2-370)+'');return false;" href="http://www.iwebunlimited.com/examples/rollovers.html" target="_blank">See Demo</a></h4>
</blockquote>
<p><strong>Step 1)</strong> Make 2 graphics. One that is the up/normal state, or what you want to be up when the users mouse is not over the image.  Then make the other graphic the rollover state or what the graphic will look like when you roll the mouse over it.</p>
<p><strong>Step 2)</strong> Size those 2 graphics as small as you can get them without losing quality.  Photoshops save for web features works good for this, but you can get this effect just as easy by opening it with Preview and saving as jpeg and adjusting the quality.</p>
<p><strong>Step 3)</strong> Put those 2 graphics on your server.  You can use the iDisk with MobileMe or your own server.  Just make a folder somewhere on the server perhaps call it “rollover_images” or something like that.  If your putting it on MobileMe make the folder in this location: iDisk/Web/Sites/rollover_images . Then the URL to the images will look something like this: For MobileMe—http://web.me.com/username/rollover_images/rollover.jpg or if you using your own host it would be —http://www.yoursite.com/rollover_images/rollover.jpg in which you would put the folder right on the root level of your public server.</p>
<p><strong>Step 4)</strong> Then simply copy the code below and paste into a snippet.</p>
<blockquote><p><code>&lt;script type="text/javascript"&gt; function mouseOver()<br />
 {document.rollover_one.src ="<span style="color: #ff0000;">http://web.me.com/username/rollover_images/rollover.jpg</span>"}<br />
 function mouseOut()<br />
 {document.rollover_one.src ="<span style="color: #ff0000;">http://web.me.com/username/rollover_images/normal.jpg</span>"}<br />
 &lt;/script&gt;<br />
 &lt;a href="<span style="color: #ff0000;">http://www.your_button_link_here.com</span>"&gt;<br />
 &lt;img alt="<span style="color: #ff0000;">Link Title</span>" src="<span style="color: #ff0000;">http://web.me.com/username/rollover_images/normal.jpg</span>" name="rollover_one" width="<span style="color: #ff0000;">175</span>" height="<span style="color: #ff0000;">175</span>" onmouseover="mouseOver()" onmouseout="mouseOut()" style="border: none;"/&gt;&lt;/a&gt;</code></p>
</blockquote>
<p><strong>Step 5)</strong> Replace what’s in red with your URL’s to your images and image sizes and put in what link you want it to go to by replacing the iwebunlimited link and your set.</p>
<p><strong>Note:</strong> If you&#8217;d like the link to open in a new page replace the link</p>
<blockquote><p><code>&lt;a href="http://www.iwebunlimited.com"&gt; </code></p>
</blockquote>
<p>with</p>
<blockquote><p><code>&lt;a href="http://www.<span style="color: #ff0000;">iwebunlimited</span>.com" target="_blank"&gt;</code></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://iwebunlimited.com/iweb-tips/iweb-tip-13-rollovers-in-iweb/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
	</channel>
</rss>

