Simple Spotlight Effect using Jquery-1.4.2
By:Arka caraka
Using jQuery plugin Version 1.4.2.min.js.Generated by the script as a canvas element. Accordingly, the Internet Explorer is, unfortunately, only a square "light box" to Einsatz.1 The size of the spot may be on the options or automatically determined by the size of the graphic. Another option is the layer with the darkening per click, This visible on any browser .
Parameter setting:
spot_auto_val
This factor value of the radius of the spotlight, it is determined if the parameter was spot_radius set to 'auto '. The smaller the value, the greater will be the spot.
Possible values: number
spot_luminosity
This value determines the brightness of the spotlights. The smaller the value, the brighter will be the spot, the clearer and sharper the edges of the circle of light.
Possible values: number> 1004
spot_color
Sets the color of the spotlight and the layer is determined by the darkening. Please do not shortened color information (eg # 000), since the hex value is internally converted to an RGB value!
Possible values: Hexadecimal color code to, for example '# 000000 '
spot_alpha
With this option, the transparency of the spotlight and the layer is determined by the darkening.
Possible values: 0 - 1
spot_switch
If this parameter is active (1 or true), the layer with the darkening per click, one-or ausgefadet.
Possible values: 1, true, 0 or false
Firefox 3.6.x
Chrome 5.x
Safari 5.x
Opera 10.x
Flock 2.x
Internet Explorer 6, 7, 8
View demo at http://spotlightdemo.blogspot.com/
View last improvement at : http://slideprofilpnpm.blogspot.com/2011/06/5if.html
or, Download this demo