Opening centered scrollbar free window

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:

its a behavior, in the behaviors pallet

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

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

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

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.

*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 :slight_smile:

Hey I am having a similar problem:
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… :-\

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

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

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

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 :frowning:

you can nest tables within tables.