"Bookmark This Site" html

G

Guest

Hi - I use FrontPage 2002 and Windows XP.


I have seen on the web numerous sites say "Bookmark Our Site" or something
similar to this. We would like to add this to our home page so that as the
customer clicks on this they will add our site to their favorite list -
bookmark our site. I don't have the html for this. Can anyone tell me how
to do this??

Thanks so much for your help, Chris http://globaldiscount.net
 
D

Don

Found this here...
http://www.xmas-i-am.com/frontpage_tips.asp

Question = Bookmark

Works in Both....

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

var url="http://www.Your URL Here.com";
var title="Your tital here";

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 my site to your favorites!</a>');
}
else {
var msg = "Don't forget to bookmark us!";
if(navigator.appName == "Netscape") msg += " (CTRL-D)";
document.write(msg);
}

// End -->
</script>

HTH

Don
==========================
message | Hi - I use FrontPage 2002 and Windows XP.
|
|
| I have seen on the web numerous sites say "Bookmark Our Site" or something
| similar to this. We would like to add this to our home page so that as
the
| customer clicks on this they will add our site to their favorite list -
| bookmark our site. I don't have the html for this. Can anyone tell me
how
| to do this??
|
| Thanks so much for your help, Chris http://globaldiscount.net
 
R

Ripper

Here's one way (this only works for Internet Explorer):
The website url and title need to be changed to your information. You can
also edit the text in the last document.write line.
There are other ways to do this, but I forget at the moment.



<!-- begin bookmark script -->
<p align="center"><script LANGUAGE="JavaScript">

<!-- Begin
if ((navigator.appName == "Microsoft Internet Explorer") &&
(parseInt(navigator.appVersion) >= 4)) {

var url="Put your entire URL here";
var title="Type your website name or title here";

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

// End -->
</script>
<noscript>Please enable JavaScript to use the "Bookmark Us"
feature.</noscript>

<!-- End bookmark script -->
 
G

Guest

Thank you for all the help we received, but at one time we had a really
simple html code - a one liner I think. Does anyone have any idea what that
would be? Thank you again, Chris
 

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