Important properties of the Window object

Source: Internet
Author: User

  1. Closed is true only when the window is closed, false at other times,

  2. Defaultstatus Status Bar display text

  3. Document Object model, reference to document object, representing HTML document displayed in window

  4. An array of Frames window objects that represent the individual frames in Windows

  5. History's reference to the historical object, representing the user's browsing window

  6. a reference to the Location object that represents the URL address of the document displayed in the window

  7. Name window, which can be used by the target property of a

  8. Opener a reference to the Window object that opens the current window whose value is null if the current window is opened by the user

  9. Parent Parents window

  10. Self reference to the current Window object, which is synonymous with window

  11. Top when a window is nested in multiple layers, represents a top-level window

  12. Window self-referencing property, reference to the current Window object

  13. Navigator:appname appversion useragent appCodeName Platform

Method:

1.alert () Confirm () prompt ()

2. Close () Closes the window for Windows to open

3.focus () Blur ()

4.moveBy () MoveTo ()

5.open () Open a new top-level window

6.print () Print Web content

7.resizeBy () Resizeto ()

8.scrollBy () Scroolto ()

9.setInterval () clearinterval ()

10.setTimeout () cleartimeout ()


Important properties of the Window object

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.