Browser Favorites

M

MichelleB

Is there code available to add a "Add to my favorites
list" button to a web page?
 
J

Jim Buyens

-----Original Message-----
Is there code available to add a "Add to my favorites
list" button to a web page?

Try this:

<script>
if (navigator.appName.substring(0,9) == "Microsoft"){
document.write("<p><a href='" +
"javascript:window.external.addFavorite" +
"(document.location,document.title)'>" +
"Add to favorites.</a></p>")
}
</script>

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top