# Pop-up question

**URL:** <https://forum.kirupa.com/t/pop-up-question/211742>\
**Category:** Uncategorized\
**Created:** [January 4, 2007, 6:59pm UTC](https://forum.kirupa.com/t/pop-up-question/211742 "2007-01-04T18:59:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonks](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@tonks](https://forum.kirupa.com/u/tonks)\
**Post date:** [January 4, 2007, 6:59pm UTC](https://forum.kirupa.com/t/pop-up-question/211742/1 "2007-01-04T18:59:55Z")

</div>

Hello,  
Is it possible to close a pop-up from a button on the same page that the pop-up was launched, not via the popup itslelf.

I have this code which obviously closes a popup but can I modify this at all to make it talk to the pop up from a different browser window?

```auto
on (rollOver) {
	getURL("javascript:top.close()");
}

```

Hope this makes sense.

Cheers!
