Search this site!

Return to the CSB Support home page
Bookmark 1   |   Bookmark 2   |   Bookmark 3
Bookmark 3
Description:
Note: Sometimes you have solutions right under your own nose and still don't see it.  In this case, I was doing some changes to my wife's web site, and saw that I had a link to 'Add this web site to your list of favorites', and when I looked at the code, it was quite different from the two I have previously posted!
How to use:
1. Copy and paste the code provided in the file 'bookmark3.txt' into a BYOWG, which should be placed where you want the "link" text to apppear.

2. Edit the two lines of code to identify your URL and a description for your bookmark. (See highlighted lines in source code listing at end of page)

3. Publish and enjoy!
Example:
Download the code
right click on link, then click on 'Save target (or frame) as'
Other information:

Source code:

<SCRIPT language="JavaScript">
var lookup=navigator.appVersion
aol = (lookup.indexOf("AOL") > 0 );
if (aol)  // Only true for AOL
{
/* CUSTOMIZE THE NEXT LINE FOR YOUR SITE */
document.write("Please add us to your AOL Favorites Folder");
}
else
{
ie4 = ((navigator.appName == "Microsoft Internet Explorer") &&
(parseInt(navigator.appVersion) >= 4 ));
if (ie4)  // Only true for MSIE
{
// * CHANGE THE URL TO YOUR WEB ADDRESS */
var url="http://www.swgalleries.com";
var title="Susan S. Weilbacher Art Gallery";
document.write('<A HREF="javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
/* CUSTOMIZE THE NEXT LINE WHICH APPEARS IN THE STATUS BAR OF MSIE */
document.write("'Please add our site your Favorites Folder'; return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
/* CUSTOMIZE THE NEXT LINE WHICH APPEARS IN THE DOCUMENT */
document.write('">Click here to Bookmark our Site!</a>');
}
}
ns4 = (navigator.appName == "Netscape");
if (ns4)  // Only true for Netscape
{
/* CUSTOMIZE THE NEXT LINE WHICH APPEARS IN THE DOCUMENT */
document.write("Press CTRL+D to have Netscape bookmark our site.");
}
</SCRIPT>