Let visitors remember three practical codes of the website. Tips to add to favorites
Favorites are the most basic tool for recording URLs in the browser. Although there is a convenient favorites management function in the browser, if you put a button to add a favorite on the web page, it will greatly increase the collection rate. The following three web design methods can be used:
Prompt the user to press ctrl+d. When you use IE browser to browse a web page, pressing ctrl+d will add the current page to your favorites. You can use text on the web page to prompt the user to press the key combination.
Use text links. Put the following code on the home page, press the corresponding text link to pop up the favorites management window, and press the OK key to bookmark the current page:
〈p align=″right″〉
〈a href=″https://www.VeVb.com/″ target=″_top″onclick=″window.external.addfavorite(′https://www.VeVb.com/′,′Wulin.com′)″title=″Wulin.com″IE users click here to bookmark this site </a>〈/p>
Use button mode. If you implement the function of adding favorites on a button, it will be more obvious. The specific code is as follows: <form>
〈p〈input type=″button″value=″bookmark this site″onclick=″window.external.addfavorite(′https://www.VeVb.com/′,′Wulin.com′)″〈/p〉
〈/form〉
Set as the homepage of the browserIf you add convenient ways to set up your homepage on the homepage, maybe some people will really place your website as the homepage. Modifying the homepage of the browser requires modifying the Windows registry. All you have to do is to create a registry modification file, download it to the user's hard disk, and help the browser complete the automatic registry modification work. For example, the file is named lspace.reg, which can be opened by Notepad or other text editor. The specific content is as follows:
regedit4
[hkey—current—user/software/microsoft/internet explorer/main]
″start page″ = ″https://www.VeVb.com/″
[hkey—current—user/software/netscape/netscape navigator/main]
″home page″ = ″https://www.VeVb.com/″
The first item sets the IE star page; the second item sets the nc home page!
Modify it to the corresponding URL, upload it to the Internet, and provide the download link on the homepage. After downloading, the viewer can double-click to complete the registry modification work.
Production ChannelThe IE channel file is actually a plain text file with a syntax format similar to html and uses cdf as the extension. Therefore, you don’t need any special editing tools to create a channel file, and using Notepad under Windows 98 is enough. Here is an example of the complete channel file:
〈channel href=″index.htm″ self=″jb51.cdf″base=″https://www.VeVb.com/″》
〈title〉Wulin.com〈/title〉
〈logo href=″/images/logo.gif″ style=″image″ />
〈logo href=″/images/120*90.gif″ style=″icon″ />
〈abstract〉Wulin.com-VeVb.com〈/abstract〉
〈item href=″ad.htm″ precache=″yes″》
〈title〉Wulin.com advertising service〈/title〉
〈abstract〉Wulin.com〈/abstract〉
〈logo href=″/images/logo.gif″ style=″icon″ />
〈/item〉
〈item href=″/sucai/index.htm″ precache=″yes″》
〈title〉Boutique material〈/title〉
〈abstract〉Boutique material〈/abstract〉
〈logo href=″/images/logo.gif″ style=″icon″ />
〈/item〉
〈/channel〉
illustrate:
The main text of the channel file begins with <channel ...> and ends with </channel>.
In the first line <channel...>:
href=...Specify the name of the main web page to which this channel points;
self=...is the file name of the channel file itself;
base=...The default base path (url) of the channel file. If all hrefs in the channel file use absolute paths, this item can be omitted.
The second line <title>...</title> fills in the title of the channel.
In the third and fourth lines <logo...>:
The file name of the pattern is filled in at href=...;
Fill in the description of the pattern at style=...;
image represents the icon located at the channel bar (size is 80×32 pixels);
The icon represents the icon of the channel file (size 32×32 pixels).
Note: Don't miss the end.
The fifth line <abstract>...</abstract>, fill in the description of the channel content.
The sixth line <item ...> defines the subchannel. The sub-channel can be a link to some main columns under the main page. In href=..., fill in the web page file name pointed to by the sub-channel; precache=... is to determine whether the sub-channel is cached, and the answer is only yes or no.
In the seventh line <title>...</title>, fill in the title of the sub-channel.
Line 10 ends with sub-channel </item>.
Line 11 begins to define the second subchannel.
Finally, it ends with </channel> and saves it with the cdf extension.
Upload this file to the web server. When you need to call it on the web page, let the visitors add it to their channel bar. The specific tag syntax is as follows:
〈a href=″https://www.VeVb.com/jb51.cdf″〉 Add Wulin.com to your channel〈/a〉