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
Which hosting plans support IIS Mod-Rewrite?
Viewed 2585 times since Sat, Oct 10, 2009
How do I add and register extra domain names?
Viewed 2846 times since Fri, Oct 9, 2009
Open Source Trouble Ticket System - Jutda Helpdesk
Viewed 1457 times since Sat, Jan 9, 2010
jQuery MultiSelect Plugin with ThemeRoller Support
Viewed 1129 times since Thu, Feb 4, 2010
Axiis - Open Source Data Visualization Framework
Viewed 1052 times since Thu, Jan 7, 2010
Review of Mobile Web Application Frameworks
Viewed 1133 times since Mon, May 9, 2011
50 Free And Quality Web Icons
Viewed 1179 times since Tue, Jan 5, 2010
PHP For Android Project - Interview with Lead Developer
Viewed 851 times since Mon, Jul 26, 2010
How to protect specific folder or disable directory browsing using htaccess?
Viewed 4069 times since Sun, Mar 14, 2010
Free IP to Country, IP to City Database & API
Viewed 1092 times since Thu, Dec 31, 2009