Create a Popup page

  • Thread starter Thread starter Bernie
  • Start date Start date
B

Bernie

I'd like to create a popup page with a height and width
that I set. The window should not be sizeable, have no
scrollbars, menubar, or toolbar. In JavaScript I've found
the window.open method and has the attributes I want to
control. However this script only applies if I open one
page from another. Since my popup page will be accessable
from many different locations I'd like to control the
attributes from within the popup page, either through HTML
or a script. Any suggestions would be most appreciated.
 
Hi Bernie,

You can control most attribute of the browser window via the window object
from JavaScript.
 
Yes, I have used the window.open to method of the window
object to open a new window. It works quite well, and I
can control all the attributes, but I'd like the script
that controls the window attributes to be within the new
window. For example, I have played with the onload event
and called the window.resizeTo() method. While it does a
great jobe on the window size, I'm looking for methods to
control the other attributes. Any specific suggestions
would again be helpful. Thanks Bernie
 
You can only control those from a window you open from another page
- the window parameters need to be known before the window opens

--



| Yes, I have used the window.open to method of the window
| object to open a new window. It works quite well, and I
| can control all the attributes, but I'd like the script
| that controls the window attributes to be within the new
| window. For example, I have played with the onload event
| and called the window.resizeTo() method. While it does a
| great jobe on the window size, I'm looking for methods to
| control the other attributes. Any specific suggestions
| would again be helpful. Thanks Bernie
|
| >-----Original Message-----
| >Hi Bernie,
| >
| >You can control most attribute of the browser window via
| the window object
| >from JavaScript.
| >--
| >Mike -- FrontPage MVP '97-'02
| >J-Bots Plus 2002 End of Summer Sale You Save $20.00
| >http://www.websunlimited.com
| >FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
| >----------------------------------------------------------
| ------------------
| >--------------------
| >If you think I'm doing a good job, let MS know at
| (e-mail address removed)
| >
| >| >> I'd like to create a popup page with a height and width
| >> that I set. The window should not be sizeable, have no
| >> scrollbars, menubar, or toolbar. In JavaScript I've
| found
| >> the window.open method and has the attributes I want to
| >> control. However this script only applies if I open one
| >> page from another. Since my popup page will be
| accessable
| >> from many different locations I'd like to control the
| >> attributes from within the popup page, either through
| HTML
| >> or a script. Any suggestions would be most appreciated.
| >
| >
| >
| >.
| >
 
There is a website called javascriptkit.com. they have a
section how to do windows popups very clear
 
Back
Top