<?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 Clean Design &#187; carousel</title>
	<atom:link href="http://www.acleandesign.com/tag/carousel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.acleandesign.com</link>
	<description>Innovation in usability research and interaction design.</description>
	<lastBuildDate>Mon, 26 Jul 2010 17:25:31 +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>Click-and-Drag Simulation in Axure</title>
		<link>http://www.acleandesign.com/2008/09/click-and-drag-simulation-in-axure/</link>
		<comments>http://www.acleandesign.com/2008/09/click-and-drag-simulation-in-axure/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 17:51:47 +0000</pubDate>
		<dc:creator>Loren</dc:creator>
				<category><![CDATA[Interaction Design]]></category>
		<category><![CDATA[axure]]></category>
		<category><![CDATA[carousel]]></category>
		<category><![CDATA[click-and-drag]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.acleandesign.com/?p=31</guid>
		<description><![CDATA[Prototyping click-and-drag functionality in Axure has proven to be a problem.  I&#8217;d like to show off a little technique I just developed for simulating a &#8220;draggable&#8221; interaction in a prototype.  It&#8217;s not the real thing, but it&#8217;s the closest I&#8217;ve seen, and can be used to prototype touchscreen applications like those of the iPhone.  It [...]]]></description>
			<content:encoded><![CDATA[<p>Prototyping click-and-drag functionality in Axure has proven to be a problem.  I&#8217;d like to show off a little technique I just developed for simulating a &#8220;draggable&#8221; interaction in a prototype.  It&#8217;s not the real thing, but it&#8217;s the closest I&#8217;ve seen, and can be used to prototype touchscreen applications like those of the iPhone.  It requires an obsessive focus to detail, but hey, that&#8217;s what makes a great designer.</p>
<p><span id="more-31"></span></p>
<h4>&#8220;Draggable&#8221;, Animated Carousel</h4>
<p>The Carousel will be included in the next <a title="Axure Design Library v1" href="http://www.acleandesign.com/2008/09/axure-design-library-v1/">pattern library</a> update, but until then, this is what it will look like:</p>
<p><a href="http://www.acleandesign.com/m/AxureCarousel/Home.html"><img class="size-medium wp-image-32 alignnone" title="Axure Carousel Preview" src="http://www.acleandesign.com/wp-content/uploads/2008/09/carousel_preview-300x134.png" alt="Axure Carousel Preview" width="300" height="134" /></a></p>
<p><a title="Preview the HTML" href="http://www.acleandesign.com/m/AxureCarousel/Home.html">Try it Out</a> OR <a title="Carousel RP File" href="http://www.acleandesign.com/m/Carousel_ACleanDesignDotCom.rp">Download the Axure (.rp) file</a></p>
<p>There is another release of the library in the works, in which I&#8217;ve basically gone off the deep end with some sweet interactions.  However, I&#8217;ll wait until a few more pieces click together before I post it, including some additions from other designers.</p>
<h4>How it&#8217;s Made</h4>
<p>This Carousel uses a couple of tricky techniques that are confusing at first, but useful once learned.  Here are the fundamentals:</p>
<ol>
<li>
<p><strong>Windowing</strong><br />
To create the movable filmstrip of items, place one dynamic panel that will be your &#8220;window&#8221;, which shows only a few items at a time.  Inside that dynamic panel, place <em>another, </em>much wider dynamic panel that has all your items nicely lined up and spaced out evenly.  Then, all you have to do is move the inner dynamic panel around using interactions.</p>
</li>
<li>
<p><strong>Animation (with Momentum</strong>)<br />
Victor at Axure has <a title="How to do Animation in Axure" href="http://axure.com/cs/forums/post/2643.aspx">explained</a> how to do time-delayed interactions, and I won&#8217;t repeat that.  However, momentum hasn&#8217;t been discussed.  To create momentum, move your panel by a decreasing amount each time.  Your cases should look something like this, which will create the appearance of slowing down:</p>
<p>Case 1: Move (panel) by 50px<br />
Case 2: Wait 50ms and Move (panel) by 40px<br />
Case 3: Wait 100ms and Move (panel) by 30px<br />
Case 4: Wait 150ms and Move (panel) by 20px<br />
Case 5: Wait 200ms and Move (panel) by 10px</p>
</li>
<li>
<p><strong>Fake Click-and-Drag</strong><br />
To do this, first, lay an image map region over the &#8220;window&#8221; panel.  Then create a hidden &#8220;Controls&#8221; dynamic panel on top of the image map, which will have controls inside that move the inner, &#8220;filmstrip&#8221; panel around.  Set the onClick interaction on the image map region to show the &#8220;Controls&#8221; panel.<br />
So, when the user clicks the image map, &#8220;Controls&#8221; will appear between the mouse pointer and the image map they just clicked.<br />
Now open up the Controls panel, and within it create two more image maps, one on each side.  Use the MouseOver interaction on each of these image maps to 1) animate the &#8220;filmstrip&#8221; in its respective direction, and 2) re-hide the Controls panel.<br />
Finally, in the middle of the Controls panel, place some helpful text and arrows telling the user to slide their mouse in either direction.<br />
Here is an exploded view:<a href="http://www.acleandesign.com/wp-content/uploads/2008/09/carousel_animator.png"><br />
</a><a href="http://www.acleandesign.com/wp-content/uploads/2008/09/carousel_breakdown.png"><img class="alignnone size-medium wp-image-34" title="Carousel Exploded" src="http://www.acleandesign.com/wp-content/uploads/2008/09/carousel_breakdown-220x300.png" alt="" width="220" height="300" /></a><a href="http://www.acleandesign.com/wp-content/uploads/2008/09/carousel_animator.png"><img class="alignnone size-medium wp-image-33" title="Carousel Animator" src="http://www.acleandesign.com/wp-content/uploads/2008/09/carousel_animator-300x205.png" alt="" width="300" height="205" /></a></p>
</li>
</ol>
<p>Whew.  Did you make it through all that?  You deserve a <a title="Bonus Pattern" href="http://www.acleandesign.com/m/AxureCarousel/Bonus.html">bonus</a> (it&#8217;s included in the <a title="Carousel RP File" href="http://www.acleandesign.com/m/Carousel_ACleanDesignDotCom.rp">.rp file</a>, too).</p>
<p>Happy prototyping!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acleandesign.com/2008/09/click-and-drag-simulation-in-axure/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
