Free Web Site - Free Web Space and Site Hosting - Web Hosting - Internet Store and Ecommerce Solution Provider - High Speed Internet
Search the Web

Bookmark ME

Web Tips: Java Script Tips


      Do you know how to bookmark a website URL when a user browse your page and add your URL into his own local Favorite Folder? The answer is very simple, as shown below:

Codes as following:

<a onclick="window.external.addFavorite('http://www.mydomain.com','Programming &amp; Development Hut')" href="index.htm" target="_top" Title="Bookmark ME!">
<img src="images/bookmark3.gif" width="80" height="48" alt="bookmark3.gif (1194 bytes)">
</a>

   Pls test it:

bookmark3.gif (1194 bytes)

 

The following is another example:

<a href="javascript:window.external.AddFavorite(&quot;http://www.developersdomain.com&quot;,&quot;Developer's Domain&quot;)"><b>Add to Favorites</b></a>

   Pls test it:

Add to Favorites


Copyright (c) 1999 - 2001, robert han, all rigths are reserved.