how do I add a button for adding my site to the viewers Favorites list?

G

Guest

I want to add a button to my webpage so that the viewer can automatically add my site to his favorites list but cannot figure out if Frontpage has a way to do this or not. I am using FrontPage 2002.
 
J

Joe Rohn

A

Armond Perretta

m300il said:
I want to add a button to my webpage so that the viewer can
automatically add my site to his favorites list ...

Try:

<SCRIPT LANGUAGE="JavaScript">
if ((navigator.appName == "Microsoft Internet Explorer") &&
(parseInt(navigator.appVersion) >= 4)) {

var url="http://yoursite.com";
var title="Title you want in favorites";

document.write('<A HREF="javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Add our site to your favorites!'; return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
document.write('">Add our site to your favorites!</a>');
}
else {
var msg = "Don't forget to bookmark us!";
if(navigator.appName == "Netscape") msg += " (CTRL-D)";
document.write(msg);
}
</script>
 

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