Lightweight Modal Window Script: TinyBox

TinyBox is a lightweight (3.5kb) modal window script that does not depend on any JavaScript frameworks.

It can display any Ajax or HTML content (from text to videos). Also, if enabled, the modal boxes fade in/out & dynamically resize based on the loaded content.

JavaScript Modal Box

With the auto-hide support, the script can be used to show notifications. It is called & configured within one line, like:

TINY.box.show('advanced.html',1,300,150,1,3)

where all the settings can be mentioned easily. For a demo of TinyBox, click here.

2 Comments
  1. Reply Farid Hadi May 26, 2009 at 12:01 AM

    This seems like a great resource. It’s lightweight and seems pretty feature rich. Will probably end up using this script as long as I don’t forget about it 🙂

    Thanks for the introduction.

  2. Reply Wendy William October 29, 2012 at 4:18 AM

    TinyBox module for Drupal available now: http://drupal.org/project/tinybox

Leave a reply

Search