Jump to content
xisto Community
Sign in to follow this  
Brian

My Favourite

Recommended Posts

Hi, everyone. I would like to ask how to create a link to add a website to their visitor's favourite list? In addition, how to make a link to set a website as their visitor's homepage link the famous webiste "yahoo" ?

Share this post


Link to post
Share on other sites

Place this code to the <head> tags


<script type="text/javascript">[br][/br]function bookmarksite(title, url){
if (document.all)[br]window.external.AddFavorite(url, title);
else if (window.sidebar)[br]window.sidebar.addPanel(title, url, "")
}
</script>[br]

And then, simply place the link.


<a href="javascript:bookmarksite('Title of your page', 'youraddress.com this site!</a>

I hope I helped you. Greetz!


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.