# Multiple pop up windows

**URL:** <https://forum.kirupa.com/t/multiple-pop-up-windows/129423>\
**Category:** Uncategorized\
**Created:** [November 23, 2004, 3:32pm UTC](https://forum.kirupa.com/t/multiple-pop-up-windows/129423 "2004-11-23T15:32:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mfr](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@mfr](https://forum.kirupa.com/u/mfr)\
**Post date:** [November 23, 2004, 3:32pm UTC](https://forum.kirupa.com/t/multiple-pop-up-windows/129423/1 "2004-11-23T15:32:19Z")

</div>

[color=black][font=Arial]Hello,[/font][/color]

[color=black][font=Arial] [/font][/color]

[color=black][font=Arial]On my portfolio webpage I created thumbnail pictures for my photo gallery.[/font][/color]

[color=black][font=Arial]The problem I am having is this: I have 10 thumbnails in my photo gallery, and the first popup has a specific size that I did with the help of the kirupas tutorial on opening a new pop up window. When I do the second thumbnail with different width and height size from the first one and I take the JavaScript to HTML and I go test it The first pop window in my photo gallery loses the size I did.[/font][/color]

[color=black][font=Arial]I don’t know what I am doing wrong.[/font][/color]

[color=black][font=Arial]Do I have to duplicate the button?[/font][/color]

[color=black][font=Arial]Do I have to give it a different instance name for each button so they don’t recognize as the same?[/font][/color]

[color=black][font=Arial]Anyone would give me a hand please??[/font][/color]
