Let the viewer remember your homepage

Source: Internet
Author: User
Tags abstract add end mail modify window
Tips to add Favorite Folders
Favorites is the browser's most basic record URL tool, although the browser has convenient favorites management functions, but if you put in the Web page to add Favorites button, will greatly improve the collection rate. The following three web design methods can be used:
Prompts the user to press Ctrl+d. When you use IE browser to browse a page, press Ctrl+d will add the current page to the Favorites folder, you can use text on the page to prompt the user to press the key combination.
Use text links. Put the following code on the home page, press the appropriate text link to pop the Favorites Management window, press OK to add the current page bookmark:
〈p align=″right″〉
〈a Href=″http://www.ciw.com.cn/″target=″_top″onclick=″window.external.addfavorite (′http://www.ciw.com.cn/′,′ ″title=″ China computer newspaper ″〉ie user dot here Add this site to the bookmark 〈/a〉〈/p〉
Using the button. If you implement the Favorites feature on a button, it will be more obvious that the code is as follows: 〈form〉
〈p〉〈input Type=″button″value=″ to bookmark the site ″onclick=″window.external.addfavorite (′http://www.ciw.com.cn/′,′ China computer newspaper) ″〉 〈/p〉
〈/form〉

home page for the browser
If you add a handy setting to the home page, some people might actually put your site on the homepage. Modify the homepage of the browser need to modify the Windows registry, all you have to do is to make a registry modification file, download to the user's hard drive, to help visitors to complete the registry automatic modification work. For example, the file name is Lspace.reg and can be opened in Notepad or another text editor, as follows:
Regedit4
[Hkey-current-user\software\microsoft\internet Explorer\Main]
″start Page″=″http://www.ciw.com.cn/″
[Hkey-current-user\software\netscape\netscape Navigator\main]
″home Page″=″http://www.ciw.com.cn/″
The first set of IE's star page; the second set of NC's home page!
modified to the corresponding Web site, uploaded to the Internet, in the home page to provide download links, viewers download double-click to complete the registry modification work.

Making channels
The IE Channel file is actually a plain text file with a syntax format similar to HTML, with the CDF as the extension. So to build the channel file does not require any special editing tools, with Windows 95 Notepad is enough. The following is an example of a complete channel file:
〈channel href=″default.htm″self=″soim.cdf″base=″http://www.soim.com/″〉
〈title〉 Soyi Electronic Publication 〈/title〉
〈logo href=http://edu.cnzz.cn/newsinfo/″soimcdf.gif″style=″image″/〉
〈logo href=http://edu.cnzz.cn/newsinfo/″soimicon.gif″style=″icon″/〉
〈abstract〉 Soyi Electronic Publication--soim.com〈/abstract〉
〈item href=″subscribe.htm″precache=″yes″〉
〈title〉 Soyi Mail Subscription 〈/title〉
〈abstract〉 soyi Online Mail subscription 〈/abstract〉
〈logo href=http://edu.cnzz.cn/newsinfo/″subscribe.gif″style=″icon″/〉
〈/item〉
〈item href=″software.htm″precache=″yes″〉
〈title〉 Shared Software Alliance 〈/title〉
〈abstract〉 Soyi shared Software Alliance 〈/abstract〉
〈logo href=http://edu.cnzz.cn/newsinfo/″software.gif″style=″icon″/〉
〈/item〉
〈/channel〉
Description
The text of the channel file begins with 〈channel ... and ends with 〈/channel〉.
In the first line of 〈channel ...:
Href= "..." indicates the file name of the main page to which this channel refers;
Self= "..." is the filename of the channel file itself;
Base= "..." Channel file default basic path (URL), in the channel file "href" all use absolute path, this can be omitted.
The second line 〈title〉...〈/title〉, fill in the title of the channel.
In the third to fourth line 〈logo ...:
Href= "..." to fill in the name of the pattern;
Style= "..." to fill in the description of the pattern;
Image represents the icon at the Channel bar (size is a 80x32 pixel);
Icon represents the image of the channel file (size is a 32x32 pixel).
Note: The end of the "/" Do not leave out.
Line five 〈abstract〉...〈/abstract〉, fill in the description of the channel content.
Line six 〈item., define the sub channel. A sub channel can be a link to some of the main columns below the homepage. where href= "..." to fill in the channel point to the filename of the Web page, precache= "..." is to determine whether the child channel for caching, answer only "yes" or "no".
Line seventh 〈title〉...〈/title〉, fill in the title of the sub channel.
Line tenth 〈/item〉 the end of the sub channel.
Line 11th begins the definition of the second child channel.
Finally, the 〈/channel〉 ends with a cdf extension.
Upload this file to the Web server, and when you need to call on the Web page and have visitors add to their channel bar, the specific label syntax is as follows:
〈a href=″http://www.soim.com/soim.cdf″〉 will add the newsletter to your channel 〈/a〉

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.