• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Add To Favorites

How do i add the URL of my website into the favorites by clicking on the special link on my website. Please give me the codings.

note: This feature can be found in your browser under the favorites menu.

regards

Eugene

0
eugene007
Asked:
eugene007
1 Solution
 
chterilCommented:
for IE you can try:
<script>
function addtofav(){
window.external.AddFavorite(your url,your site name);
}
</script>

<input type=button onclick='addtofav()'>


for Netscape: only do ctrl-D
0
 
Le_RonCommented:
You could also have done :

<a href="http://www.hotmail.com" onClick='window.external.AddFavorite("http://www.hotmail.com","test")'>hotmail</a>
0
 
knightEknightCommented:
or even:

<A href="http://www.hotmail.com/" onClick='window.external.AddFavorite(this.href,"test");return(true);'>hotmail</a>

____________________________________________________________________________________________
0
 
eugene007Author Commented:
I accept everyones answer..:)
Thanks..:)

Regards
Eugene
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now