HTML and Code design insider tricks
Adding a page to favorites from a link on a web page
Image used - NONE
See-How its done
A very useful web site marketing trick, and very simple to apply and use. The theory is that a user with IE4 (or higher) will click on the link and add your site to their list of favorites stored in the computers brower. The information about the page comes from the Meta Tag Title in the web page code. For more information on Meta Tags see - Automatic Meta Tag Generator
These can then be quickly accessed by the user and hopefully they will notice the entry and return to your site.
Well that's the theory - try clicking on the example below and See-How it works.
HTML CODE - Add To Favorites using Default Button
<FORM> <INPUT TYPE = "button" VALUE = "Add This Site To Your Favorites" onclick = 'window.external.AddFavorite(location.href,document.title);'> </FORM> |
| see-example |
HTML CODE - Add To Favorites using Text Link
| slightly more involved as it underlines <u>...</u>, sets the text colour to blue and changes the cursor to a hand so that it mimics a true hyperlink. |
| <u> <span STYLE="color:blue;cursor:hand;" onclick = "window.external.AddFavorite(location.href, document.title);"> Add Page To Favorites </span> </u> |
| see-example Add Page To Favorites |
|