GHANIFIED! LightBox

As a ToolKit needs a bit more that just some AJAX, I found it to be fitting to implement a LightBox. It is for every purpose. Put pictures into it or simple code- ... whatever you like!

Methods

JavaScript SOURCE CODE

Sorry- ... please log-in or register to get this!

The first version of the LightBox was made by me. Then my man M11 started digging and put some nice stuff into it as we needed it for a project. So there might be some of his code in this from where i started.The redesign with ESC key handler and custom params then was made today and placed into GHANIFIED! (v0.2). It has been tested on FireFox 3.x and IE8 ... so if you run into trouble here, then let me know!
Sorry- ... please log-in or register to get this!
And the Code for example #02 it goes here ...

HTML and JavaScript SOURCE CODE

Sorry- ... please log-in or register to get this!

Additional IE settings

There is a issue with IE while the lightbox is shown. It will only cover the html and NOT the whole page as desired. If we have a pretty short page, wich would be fit into the browserwindow, then the lightbox won't cover 100% ... which is gross!We will need to force the it (... as usual). Firefox, Chrome and the standard loving browsers wont get harmed by this. Add this into your CSS and you'll be fine, even in IE6: