Home

Saturday, March 12, 2011

Standalone & Feature Rich JavaScript Modal Windows – TinyBox2

These day I was stuck in using ModalPopupExtender control of ASP.NET to display Youtube Embed video window. It seem to work perfectly in IE and FF, but not Safari on Mac PC. I suddenly found this post on webresourcedepot.com and may be I will try to use in my website. If anyone has used it for that purpose please leave a comment to me!

TinyBox2 is the successor of the previously published resource TinyBox which is a standalone JavaScript modal windows library.

The library is lightweight (5kb) and supports images, iframes, HTML and Ajax requests natively.

TinyBox2

Modal windows are very flexible with the options like toggle animation, auto-hide, opacity level, custom positions and more.

And, they can be closed by simply clicking on the close button, anywhere outside the modal box or ESC.

There are callback functions for the open + close events and the windows can be set to load in a specific size or the width/height (auto) of the content to be displayed.

Requirements: No Requirements
Compatibility: Tested in IE7+, FF, Chrome, Opera, and Safari
Website: http://www.scriptiny.com/2011/03/javascript-modal-wi...
Demo: http://sandbox.scriptiny.com/tinybox2/

No comments:

Post a Comment