Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Spotlight plugin for jQuery

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.txt
Octocat-spinner-32 index.html
Octocat-spinner-32 spotlight.js
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.