<?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>a work on process &#187; slideshow</title>
	<atom:link href="http://jystewart.net/process/tag/slideshow/feed/" rel="self" type="application/rss+xml" />
	<link>http://jystewart.net/process</link>
	<description>notes from another web developer</description>
	<lastBuildDate>Sat, 21 Aug 2010 13:09:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>More Javascript Gallery Work</title>
		<link>http://jystewart.net/process/2005/04/more-javascript-gallery-work/</link>
		<comments>http://jystewart.net/process/2005/04/more-javascript-gallery-work/#comments</comments>
		<pubDate>Mon, 25 Apr 2005 14:30:31 +0000</pubDate>
		<dc:creator>James Stewart</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://jystewart.net/process/archives/2005/04/more-javascript-gallery-work/</guid>
		<description><![CDATA[The gallery script I posted about on Friday was a nice improvement on plain image switching, but didn&#8217;t quite have the elegance I was looking for, particularly when switching between images of different sizes. Yesterday, I managed to grab some time to play around with resizing images using javascript so as to produce a smoother <a href="http://jystewart.net/process/2005/04/more-javascript-gallery-work/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>The gallery script <a href="http://jystewart.net/process/archives/2005/04/fading-in-without-javascript/">I posted about on Friday</a> was a nice improvement on plain image switching, but didn&#8217;t quite have the elegance I was looking for, particularly when switching between images of different sizes. Yesterday, I managed to grab some time to play around with resizing images using javascript so as to produce a smoother transition. The effect is rather pleasing.</p>
<p>It works by preloading each image shortly before it might be needed, and using the dimensions of the preloaded image to calculate increments to change the displayed image dimension by. After stepping through the resizing, we then switch the previous image to the background, change our container&#8217;s source to the new image, and fade it in.</p>
<p>You can find the code and see a sample <a href="/code/jsgallery/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jystewart.net/process/2005/04/more-javascript-gallery-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
