Coder Social home page Coder Social logo

chrismckee / fufade Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 648 KB

Optimized JQuery Slideshow Fader with navigation buttons (Compatible with jQuery 1.4 and good job too as its the version referenced in the example)............................ Suggestions Welcome (file them under Issues so I don't lose them ~ receive duplicates thanks. ( http://chrismckee.co.uk )

Home Page: http://bit.ly/fufade

JavaScript 100.00%

fufade's Introduction

fuFade 1.1 – jQuery slideshow plugin

Info

fuFade is a slideshow plugin with next/prev buttons and via css allows you to provide a more semantically pleasing slideshow (see example.htm)
I’ve optimized this code and also cleaned it up as far as possible to a point where it almost passes the lint test (jslint.com).

Developed by Chris McKee, http://chrismckee.co.uk
For updates, follow Chris McKee on Twitter

Examples

Included in archive.

Markup

As in the Example File.

CSS

In the Example file.

Initialize

<script type="text/javascript">
// As in the example 
	   $(function(){
			$('ul#slideshow').fuFade({
				speed: 2000,
				timeout: 4000,
				containerheight: '334px'
			});
		});
    
// Minimal
	   $(function(){
			$('ul#slideshow').fuFade();
		});
</script>

Options

 	  speed: Fading Speed in milliseconds or keywords (slow, normal or fast) (Default: 'normal'), 
 	  timeout: Time between the fades in milliseconds (Default: '2 seconds [2000 ms]'), 
 	  type: Type of slideshow: 'sequence', 'random' (Default: 'sequence'), 
 		containerheight: Height of the containing element in any css-height-value (Default: 'auto'),
 	  runningclass: CSS-Class which the container get's applied (Default: 'fufade'),
 	  children: optional children selector (Default: null)

Changelog

  • Modified release
    JSLint ran on code; jQuery lint tested.
  • First Release 1.0

Based on…

innerfade by Torsten Baldes [http://bit.ly/8MiZzr]
which was based on the work of Matt Oakes [http://bit.ly/moaks]
& Ralf S. Engelschall [http://bit.ly/chootrain]

fufade's People

Contributors

chrismckee avatar

Stargazers

GAURAV avatar Olivier Meyer avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.