Publisher review:Complete Javascript popup opener provides you anything you need to deal with popups in any situation. Complete Javascript popup opener provides you anything you need to deal with popups in any situation.
Opening popups in JS is simple, but sometimes in the same page you need to open popups with different features. There are several scripts in the net doing this task but, as usual, none of them seemed to fit your needs.
These are the customizable parameters of your popup: url: the string representing the url of the page you want to open in the popup. Default value: this page. width: popup width, in pixels. If you enter a value between 0 and 1, it will be parsed as a % of screen width. For example, if you enter 0.5, it will be parsed as 50% of screen width. Default value: half of the screen width. height: popup height, in pixels. If you enter a value between 0 and 1, it will be parsed as a % of screen height. For example, if you enter 0.5, it will be parsed as 50% of screen height. Default value: half of the screen height.
xpos: x position of the upper left corner of the popup. It can be an integer or "left" or "right". If you enter "left" your popup will appear in the leftmost part of the screen, if you enter "right" your popup will appear in the rightmost part of the screen. Default value: the one that will center the popup horizontally
ypos: y position of the upper left corner of the popup. It can be an integer or "top" or "bottom". If you enter "top" your popup will appear in the topmost part of the screen, if you enter "bottm" your popup will appear in the bottommost part of the screen. Default value: the one that will center the popup vertically
xoffset: an integer representing amount of pixels, positive or negative, that will place the popup respectively to the left or to the right from its horizontal position. Default value: 0
yoffset: an integer representing the amount of pixels, positive or negative, that will place the popup respectively up or to the down from its vertical position. Default value: 0
name: window name, passed as a string. Default value: "propup"
scrollbars: can be "yes" or "no", defining if the popup window will have scrollbars. Default value: no
resizable: can be "yes" or "no", defining if the popup window can be resized. Default value: no
status: can be "yes" or "no", defining if the popup window will show the status bar. Default value: no
locat: can be "yes" or "no", defining if the popup window will have the location bar. Default value: no
toolbar: can be "yes" or "no", defining if the popup window will have the toolbar. Default value: no
Complete Javascript popup opener is a PHP script for Forms and Controls scripts design by Emanuele Feronato.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris