Solved

Add To Favorites

Posted on 2000-04-13
4
148 Views
Last Modified: 2010-04-09
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
Comment
Question by:eugene007
4 Comments
 

Accepted Solution

by:
chteril earned 25 total points
ID: 2712061
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
 

Expert Comment

by:Le_Ron
ID: 2712088
You could also have done :

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

Expert Comment

by:knightEknight
ID: 2712192
or even:

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

____________________________________________________________________________________________
0
 

Author Comment

by:eugene007
ID: 2730776
I accept everyones answer..:)
Thanks..:)

Regards
Eugene
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now