GlassBox is a compact Javascript library that uses Prototype and Script.aculo.us for its effects. In GlassBox you can build transparent borders, color layers, etc.
Advantages of the GlassBox Library:- Easy to use
- Optional
- Simple Ajax support for dynamic content download
- Works in IE 6 + 7, Firefox 2, Opera 9 and Safari 3 (mac + win)
- It is open source and distributed under the MIT license.
Using GlassBox:1. Unzip GlassBox.zip. Paste the GlassBox script between the “head” tags:
<script src = "glassbox / glassbox.js" type = "text / javascript"> </ script>
')
2. Create a block in your document under GlassBox:
<div id = "myGlassboxContent">
<! - Content ->
</ div>
3. Create an object with size, and positioning instructions:
<script type = "text / javascript">
var myGlassBox = new GlassBox ();
myGlassBox.init ('myGlassboxContent', '400px', '300px', 'auto');
myGlassBox.apos ('290px', '35px');
</ script>
Done! You can see an example of use here -
look .
Download GlassBox Library
Visit the official website of GlassBox
Source:
Author's project - "Chernev.Ru"