| Bookmarks are a great way to bring people back to
your website. It is well-known that people visit sites they have
been to before. To help your viewers in quickly being able to revisit
your site, you can add in a “bookmark me” function.
They can be text or a button.
Below is a sample bookmark script. You may use this code at will.
To make this work for your website, you only need to modify two
lines of this code. The first line is the variable URL. In this
case it is set to www.stephaniecota.com. Change this line for your
domain name.
The second line is the title variable. Right now it is set to Stephanie
Cota & the Creative Consultants Group. Change this to your website
title. That's it. Just stick it in your site where your bookmark
link or button will reside.
--------------- begin Javascript bookmark code ----------------------
<script language="JavaScript" type="text/JavaScript">
<!-- Begin
if ((navigator.appName == "Microsoft Internet Explorer")
&& (parseInt(navigator.appVersion)
>= 4)) {
//modify the following two lines only
var url="http://www.stephaniecota.com";
var title="Stephanie Cota & the Creative Consultants Group";
// end modifcations
document.write('<A HREF="javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Click to bookmark this page'; return true
");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
//document.write('"><img src="images/favicon.ico"
width="20" height="24" alt="Bookmark this
site!" border="0"><a>');
document.write('">Bookmark This Site!</a>');
}
else {
var msg = "Don't forget to bookmark this page!";
if(navigator.appName == "Netscape") msg += " (CTRL-D)";
document.write(msg);
}
// End -->
--------------- end Javascript bookmark code ------------------------
|