<?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>Karmagination &#187; Uncategorized</title>
	<atom:link href="http://www.karmagination.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.karmagination.com/blog</link>
	<description>Creation begins with imagination</description>
	<lastBuildDate>Fri, 25 Sep 2009 03:44:44 +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>Karmic Flow 0.2 &#8211; Content Slider for Karmagination / jQuery</title>
		<link>http://www.karmagination.com/blog/2009/09/24/karmic-flow-0-2-content-slider-for-karmagination-jquery/</link>
		<comments>http://www.karmagination.com/blog/2009/09/24/karmic-flow-0-2-content-slider-for-karmagination-jquery/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 02:20:51 +0000</pubDate>
		<dc:creator>Kean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.karmagination.com/blog/?p=138</guid>
		<description><![CDATA[Here is a small update to Karmic flow - Fix auto slide timing not resetting when clicking on controllers - Fix decesdants of controllers triggering the default behavior of controllers (i.e. popping up new windows) - Now karmic_flow_slide_selected will trigger the correct slide and controller onDOMready - Slides now uses id instead of name for [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.karmagination.com%2Fblog%2F2009%2F09%2F24%2Fkarmic-flow-0-2-content-slider-for-karmagination-jquery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.karmagination.com%2Fblog%2F2009%2F09%2F24%2Fkarmic-flow-0-2-content-slider-for-karmagination-jquery%2F&amp;source=karmagination&amp;style=normal&amp;service=bit.ly&amp;service_api=R_5ed1fb4fa93b5df6c239dff2a25003de" height="61" width="50" /><br />
			</a>
		</div>
<p>Here is a small update to Karmic flow</p>
<p>- Fix auto slide timing not resetting when clicking on controllers<br />
- Fix decesdants of controllers triggering the default behavior of controllers (i.e. popping up new windows)<br />
- Now karmic_flow_slide_selected will trigger the correct slide and controller onDOMready<br />
- Slides now uses id instead of name for standards compliance</p>
<p>This is a remake of my wildly popular plugin for jQuery, known as <a href="http://www.gimiti.com/kltan/wordpress/?p=46">jFlow</a>. It works with <a href="/downloads/karma-0.2.zip">Karmagination 0.2</a> or jQuery 1.3.2. </p>
<p><a href="/downloads/karmic_flow-0.2.zip">Download</a> or see a <a href="/demo/kFlow/0.2/example-karma.html">demo with Karmagination</a> or see a <a href="/demo/kFlow/0.2/example-jq.html">demo with jQuery</a><br />
<img align="top" src="/demo/kFlow/0.2/i/optimized.png" title="Optimized for Karmagination" class="alignnone" width="142" height="20" /></p>
<p><img src="/demo/kFlow/0.1/demo.jpg" alt="Karmic Flow Demo" /></p>
<p>Basic usage</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#container'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">karmicFlow</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>Here are the configurable options:</h2>
<p>duration: (int) the time in milliseconds it takes to move 1 slide<br />
timer: (int) waiting time in milliseconds for each slide before it slides, used when slides are played<br />
auto: (boolean) specify whether to automatically play the slides on load</p>
<p><strong>The options below are not to be modified unless you know what you are doing. If you change the options below make sure you change the corresponding class name for the HTML.</strong></p>
<p>container: (string) the class name for container of slider and slides<br />
slider: (string) the class name for slider<br />
slides: (string) the class name for slides<br />
slide_selected: (string) the class name added to currect active slide<br />
slide_overflow: (string) the class name that handles how to display overflow slide<br />
controller: (string) the class name for controller that slides to a particular slides<br />
controller_selected: (string) the class name added to the controller of the current active slide<br />
next: (string) the class name that slides the slider to the next slide<br />
prev: (string) the class name that slides the slider to the previous slide<br />
play: (string) the class name that automatically slides slide in timed intervals<br />
pause: (string) the class name that pauses the effects of play</p>
<h2>The default values for the options:</h2>
<p>duration: 300<br />
timer: 2500<br />
auto: false<br />
container: &#8216;karmic_flow_container&#8217;<br />
slider: &#8216;karmic_flow_slider&#8217;<br />
slides: &#8216;karmic_flow_slides&#8217;<br />
sliding: &#8216;karmic_flow_sliding&#8217;<br />
slide_selected: &#8216;karmic_flow_slide_selected&#8217;<br />
slide_overflow: &#8216;karmic_flow_slide_overflow&#8217;<br />
controller: &#8216;karmic_flow_controller&#8217;<br />
controller_selected: &#8216;karmic_flow_controller_selected&#8217;<br />
next: &#8216;karmic_flow_next_controller&#8217;<br />
prev: &#8216;karmic_flow_prev_controller&#8217;<br />
play: &#8216;karmic_flow_play_controller&#8217;<br />
pause: &#8216;karmic_flow_pause_controller&#8217;</p>
<h2>Recommended HTML structure:</h2>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_prev_controller&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>Prev<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_next_controller&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>Next<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_play_controller&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>Play<span style="color: #339933;">/</span>Pause<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>br <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;</span>br <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;</span>br <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_controller&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#slide1&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;&lt;</span>b<span style="color: #339933;">&gt;</span>叶上水<span style="color: #339933;">&lt;/</span>b<span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_controller&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#slide2&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>沙与石<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_controller&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#slide3&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>迷雾滩<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_controller&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#slide4&quot;</span> target<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span><span style="color: #339933;">&gt;</span>豹爽<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;container&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_container&quot;</span><span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_slider&quot;</span><span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_slides karmic_flow_slide_selected&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;slide1&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;i/p1.jpg&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_slides&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;slide2&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;i/p2.jpg&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_slides&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;slide3&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;i/p3.jpg&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;karmic_flow_slides&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;slide4&quot;</span><span style="color: #339933;">&gt;&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;i/p4.jpg&quot;</span> <span style="color: #339933;">/&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.karmagination.com/blog/2009/09/24/karmic-flow-0-2-content-slider-for-karmagination-jquery/feed/</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
	</channel>
</rss>
