PDA

View Full Version : anyone know of this image pop-up script?


HELLSS
08-30-2002, 10:52 AM
I've seen it a few times.. I go to a site and instead of the usual lame pop up ads, a pop up occurs that's just an image seemingly floating that links to a page. I REALLY would like to know how this is done.

I want to impliment it on a site design of mine which i'm making to mimic a games map editor, and that script would be perfect for mimicing how the editor starts up (especially if I can get a sound to play with it :cool: ).

Any help would be greatly appreciated.

x_goose_x
08-30-2002, 12:36 PM
Works only in ie, but you make a fullscreen popup then resize it:

pgw = 450;
pgh = 200;
pop = window.open("page.htm","","fullscreen=yes"):
pop.resizeTo(pgw,pgh);
pop.moveTo((screen.width-pgw)/2,(screen.height-pgh)/2);

If you don't want the scrollbar on the right, on the body tag of the popup window, add style="overflow: hidden;"