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.
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.
Article ID: 868
Created: Mon, Mar 21, 2011
Last Updated: Mon, Mar 21, 2011
Author: Administrator
Online URL: https://www.articlediary.com/article/create-standalone-javascript-modal-windows-with-tinybox2-868.html