Shows some of the things glossy.js does.
6 images with class = "glossy iradius50"






Empty gif with class = "glossy ibgcolor00aa00 igradient00aaaa horizontal noshadow"
3 images with class = "glossy"



Images used are copyrighted and are used for demonstration only.
Download glossy.js and include it into your webpage.
<script type="text/javascript" src="glossy.js"></script>
To make it glossy just add a class="glossy" to the image (minimum dimension: 16x16).
If you want flexibility, use "cvi_glossy_lib.js" instead of "glossy.js". You can make your images respond to user actions (e.g. changing one or more options when the image is hovered over).
cvi_glossy.defaultRadius = 25; //INT 10-50 (%)
cvi_glossy.defaultColor = 0; //STR '#000000'-'#ffffff' or 0
cvi_glossy.defaultColor2 = 0; //STR '#000000'-'#ffffff' or 0
cvi_glossy.defaultGradient = 'v'; //STR 'd|h|v'-'diagonally|horizontal|vertical'
cvi_glossy.defaultShade = 50; //INT 20-66 (% opacity)
cvi_glossy.defaultShadow = 40; //INT 0-100 (% opacity)
cvi_glossy.defaultNoshadow = false; //BOOLEAN
cvi_glossy.defaultNoradius = false; //BOOLEAN
cvi_glossy.add(image, options);cvi_glossy.add(document.getElementById("myimg"), { shadow: 75, shade: 20 });
cvi_glossy.modify(image, options);cvi_glossy.modify(document.getElementById("myimg"), { radius: 24 });
cvi_glossy.remove(image);
In older browsers, the script degrades and your visitors won't notice a thing.
Please read the License before you download glossy.js 1.5
Please read the Frequently Asked Questions before you contact the author.
Version 1.5
Please leave any comments at this contact formular.
glossy.js and cvi_glossy_lib.js are distributed under the Netzgestade Non-commercial Software License Agreement.
License permits free of charge use on non-commercial and private web sites only under special conditions (as described in the license).
This license equals neither "open source" nor "public domain".
There are also Commercial Software Licenses available.