📜 ⬆️ ⬇️

GlassBox - We make out in the style of Vista

12313.png

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:

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"

Source: https://habr.com/ru/post/22215/


All Articles