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.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
IE6 CSS Fixer - Web-Based IE6 CSS Fix Tool
Viewed 870 times since Thu, Dec 31, 2009
Ajaxed MySQL Table Editor
Viewed 1070 times since Tue, Oct 13, 2009
How to change the file type using htaccess?
Viewed 808 times since Sun, Mar 14, 2010
jqPlot - jQuery Charts & Plotting Plugin
Viewed 1114 times since Sat, Jan 9, 2010
jQuery Slider from a Select Element
Viewed 2067 times since Thu, Jan 14, 2010
Create A Page Peel Effect With CSS & jQuery
Viewed 827 times since Tue, Jan 5, 2010
Create Dynamic Tabs with jQuery
Viewed 811 times since Sat, Feb 6, 2010
Tiny Flash MP3 Audio Player
Viewed 814 times since Wed, Jan 6, 2010
Free JavaScript Date Picker - jsDatePick
Viewed 1114 times since Fri, Apr 9, 2010
50 Free And Quality Web Icons
Viewed 1184 times since Tue, Jan 5, 2010
MENU