Login   Register  
Icontem

Spotlight: Show a spotlight over a Web page

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Videos Videos   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-06-23 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 279 This week: 1All time: 132 This week: 72Up
Version License JavaScript version Categories  
spotlight 1.0BSD License1.0Animation
Description Author  

This class can show a spotlight over a Web page.

It can create a transparent canvas on the top of the Web page with a dark area and a light rounded spot area that make the content below it appear as if it highlighted by a spotlight.

The spotlight can be animated so it can move at a given speed.

Callback functions may be invoked when the user drags the mouse over or clicks in the the spotlight or the canvas area, as well when the animation starts and ends.

Picture of Arturs Sosins
Name: Arturs Sosins <contact>
Classes: 46 packages by
Country: Latvia Latvia
Age: 26
All time rank: 1
Week rank: 7 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 3x

Winner: 3x

Videos  
  • Javascript Spotlight
  Files folder image Files  
File Role Description
Plain text file spotlight.js Class Main class source
Plain text file spotlight.packed.js Class Main class packed
Accessible without login Plain text file animation_example.html Example Example of continuous animation
Accessible without login Plain text file example.html Example Simple example
Accessible without login Plain text file mouse_example.html Example Example of mouse following spotlight

 Version Control Unique User Downloads Download Rankings  
 0%Total:279All time:132
 This week:1This week:72Up