Skip to content

nexventures/jquery.betterFader.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

jquery.betterFader.js

By Chris Pappas chris@nexventures.com

This plugin is based on the work of T. Baldes http://medienfreunde.com

Much thanks to T. Baldes at medienfreunde.com for his very nice InnerFade plugin.

I have fixed up this plugin to make it fit my needs. I simply added a customizable delay into the 'fade' animations. Next few versions will add delays into slide transition and fix up other parts.

Examples

<ul id="news">
  <li>content 1</li>
  <li>content 2</li>
  <li>content 3</li>
</ul>


$('#news').innerfade({
  animationtype: Type of animation 'fade' or 'slide' (Default: 'fade'),
  speed: Fading-/Sliding-Speed in milliseconds or keywords (slow, normal or fast) (Default: 'normal'),
  timeoutCurrent: Time between the fades in milliseconds (Default: '2000'),
  timeoutBetween: Time between the fades in milliseconds (Default: '500'),
  type: Type of slideshow: 'sequence', 'random' or 'random_start' (Default: 'sequence'),
  containerheight: Height of the containing element in any css-height-value (Default: 'auto'),
  runningclass: CSS-Class which the container gets applied (Default: 'innerfade'),
  children: optional children selector (Default: null)
});

About

An improved simple fader plugin to fade arbitrary elements in and out

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published