Add-to-Favorites Script IE
Description: If you've been looking all over the web for a script that allows your surfers to easily add your site to their bookmark (favorites) list in IE, well, your search is over. The below script creates a link that, when clicked on, adds the specified page to the surfer's bookmark list.
Demo: (You can use either an image link or a regular text link)
Step 1: Add the below code to the <head> section of your page:
Step 2: Create either an image or text link that will be used as the add-to-favorites link. For the href attribute, use the following code:
Here's an example:
Since this script only functions in IE 4+, you may wish to hide it from other browsers by dynamically writing out the link. The easiest way to do that is to first use the document.all object to sniff out IE 4 users, then use the document.write() method to write out the link only for them. For example:
It's up to you, though, on how exactly you want to do it.