Jump to content

Pop-up box


Mutley

Recommended Posts

for the former part, javascript can be used to open what is effectively a new browser window. you can also achieve it using a DIV and an iframe, which generally leads to much tidier results, albeit a little trickier.

 

for the latter part of your question, the window in question is a 'modal' which is nothing more than a DIV (rather than an actual window) with a semi-transparent background to cover the main pagebody. as with the first, an onclick can trigger this. Here's an example using images:

http://www.huddletogether.com/projects/lightbox/

 

hope that helps

Link to comment
https://forums.phpfreaks.com/topic/45165-pop-up-box/#findComment-219382
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.