Jump to content

[object Window] properties


eTianbun
 Share

Recommended Posts

Are these window properties supported in modem browsers?Am not that sure!

  • home()
  • forward()
  • back()
  • stop()

EXAMPLE:

window.stop() //simulates the window stop button.

  • toolbar
  • statusbar
  • srollbars
  • menubar
  • locationbar
  • personalbar

EXAMPLE:

window.locationbar.visible //Returns true, if the location bar is present, or false, if not.

Edited by eTianbun
Link to comment
Share on other sites

I would stick to using the standard properties and methods that appear here: http://w3schools.com/jsref/obj_window.asp For "forward" and "back" You can use the History object. I don't believe there's any equivalent to "stop()" Remember that your control over different menu bars is limited to what is in the paramteres of the window.open() method and also depends on whether the user has allowed you to control it in their browser settings.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...