Login   Register  

Light source: Apply a shadow to elements based on light position

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Arturs Sosins
Name: Arturs Sosins <e-mail contact>
Packages: 46 Browse all classes by Arturs Sosins Browse all classes by
Country: Latvia Latvia - JavaScript jobs in Latvia
Age: 26
All time rank: 1
Week rank: 3 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 3x

Winner: 3x

  Detailed description   Download Download .zip .tar.gz  
This object can apply a shadow to page elements based on the position of a light.

It takes the identifier of a page element and changes its CSS atttributes that define shadow parameters depending on the position of a light source relative to the target element and its children elements.

The shadow can generated either with the shape of the text elements or the whole box of the target element.

  Classes of Arturs Sosins  >  Light source  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Light source
Base name: light-source
Description: Apply a shadow to elements based on light position
Version: 1.0
JavaScript version: 1.0
License: BSD License
All time users: 320 users
All time rank: 91
Week users: 0 users
Week rank: 98 Equal
  Groups   Screenshots Screenshots   Video Tutorials   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

Group folder image Animation Animation effects View top rated classes
Group folder image HTML HTML generation, editing and parsing View top rated classes

  Files folder image Screenshots  
Switch example screenshot
File Role Description
Accessible without login Image file light_source.jpg Screen Switch example screenshot

  Tutorial videos and presentations  
Light source object
Title Description Duration
Video Light source object Light source object webcodingeasy.com 00:00:25

  Freshmeat project  
Light source
Project record: light-source
Popularity score: 22.98
Vitality score: 29.69

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Light source class documentation Documentation and example scripts in action

  Files folder image Files  
File Role Description
Plain text file light_source.js Class Main class source
Plain text file light_source.packed.js Class Main class packed
Accessible without login Image file lightbulb.png Data Image for example
Accessible without login Plain text file mouse_example.html Example Mouse as light source, box shadow only
Accessible without login Plain text file mouse_light_source.html Example Mouse as light source, text shadow only, many elements
Accessible without login Plain text file simple_example.html Example Example with static light source
Accessible without login Plain text file switch.html Example Toggling light switch

Download Download all files: light-source.tar.gz light-source.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.