<?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>Roll dock &#187; jFlip</title>
	<atom:link href="http://blog.rollstudio.it/tag/jflip/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rollstudio.it</link>
	<description>Multimedia Design</description>
	<lastBuildDate>Fri, 26 Feb 2010 11:55:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The jFlip plugin</title>
		<link>http://blog.rollstudio.it/2009/10/the-jflip-plugin/</link>
		<comments>http://blog.rollstudio.it/2009/10/the-jflip-plugin/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 10:52:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Inside roll]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jFlip]]></category>

		<guid isPermaLink="false">http://blog.rollstudio.it/?p=154</guid>
		<description><![CDATA[
A flipping page gallery
This plugin builds an image gallery made as a book.
You can flip the book pages to view the next or previous image clicking or dragging the animated corners shown when hovering on the gallery area.
By the way, no flash needed!
Author: Renato Formato.
Documentation
The plugin needs jquery 1.2.3. Tested with all jquery compatible browsers.
IE [...]]]></description>
			<content:encoded><![CDATA[<div>
<h3>A flipping page gallery</h3>
<p>This plugin builds an image gallery made as a book.</p>
<p>You can flip the book pages to view the next or previous image clicking or dragging the animated corners shown when hovering on the gallery area.</p>
<p>By the way, no flash needed!</p>
<p>Author: Renato Formato.</p>
<h3>Documentation</h3>
<p>The plugin needs jquery 1.2.3. Tested with all jquery compatible browsers.</p>
<p>IE needs a <a href="http://www.jquery.info/scripts/jFlip/excanvasX.js">modified version of excanvas</a> I wrote that supports patterns (with a special feature to scale patterns) and rotated linear gradient.</p>
<p>You need to add the following line to the head:</p>
<div style="text-align: left;" dir="ltr"><code>&lt;!--[if IE]&gt;&lt;script type="text/javascript" src="excanvasX.js"&gt;&lt;/script&gt;&lt;![endif]--&gt;</code></div>
<h3>How to use the plugin</h3>
<p>The plugin finds all the images inside the provided selector and build the flipping book gallery.</p>
<div style="text-align: left;" dir="ltr"><code>$(selector).jFlip(width,height,options)</code></div>
<h3>Arguments</h3>
<ul>
<li> <strong>width (number &#8211; default 300)</strong> : width of the canvas in px</li>
<li> <strong>height (number &#8211; default 300)</strong> : height of the canvas in px</li>
<li> <strong>options (hash)</strong> :
<ul>
<li> <strong>background (string &#8211; default &#8220;green&#8221;)</strong> : background color when images are smaller than canvas (&#8220;red&#8221;,&#8221;#FFF&#8221;,&#8221;rgba(255,255,255)&#8221;)</li>
<li> <strong>cornersTop (boolean &#8211; default true)</strong> : true for top corners, false for bottom ones</li>
<li> <strong>scale (string &#8211; default &#8220;noresize&#8221;)</strong> :
<ul>
<li> &#8220;noresize&#8221; images are not resized</li>
<li> &#8220;fit&#8221; big images are resized to be completely visible</li>
<li> &#8220;fill&#8221; all images are resized keeping aspect ratio to fill the canvas</li>
</ul>
</li>
<li> <strong>gradientColors (array of strings &#8211; default [’#4F2727’,’#FF8F8F’,’#F00’])</strong> : the colors the corners (dark color, light color, plain color) <strong>since version 0.4</strong></li>
<li> <strong>curlSize (number &#8211; default 0.1)</strong> : the size of the corner as a fraction of height/width (ex: 0.1 sets corner width = jflip width*0.1 and corner height = jflip height*0.1) <strong>since version 0.4</strong></li>
</ul>
</li>
</ul>
<p><strong>Events &#8211; since version 0.4</strong></p>
<p>The elements on which jFlip is applied can bind the flip.jflip event, triggered on page flip</p>
<p>The event handler has the following signature:</p>
<div style="text-align: left;" dir="ltr"><code>function(event,current_page,total_pages)</code></div>
<h3>Download</h3>
<p><strong>Update v0.4 (28/2/2009)</strong>: New options to change the corners color and size. New event flip.jflip triggered on page flip</p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.4.js">jFlip v0.4 (14 kB &#8211; great to debug or to read the code)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.4.min.js">jFlip v0.4 minified (6kB &#8211; for production use)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/excanvasX.js">excanvasX</a> updated with latest additions and bug fixes from google</p>
<p><strong>Update v0.3 (15/6/2008)</strong>: Fixed a bug with IE and mouse move management.</p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.3.js">jFlip v0.3 (13 kB &#8211; great to debug or to read the code)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/jquery.jflip-0.3.min.js">jFlip v0.3 minified (7kB &#8211; for production use)</a></p>
<p><a href="http://www.jquery.info/scripts/jFlip/excanvasX.js">excanvasX</a></p>
<h3>Demo</h3>
<p><a href="http://www.jquery.info/scripts/jFlip/demo.html">view the examples</a></p>
<p>By <strong>Renato Formato</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollstudio.it/2009/10/the-jflip-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
