View Full Version : opening centered scrollbar free window
koi
August 12th, 2003, 08:28 PM
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:
Digitalosophy
August 13th, 2003, 10:26 AM
its a behavior, in the behaviors pallet
koi
August 13th, 2003, 12:00 PM
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
JMS
August 14th, 2003, 10:58 AM
i think there might be a dreamweaver extension available from the macromedia site to do what you need.
Digitalosophy
August 14th, 2003, 11:20 AM
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
λ
August 14th, 2003, 11:44 AM
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.
Digitalosophy
August 14th, 2003, 01:13 PM
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 :)
jp182
August 14th, 2003, 02:24 PM
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... :-\
JMS
August 14th, 2003, 08:34 PM
no javascript required for your problem mate, just a simple matter of checking your alignment and width values of your tables. :)
JMS
August 14th, 2003, 08:37 PM
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
jp182
August 14th, 2003, 11:12 PM
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 :-(
JMS
August 15th, 2003, 11:38 PM
you can nest tables within tables.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.