JavaScript special Effects source code (6, page effect one)

Source: Internet
Author: User

1, page full screen

Page Full screen [alt+f4 close] [total 1 steps] [New pop-up window and display]====1 in full screen, add the following code to the HTML <body></body>: <form><div align= " Center "><input type=" button "name=" fullscreen "value=" full screen display "onclick=" window.open (document.location, ' big ', ' Fullscreen=yes ') "></div></form>

2, display detection code (give hints)

3, browser after detection automatically adjust the corresponding page turn

Browser after detection automatically adjust the corresponding page to [total 1 steps] [automatic detection is IE or NS and then based on the results of automatic to the corresponding page to avoid browser incompatibility caused by the page browse exception]====1, add the following code to the HTML 

4. Detect Browser Version Information

5. Page Dwell time

  First, page stay time 1[total of 2 steps]====1, add the following code between the HTML 

6. Detect browser type and invoke different background music

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.