How can you display that "box" on the page which pops up and displays an ad or an image? The box is shown over the content of the page. It also has a "close" button on the corner too, just like a real popup window. I'm sure you must have seen an example of this on many sites. I think it uses a div tag along with CSS. Can anyone help me?
It is a real pop-up. Since popup blockers deny automatic popups, the jerkwater developer who wants to add them must figure a way to get the user to invite the popup. One way I've noticed it done was very simple; an onmouseover event handler was put on the body element. As soon as the user put his mouse cursor anywhere on the page, the javascript built the new window. There are probably any number of variations sorry-assed developers can use. cheers, gary
zdestiny, i think your probably on about the Flash pop-ups that display on the page that usually contain a greeting or a special offer on the site? If so, look up Flash 8 tutorials as im pretty sure its a feature
You could be referring to a lightbox. Google it and you'll find all kinds of free scripts and tutorials.