JavaScript special effects Source (7, page effect two)

Source: Internet
Author: User

7. Add the site to the Channel Bar

Add a site to the channel bar [see details]====1, how to join the Channel: Use the following connection to point to your channel file *.CDF. <a href= "Javascript:window.external.addChannel (' jschannel.cdf ')" >======================================== ======================================================*.CDF the contents of the file are as follows, self-modification to adapt to their own site situation < XML version= "1.0" encoding= "GB2312"? ><channel href= "http://www.happydrips.com" self= "http://jiaonan.qd.sd.cn /ABC.CDF "><Title> Happy little </Title><Abstract> Welcome </abstract><logo href=" HTTP// Jiaonan.qd.sd.cn/logo.gif "style=" IMAGE "/></channel>  

8, add the site to the collection

Add Sites to Favorites [modify displayed text, links, names] A total of 1 steps ====1, add the following code heml between the <body><body> <script language= "JavaScript" > function Bookmarkit () {window.external.addFavorite (' http://www.happydrips.com ', ' Happy Drip ')}if (document.all) document.write (' <a href= ' # "onclick=" Bookmarkit () "><strong> Add this site to Favorites </strong></a> ') </ Script>  

9.

Automatically refresh the page [the code refreshes the page from a custom time] [This example is 20 seconds]

10. Prohibit viewing source code

11. Auto Pop-up window

Auto pop-up window (automatically pops up a new form when a form is called) 1. Resize the window: control via width=200,height=170. You can also control whether there are scroll bars and so on. 2, Popup.location.href = ' For the description of the window content. htm '; What this line is doing: just set the file name of the content that appears in the window ====1, add the following code to the HTML 

12. Page Switch effect

page conversion effects [top-to-bottom refresh] [You can change the numbers in transition=5 to see if you have a different effect] [a total of 1 steps]====1, add the following code to HEML 

14, automatic rolling screen

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.