# Pop Up Windows

**URL:** <https://forum.kirupa.com/t/pop-up-windows/10379>\
**Category:** flash\
**Created:** [December 30, 2002, 8:11pm UTC](https://forum.kirupa.com/t/pop-up-windows/10379 "2002-12-30T20:11:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stlbiking](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@stlbiking](https://forum.kirupa.com/u/stlbiking)\
**Post date:** [December 30, 2002, 8:11pm UTC](https://forum.kirupa.com/t/pop-up-windows/10379/1 "2002-12-30T20:11:16Z")

</div>

I post a lot of nice sized images (photos) so I use the auto thumbnail on Frontpage 2002. Works great. In the parameters box I click on either new page or use the default page.

But when viewers click on the image for the full size image I’d like the image to appear in a new window that they can simp,ly click to close. There’s a box for these parameters to be added. What are the commands.

Example: Let’s say I’f got a .jpg file that measures 200 x 100 pixels. I want the new window to be just the 200 x 100 pixel size.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 31, 2002, 5:08pm UTC](https://forum.kirupa.com/t/pop-up-windows/10379/2 "2002-12-31T17:08:01Z")

</div>

Hey stlbiking,  
Simply right click on your thumbnail and select Hyperlink. A dialog box pertaining to hyperlink information will appear. Click the Target Frame button, and then, in the new dialog box that appears, select New Window. Repeat this step for all the thumbnail images that you want opened in a new window.

Cheers!  
Kirupa :nerd:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 2, 2003, 3:21am UTC](https://forum.kirupa.com/t/pop-up-windows/10379/3 "2003-01-02T03:21:56Z")

</div>

Opening a new window isn’t the problem. I’m just trying to open a new window that exactly the size of the larger image.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 4, 2003, 6:05am UTC](https://forum.kirupa.com/t/pop-up-windows/10379/4 "2003-01-04T06:05:42Z")

</div>

to the best of my knowledge, that cannot be done within front page. You can however use this piece of code to do it:

```php
<A HREF="#" onMouseOver="window.status='01/03/03: san05 (opens popup window)';return true" onMouseOut="window.status='';return true" onClick="window.open('yoururl.html',width=468,height=311,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,left=0,top=0,screenx=50,screeny=50');return false">

```

just replace the width and heigh with the dimensions of your actual photo, and the screenx, screeny, is where on the users screen you want to see the pop up. (i.e. the window position, top, bottom, middle… etc;)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 4, 2003, 6:49pm UTC](https://forum.kirupa.com/t/pop-up-windows/10379/5 "2003-01-04T18:49:16Z")

</div>

I’ll have to give it try. I’ll let you know how it works. Thanks a bunch.

John
