# Centered Pop Up Window

**URL:** <https://forum.kirupa.com/t/centered-pop-up-window/34715>\
**Category:** flash\
**Created:** [November 5, 2003, 4:52pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/34715 "2003-11-05T16:52:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoorob](https://avatars.discourse-cdn.com/v4/letter/z/f04885/32.png) [@zoorob](https://forum.kirupa.com/u/zoorob)\
**Post date:** [November 5, 2003, 4:52pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/34715/1 "2003-11-05T16:52:59Z")

</div>

I am designing a basic intro menu in dreamweaver, (one of those basic enter flash page or enter html page).

I want to know how I would get a flash file to lauch in a 715x430 centered pop up window from a html intro page

I have read the tutorial in the tutorials section about centered pop up windows but it seems to mention only preforming this action from a flash file itself.

Should I just create this button in flash and import it into a dreamweaver file.

Thanks for any help. A bit new at this.

---

<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:** [November 5, 2003, 5:35pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/34715/2 "2003-11-05T17:35:56Z")

</div>

[http://www.dynamicdrive.com/dynamicindex8/popwin.htm](http://www.dynamicdrive.com/dynamicindex8/popwin.htm)

Or you could go with the old plain:

```php

<a href="j avascript:window.open('url','newWindow','width=715, height=430, scrollbar=no, location=no, directories=no, status=no, menubar=no, toolbar=no, resizable=no');">Link text or picture</a>

```

Remember to take out the space in java-script (this forum doesn’t like the word!!)

---

<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:** [November 6, 2003, 11:21am UTC](https://forum.kirupa.com/t/centered-pop-up-window/34715/3 "2003-11-06T11:21:07Z")

</div>

hey thanks for the help. It’s what I needed.

One more question. If possible  
Do you know if it is possible to get rid of that small margin that is in the upper left hand corner in the brower.

I’ve designed my flash page to be flush with all corners. I think I’ve seen it done before.

Thanks for all the help

---

<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:** [November 6, 2003, 4:19pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/34715/4 "2003-11-06T16:19:40Z")

</div>

Common thing:

In your HTML, in the body tag, add this stuff:

```php

topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"

```

I think the first two are for IE and the other two are for NS.  
(-:

---

<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:** [November 6, 2003, 5:20pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/34715/5 "2003-11-06T17:20:37Z")

</div>

That worked.  
One problem. Ive created a fireworks html w/ slices already made. I want all this to occur when you click on my slice for enter flash. Is it possible for me to put that javascript (above) on/in a slice made in fireworks.  
-really thanks for the help

---

<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:** [November 6, 2003, 5:47pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/34715/6 "2003-11-06T17:47:29Z")

</div>

I have never used Fireworks, so I couldn’t tell you what a slice is; sorry :-\
