<?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; FancyZoom</title>
	<atom:link href="http://iwebunlimited.com/tag/fancyzoom/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 #8 &#8211; FancyZoom in iWeb</title>
		<link>http://iwebunlimited.com/iweb-tips/iweb-tip-8-fancyzoom-in-iweb/</link>
		<comments>http://iwebunlimited.com/iweb-tips/iweb-tip-8-fancyzoom-in-iweb/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 23:00:35 +0000</pubDate>
		<dc:creator>iJason</dc:creator>
				<category><![CDATA[iWeb Tips]]></category>
		<category><![CDATA[FancyZoom]]></category>
		<category><![CDATA[Image Pop Up]]></category>
		<category><![CDATA[iWeb]]></category>
		<category><![CDATA[Model Box]]></category>
		<category><![CDATA[Post Publish]]></category>

		<guid isPermaLink="false">http://iwebunlimited.wordpress.com/?p=99</guid>
		<description><![CDATA[FancyZoom in iWeb, huh? What’s that.  Well there are a many websites these days that have that popular image zoom effect so that when you click on the image it animates the photo larger.  Well many have asked, how can I do that with iWeb?  Well here it is, this is the [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_100" class="wp-caption alignleft" style="width: 241px"></p>
<div><a style="text-decoration: none;" href="http://wp.me/pKE8E-1B"><span style="color: #000000;"><a style="text-decoration: none;" href="http://wp.me/pKE8E-1B"><img class="size-full wp-image-100  " style="text-decoration: underline;" title="fancyzoom" src="http://iwebunlimited.com/wp-content/uploads/2009/12/fancyzoom.jpg" alt="" width="231" height="171" /></a></span></a></div>
<p><p class="wp-caption-text">FancyZoom in iWeb</p></div>
<p>FancyZoom in iWeb, huh? What’s that.  Well there are a many websites these days that have that popular image zoom effect so that when you click on the image it animates the photo larger.  Well many have asked, how can I do that with iWeb?  Well here it is, this is the tutorial to show you just how to do that.  Keep in mind this one is a bit more complex, but it can be done without getting your hands to dirty in code.</p>
<p><span id="more-99"></span><strong><a href="http://www.iwebunlimited.com/examples/fancyzoom/fancyzoom.html" target="_blank">VIEW DEMO »</a></strong></p>
<p><strong>Step 1:<br />
 <span style="font-weight: normal;">Drag a photo onto your iWeb page that you would like the photo fancy zoom to be on.</span></strong></p>
<p><strong>Step 2:<br />
 <span style="font-weight: normal;">Click on your photo, and head to the hyperlink inspector and make the image a hyperlink.  Where it says “Link To:” choose “A File” and find your same photo that you dragged onto the iWeb page.</span></strong></p>
<p><strong>Step 3:<br />
 <span style="font-weight: normal;">Now your done with the iWeb part.  Now publish, either to a folder or to MobileMe.</span></strong></p>
<p><strong>Step 4:<br />
 <span style="font-weight: normal;">We now need to do just 2 more things.  First download this .zip file. </span></strong></p>
<blockquote><p><a title="Download Fancyzoom for iWeb" href="http://www.iwebunlimited.com/downloads/fancy-zoom.zip">DOWNLOAD FANZYZOOM .ZIP FILE</a></p>
</blockquote>
<p><strong><span style="font-weight: normal;">Once downloaded, open the zip so you have your folder titled “fancy-zoom”.  You will see a bunch of files inside of that folder.  You’ll need to drag this folder into your site folder.   To move to site folder see options below:</span></strong></p>
<p><strong>If you published to a folder:<br />
 <span style="font-weight: normal;">Find the web export folder that you published to and you will see inside a index.html file and a folder which is the name you gave your site.  Drag the “fancy-zoom” folder into that site folder.</span></strong></p>
<p><strong>If you published to MobileMe:<br />
 <span style="font-weight: normal;">Open up a finder window and go to the iDisk.  You are then going to search for the “Web” folder, then go into the “Sites” folder, and in there you should see a folder named the name that you titled you site in iWeb.  Drag and drop this fancy-zoom folder into that folder (it may take a while depending on your internet connection).</span></strong></p>
<p><strong>Step 5:<br />
 <span style="font-weight: normal;">Almost done.  We now just have to alter some code.  Now don’t get scared quite yet, it’s not to bad. In that same folder that we dropped the fancy-zoom folder you will find a bunch of other files including that page that you want to have your fancy zoom on.  Find that html page that you added the photos to and we need to open it up with something that allows you to edit html code.  I personally use “Coda” by Panic Software, they even have some trial version so you can try it out or just use it till you get your fancy zoom going.  Anyway, you can also simply use TextEdit on your Mac.  So here’s what you going to do.  Find that .html file, right click, choose “open with” and choose your html editor, it will say TextEdit or Coda or whatever you choose.  You will then see all the great code that iWeb users typically try to stay away from, but we just need to alter 2 lines of code.  Both Coda and Text Edit have a Find and Replace feature.  So press command + F on your keyboard and you’ll get the find and replace window.  Simply find and replace these two things:</span></strong></p>
<p>1) Find:</p>
<blockquote><p><code>&lt;/head&gt;</code></p>
</blockquote>
<p>Replace:</p>
<blockquote><p><code>&lt;script src="fancy-zoom/FancyZoom.js" type="text/javascript"&gt;&lt;/script&gt;&lt;script src="fancy-zoom/FancyZoomHTML.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/head&gt;</code></p>
</blockquote>
<p>2) Find:</p>
<blockquote><p><code>onload="onPageLoad();"</code></p>
</blockquote>
<p>Replace:</p>
<blockquote><p><code>onload="onPageLoad(); setupZoom();"</code></p>
</blockquote>
<p>Then just save (command + s, or File &gt; Save).</p>
<p>Done!</p>
<p>Now that wasn’t so bad eh?</p>
<p>From there you should have a fancy, shmancy zoom that will look great and it will also work on the iPhone.  Pretty cool, eh.</p>
<p>Note: You can only use FancyZoom on none commercial websites, if you would like to use FancyZoom on a commercial site you must purchase a license for $39 on <a href="http://www.cabel.name/2008/02/fancyzoom-10.html" target="_blank">Cabel’s Blog</a> (the creator of FancyZoom)</p>
<p><strong>More Notes:</strong></p>
<p>If you are looking to do other things with FancyZoom here are some tips:</p>
<p>• If you want to replace the Title below the photo then, do a search for href and find the title it’s using and change to what you want. Example title=”Add Your Title Here”</p>
<p>• If you want to get rid of the title entirely just Edit the FancyZoom.js file and on line 431, change the “visible” value to “invisible”</p>
<p>• If you want to add a border on the popup just add something like a 10px border on the image by adding the following at line after 63 in FancyZoomHTML.js: inImage1.style.border = &#8216;10px solid white&#8217;;</p>
<p>• FancyZoom will attach itself to any jpg, gif, png, bmp, or tiff link in your page.</p>
<p>• There is not a way to put anything else but photos into the fancy zoom, so no videos, flash, etc.  But I’m working on another tutorial to use another method so you can get video and flash in them, check back.</p>
]]></content:encoded>
			<wfw:commentRss>http://iwebunlimited.com/iweb-tips/iweb-tip-8-fancyzoom-in-iweb/feed/</wfw:commentRss>
		<slash:comments>105</slash:comments>
		</item>
	</channel>
</rss>

