My Ride
Started: Tuesday 21st May 2013 5:52pm
Distance: 39.18km
Duration: 00:59:15
Rest Time: 00:00:00
Climb: 0m
Max Speed: 5.76kmph
Average Speed: 39.68kmphInstagrams
-
Recent Posts
Recent Comments
- Arie on Tag Time: CakePHP Tag Plugin
- Paul on Sign Me Up A CakePHP User Registration Plugin
- Paul on Sign Me Up A CakePHP User Registration Plugin
- Watch The Big Bang Theory season 6 episode 13 on On My Tv: With Trakt.tv
- veloura et bellagenix on Ultimate Guestbook Tutorial: How to build a Guestbook with a honeypot, error checking, IP banning, pagination, e-mail notification and smilies with PHP and mySQL
Archives
- February 2013
- December 2012
- September 2012
- July 2012
- January 2012
- September 2011
- August 2011
- February 2011
- January 2011
- November 2010
- October 2010
- August 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
Categories
Meta
DarthFader: A jQuery Carousel Plugin with Force
January 12, 2012,
507 views
Working with a fair few jQuery image sliders I started to get frustrated with the quirks and rules of some of them. Requiring a paragraph tag to simply add in a caption, only order lists supported, not my cup of tea. So for a new project I decided to write my own plugin. The project required cross fading, so instantly the plugin was crowned darthFader.
Starting off this plugin is currently in it’s infancy. It supports crossfading of whatever elements you want, provided they are wrapped in a container. So if you have a bunch of Div’s, IMG’s, LI’s, or hopes and dreams layered behind one another, the darthFader has you covered.
It also allows you to set up a nav, with forward and back buttons, and dots to replicate how many items in the carousel, of which are clickable to jump you to the item you’ve chosen.
Download the jQuery plugin via:
git clone https://github.com/voidet/jQuery.darthFader /path/to/my/awesome/project
Sites using the force:
http://www.langfordsjewellers.com/
http://www.goplacesbrisbane.com/
http://www.honeybs.tv/
This will save the darthFader plugin ready for you to include in your project. From there you can attach it to your carousel elements by:
$('#carousel-element').darthFader()
Currently there are a few options you can override. The carousel nav element and the pause duration. More will come. I plan on adding a heap more animation styles and configuration options to give more flexibility to the plugin.
However an example on how to override the current options would be:
$('#carousel-element').darthFader({"nav": '#this-is-my-nav-element', 'speed': 5000})
Anyhow let me know if you have any additional features you would like to see included and I will happily consider






One Comment
Hey m8,
for such posts you definitely need a working demo link.
Keep em’ rolling.
One Trackback
[...] que se puede aplicar a elementos que no sean listas https://github.com/voidet/jQuery.darthFader http://www.jotlab.com/2012/01/12/darthfader-a-jquery-carousel-plugin-with-force/ Easy Slider http://cssglobe.com/easy-slider-17-numeric-navigation-jquery-slider/ [...]