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 <contact>
Classes: 46 packages by
Country: Latvia 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: 321 users
All time rank: 96
Week users: 0 users
Week rank: 74 Equal
  Groups   Screenshots Screenshots   Video Tutorials  
  Rate classes User ratings   Applications   Related pages   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  
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

  User ratings  
Not enough user ratings

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

  Related pages  
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.