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
25 Graph & Chart Solutions For Web Developers
Viewed 27235 times since Mon, Feb 1, 2010
Use PHP Functions In JavaScript with PHP.JS Library
Viewed 622 times since Fri, Jan 8, 2010
How to restrict access to your .htaccess file?
Viewed 656 times since Sun, Mar 14, 2010
jQuery Slider from a Select Element
Viewed 1773 times since Thu, Jan 14, 2010
Review of Mobile Web Application Frameworks
Viewed 950 times since Mon, May 9, 2011
TipTip - jQuery Tooltip Plugin
Viewed 710 times since Thu, Jan 28, 2010
Open Source Online Invoice System - siwapp
Viewed 922 times since Thu, Jan 7, 2010
AeroSQL - Web Based MySQL Management
Viewed 742 times since Wed, Feb 24, 2010
Lorem Ipsum Dolor Sit Amet
Viewed 924 times since Tue, Oct 6, 2009
Pastie - Pastebin to Share Source Code with Syntax Highlighting
Viewed 691 times since Mon, Jan 11, 2010