This Class supplies a simple light-box wrapper with a clean cross-browser design.
The Class was developed when working on one of my sites. It wasn't realy ment to be used for distrubiution but after finishing the work i thought it might actualy serve someone.
It supplies 4 different methods of wrapping content:
var div = new Element('div').appendText('example div'); new FloatBox(div,{size:{x:100,y:100}});
new FloatBox.HTML({ url : 'path/to/file.php', boxOptions : {size:{x:150,y:100}} });
new FloatBox.Image('path/to/image.png');
new FloatBox.IFrame('http://www.google.com');
For more info on the options and methods for each of the implementations see the docs.
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus