JavaScript effect Instance 004-Auto-close AD window

Source: Internet
Author: User
Tags script tag

Example 004 Auto-closed AD window Instance descriptionwhen the page runs for a certain amount of time, the specified AD window on the page is automatically closed. Technical EssentialsThis example mainly applies the settimeout () method of the Window object and the close () method to practice. The settimeout () method of the Window object is used to delay the execution of an operation. Implementation process(1) The ad window to close. new.html
(2) To implement the close function of the page
Note: The content of the style tag is the knowledge of CSS, and we focus on the content within the script tag. So this example of ours is done.


JavaScript effect Instance 004-Auto-close AD window

Related Article

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.