# Pop up windows

**URL:** <https://forum.kirupa.com/t/pop-up-windows/97684>\
**Category:** Uncategorized\
**Created:** [December 27, 2003, 5:57pm UTC](https://forum.kirupa.com/t/pop-up-windows/97684 "2003-12-27T17:57:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Recognize](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Recognize](https://forum.kirupa.com/u/Recognize)\
**Post date:** [December 27, 2003, 5:57pm UTC](https://forum.kirupa.com/t/pop-up-windows/97684/1 "2003-12-27T17:57:52Z")

</div>

am trying to create a gallery page of 12 thumbnail photos and when you click on one of the photos it will open a pop up window to display it at a larger size.

Now i got one of them to work but cant get the others. Ne ideas ne one?

e.g

Photo 1 Button (action script)

On (realease) {  
get URL(“Javascript:popupwindow( );”, “\_self”);  
}

When that is published, in the html i have got:-

\<HTML\>  
\<HEAD\>  
\<script LANGUAGE=“JavaScript”\>  
function popupwindow(){  
window.open(“Photo1.swf”,"",“height=208,width=320,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,left=0,top=0”)  
}  
\</script\>  
\<meta http-equiv=Content-Type content=“text/html; charset=ISO-8859-1”\>  
\<TITLE\>Gallery\</TITLE\>  
\</HEAD\>

Now that works for 1 button but wot about the others? Wot else do i need to add in.

Ne1 :\*(
