jquery-popupwindow
jquery-popupwindow copied to clipboard
Add support for percentage syntax for width and height options.
Now you can use percentage strings as values for width and height, e.g.: "80%" or "80% of screen" or "80% of parent" To calculate the absolute width/height, the code needs to know percentage of what. If no "of" is specified, then the string in the option "center" is assumed if set, else it assumes "screen".