Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Spotlight plugin for jQuery
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README.txt
index.html
spotlight.js add support for transition effects

README.txt

jQuery Spotlight Plugin
=======================

This is a plugin that allows the creation of a spotlighted content module.

You can see an example here: http://examples.squishtech.com/jquery_spotlight


Usage
=====
  $('#spotlight').spotlight([options]);

  If you'd like to manually stop/start a spotlight module:
    $('#spotlight').spotlight().stop();
    $('#spotlight').spotlight().start();

  Multiple spotlights can be run simultaneously.

Options
=======
  featureItems  - Class name for featured items
  itemContent   - Class name to search the featured item for from which to retrieve the featured content
  feature       - Class name of the main featured content container
  featuredClass - Class name to add to a featured item when it is selected
  displayTime   - Number of seconds to show a feature
  autoReStart   - After a user hovers over an item, should the rotation be restarted automatically?
  transition    - The transition style (fadeIn, slideDown, etc).
                  For an effect at default speed just use a string: 'fadeIn'
                  To set the speed use an array: ['fadeIn', 'fast']
Something went wrong with that request. Please try again.