Article Diary - General Knowledge Digest

Create Standalone JavaScript Modal Windows with TinyBox2

TinyBox2 is the successor of the previously published resource TinyBox which is a standalone JavaScript modal windows library. The library is lightweight (only 5kb) and supports images, iframes, HTML and Ajax requests natively.

JavaScript Modal Windows

Modal windows are very flexible with the options like toggle animation, auto-hide, opacity level, custom positions and more. They can be closed by simply clicking on the close button, anywhere outside the modal box or Esc Key.

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.

Click here for the demo.
Click here to download.

This script is tested in IE7+, FF, Chrome, Opera, and Safari and is available free of charge for both personal or commercial projects under the creative commons license.

Attached Files
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Security Code Security Code
Related Articles RSS Feed
How to password protect folder/files using htaccess file?
Viewed 712 times since Sun, Mar 14, 2010
jCart - Free PHP AJAX Shopping Cart
Viewed 990 times since Sun, Jan 3, 2010
ZeusCart | Feature Rich Open Source E-Commerce System
Viewed 1032 times since Thu, Jul 15, 2010
ICEpdf - Open Source Java PDF Library
Viewed 977 times since Wed, Jan 6, 2010
Search Engine Optimization: Tags of Importance for SEO
Viewed 738 times since Tue, Oct 12, 2010
Making A Basic PHP Template System
Viewed 651 times since Tue, Dec 8, 2009
PHP Sound Captcha
Viewed 5699 times since Sun, Apr 11, 2010
30 High Quality Charts & Graphs for Web Developers
Viewed 2173 times since Wed, Mar 23, 2011
AeroSQL - Web Based MySQL Management
Viewed 797 times since Wed, Feb 24, 2010
Pastie - Pastebin to Share Source Code with Syntax Highlighting
Viewed 745 times since Mon, Jan 11, 2010