Now when browsing the Web, you will find that many sites have the option of "Add me to My favorites," and maybe your site has the same option, because it's a good way to keep your visitors ' mind on the site. However, when the Favorite Folders more and more sites, all the sites are an ugly blue IE small icon plus a site name, people feel at a loss. How can you stand out in this many websites? Just as you stare at the pile of seemingly identical and lifeless bookmarks, you suddenly find that one of the bookmarks looks very different, with a logo!. Yes, if you can change that IE small icon to a personalized logo, will be able to attract people's attention. Now let's get to the point and see how that works.
Please note: This only works for IE 5.0 or newer browsers on the Windows platform. However, please be assured that in other versions or the operating system browser does not have any adverse side effects, but no effect.
First step:First you have to make a small diagram that looks both clear and easy to identify, and in order to make the icon similar to the original icon style, we define the size of the icon as 16x16 pixel. To make this icon file, you have to use the relevant graphics editing software. You can pick one from a whole bunch of these icon-making software. Most of these software can be wired into common graphic formats, such as BMP or GIF, so that you don't have to recreate a graphic file from scratch. In addition, when making graphics files, you may want to set the color swatch to use only the standard 16-color Windows color disk, so that the graphics can be done on a variety of configurations of the machine will look the same. One thing is important: To show your features, it's best not to be lazy! Although you can directly from a lot of other people have done the graphics to use, but want others to your site to leave an impression, the original icon is more important. So do it yourself, then save your work in ICO format, and remember that the filename is called "Favicon.ico."
Step Two:Upload the Favicon.ico file you just made to your site root directory. If your URL is: http://www.goeway.com then your favicion.ico should be placed below this URL Http://www.goeway.com/favicion.ico
Whenever a netizen wants to add a "My Favorites" to your site (no matter which page it is on), IE browser will go to your site root directory to find out if there is no favicon.ico this file, if any, this file will be used as a bookmark icon. But what if you can't upload the file to the root directory mentioned above (say your web space is shared with others)? Or do you just want to bookmark a particular page in your site, or do you want to have different images of different pages in your site? It doesn't matter, you can add the following setting in the <HEAD> tag area of the original page code:
<HEAD>
<link rel= "Shortcut ICON" href= "Http://www.goeway.com/favicon.ico" >
<title>my title</title>
</HEAD>
Remember to replace the above Http://www.goeway.com/favicon.ico with your own URL. Use this approach, you do not have to put the graphics file in the root directory of the site, you can put in any location, or even directly linked to other sites above the graphics file can also be, and graphics file name is not necessarily called favicon.ico, you can take. However, note that the use of this approach, only when users have to add HTML syntax above the page to bookmark the time will be useful.
Here is a script code to add it to your Web page, you will be prompted to add this page to the Favorites folder.
<SCRIPT>
<!--
if ((Navigator.appVersion.indexOf ("MSIE") > 0) && (parseint (navigator.appversion) >= 4))
{
var stext = "<u><span style= ' Color:blue;cursor:hand; '";
Stext + = "onclick= ' Window.external.AddFavorite" (Location.href, ";
Stext + = "document.title"); ' > Add Favorites </SPAN></U> ";
document.write (stext);
}
-->
</SCRIPT>
Done! As long as a netizen will add your website to the Favorites folder, your logo will appear in the Favorites directory. But one thing to keep in mind: Your logo will not be seen until you bookmark your site, and some free web space does not support the ICO graphics format.
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