Add to Favourites

We can add any JavaScript that we like to a web page in an unobtrusive way. The add to favourites script will add an appropriately functioning link into the web page for all web browsers that provide any method whatever of performing this function (since not all browsers do).

This script can be added unobtrusively to any web page simply by including the appropriate script tagin the head of your page in order to link the JavaScript to your page. The only other change needed is to add an empty div tag with id="fav" in the spot where you want the link to appear.

Download a complete copy of the add to favourites including sample HTML that shows you how to attach this unobtrusive JavaScript into your page.

 

This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow
Donate