Popup window
- Latest Release
- 21 December 2003
- Download
- Source Code
A simple script to manage popup browser windows.
- Windows can be positioned from left or right, top or bottom edges of the desktop.
- Existing windows can be resized and repositioned when being reused.
- Windows can be reused.
They will show up whenever a popup window link is clicked,
no more worrying about windows hiding behind other windows.
If the window was closed, a new one is opened.
- A function is provided to get the content space close the specified size.
By default width and height specify the size of the total window
(including title bar, borders, etc.).
Scrollbars are always part of the content space.
Sizes are based on Windows XP default theme.
Example window
- 300px square, 10px from left and top.
- Content space 300px square, 30px left, 70px top.
- 320px by 240px, 50px right, 20px top.
- Content space 120px by 400px, 5px right, 10 bottom.
Quick sample
- <a href="code.html" onclick="if (window.wPop) { wPop('code/js.html', 'eg', 600, 200, -50, 20, 'scrollbars'); return false; }">code</a>