What I want: A link on the page that opens a layer on top of the page (not a window popup), covers the original content, loads content like a normal window does (for example, I can set it to load somefile.php or someflash.swf depending on the link), and the ability to close it with a button/link. The layer should not be movable or resizable.
The popup layer content is not a part of the original file, so it is not a hidden layer that loads with the page and can be set visible/hidden. It loads another existing file upon popping up.
Here is an example of something similar to what I want: http://www.dynamicdrive.com/dynamicindex17/interstitial.htm
The problem with this script is that it automatically loads when the page loads, and I was unable to modify it to suit my needs, mainly 1) open only when I click on a link and 2) load different content(files) based on the link I clicked. For instance, link1 loads somefile.php and link2 loads someflash.swf. Also 3) it's too complicated, I only need part of what it offers.
Help me out? Thanks.
The popup layer content is not a part of the original file, so it is not a hidden layer that loads with the page and can be set visible/hidden. It loads another existing file upon popping up.
Here is an example of something similar to what I want: http://www.dynamicdrive.com/dynamicindex17/interstitial.htm
The problem with this script is that it automatically loads when the page loads, and I was unable to modify it to suit my needs, mainly 1) open only when I click on a link and 2) load different content(files) based on the link I clicked. For instance, link1 loads somefile.php and link2 loads someflash.swf. Also 3) it's too complicated, I only need part of what it offers.
Help me out? Thanks.
Last edited: