# HELP! - Change HTML Page AND pop a window

**URL:** <https://forum.kirupa.com/t/help-change-html-page-and-pop-a-window/65217>\
**Category:** Uncategorized\
**Created:** [September 24, 2004, 2:54am UTC](https://forum.kirupa.com/t/help-change-html-page-and-pop-a-window/65217 "2004-09-24T02:54:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Verdaccio](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@Verdaccio](https://forum.kirupa.com/u/Verdaccio)\
**Post date:** [September 24, 2004, 2:54am UTC](https://forum.kirupa.com/t/help-change-html-page-and-pop-a-window/65217/1 "2004-09-24T02:54:43Z")

</div>

[font=verdana, arial, helvetica][size=2] I have an embedded flash button in “Window A”, an HTML page. That button has the following code:

on (release) {

varHeight=“600”  
varWidth=“800”  
getURL (“javascript:window.open(‘intro. htm’,‘Intro\_Page’,‘width=800,height=600,top=’+  
((screen.availHeight/2)-(” add varHeight/2 add"))+’,left=’+((screen.availWidth/2)-(" add varWidth/2 add “))); void(0);”);

}

What I want the button to do is to pop the window as the code is here, **but ALSO change the page in “Window A” from the page with the flash button to another page completely.**

I tried adding an additional getURL statement, but it did not work - it kept popping a third window which is not what I want.

Any help is appreciated.[/size][/font]

---

<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:** [September 24, 2004, 7:49am UTC](https://forum.kirupa.com/t/help-change-html-page-and-pop-a-window/65217/2 "2004-09-24T07:49:02Z")

</div>

does it works if you just add another getURL?
