Add your web page to the favorites?


This JavaScript program helps the user to add your web pages to favorites. This is a one step process.

All you need to do is paste this anchor tag in the place where you want to give the link for add to favorites:

<A class="sublink" href="javascript:window.external.AddFavorite('http://www.developeriq.com/index.php3',
'DeveloperIQ.com')" 
onmouseout="window.status=''; return true" onmouseover="window.status='Add &quot; DeveloperIQ.com &quot; to your Favorites';return true">Add to Favorites</A>

parameters:

href :- 
It takes two parameters  :-
1) Instead of http://www.developeriq.com give the page name which you want to add
2)  The name that you want to appear in the favorites

In onMouseOver Event:-

Instead of specifying DeveloperIQ.com specify the name which you want to display when the mouse is taken over the link

onMouseOver="window.status='Add &quot; Your desired name &quot; to your Favorites'





Added on June 12, 2007 Comment
}