# Opening centered scrollbar free window

**URL:** <https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364>\
**Category:** Uncategorized\
**Created:** [August 13, 2003, 12:28am UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364 "2003-08-13T00:28:59Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![koi](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@koi](https://forum.kirupa.com/u/koi)\
**Post date:** [August 13, 2003, 12:28am UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/1 "2003-08-13T00:28:59Z")

</div>

Can someone tell me how to open a centered, scrollbar and titlebar-free window from Dreamweaver? I want people to be able to launch a centered 900 x 400 window from an html splash page. The new window would contain a Flash movie whose dimensions are, you guessed it–900 x 400. I’ve seen a lot of tuts that show how to do this sort of thing from Flash but not from Dreamweaver. Any and all help is appreciated!

koi:

---

<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:** [August 13, 2003, 2:26pm UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/2 "2003-08-13T14:26:32Z")

</div>

its a behavior, in the behaviors pallet

---

<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:** [August 13, 2003, 4:00pm UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/3 "2003-08-13T16:00:27Z")

</div>

I found the behavior thanks. One thing the behavior doesn’t provide is the option to center the window that gets opened. I know it can be done as we’ve all seen it before–any suggestions? Thanks

---

<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:** [August 14, 2003, 2:58pm UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/4 "2003-08-14T14:58:05Z")

</div>

i think there might be a dreamweaver extension available from the macromedia site to do what you need.

---

<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:** [August 14, 2003, 3:20pm UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/5 "2003-08-14T15:20:07Z")

</div>

i know how to position a window, but not to the exact center as everyone has different resolutions, sry this question hasn’t been answered

---

<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:** [August 14, 2003, 3:44pm UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/6 "2003-08-14T15:44:39Z")

</div>

Actually, you can get the resolution of the screen using the Screen object (I can’t remember the property though).

Unfortunately, I am terrible at JS so I can’t really help you.

---

<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:** [August 14, 2003, 5:13pm UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/7 "2003-08-14T17:13:22Z")

</div>

> \*Originally posted by njs12345 \*  
> \*\*Actually, you can get the resolution of the screen using the Screen object (I can’t remember the property though).

Unfortunately, I am terrible at JS so I can’t really help you. \*\*

lol yea i know, but im not sure how to either 🙂

---

<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:** [August 14, 2003, 6:24pm UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/8 "2003-08-14T18:24:31Z")

</div>

Hey I am having a similar problem:  
[http://mocha-pages.com/new/indx.html](http://mocha-pages.com/new/indx.html)

Right now I have to have scrollbars but if I can center it, then I shouldn’t need scrollbars… :-\

---

<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:** [August 15, 2003, 12:34am UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/9 "2003-08-15T00:34:36Z")

</div>

no javascript required for your problem mate, just a simple matter of checking your alignment and width values of your tables. 🙂

---

<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:** [August 15, 2003, 12:37am UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/10 "2003-08-15T00:37:58Z")

</div>

found these examples for you koi.  
Might be of some use to you.

[http://javascript.internet.com/generators/popup-window.html](http://javascript.internet.com/generators/popup-window.html)  
[http://www.parisiconsulting.com/centerpopup.htm](http://www.parisiconsulting.com/centerpopup.htm)

---

<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:** [August 15, 2003, 3:12am UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/11 "2003-08-15T03:12:25Z")

</div>

the problem is that i can’t convert to tables  
it has to be layers (i have a nested layers thing going on in there ☹

---

<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:** [August 16, 2003, 3:38am UTC](https://forum.kirupa.com/t/opening-centered-scrollbar-free-window/28364/12 "2003-08-16T03:38:22Z")

</div>

you can nest tables within tables.
