Search this site!

Return to the CSB Support home page
Bookmark 1   |   Bookmark 2   |   Bookmark 3
Bookmark 1
Description:
Note: This only works with Internet Explorer 4+ browsers!  

This script allows you to place a "click here to bookmark this site" type of link.

I have modified the script, as posted on Dynamic Drive, so that if a visitor to your web site is not using IE4+ they will be displayed an error message.
How to use:
1. Copy and paste the code provided in the file 'bookmark1.txt' into a BYOWG, which should be placed where you want the "link" text to apppear.

2. Edit the code for your personalized messages. Look for the two lines that begin: "var ="

3. Publish and enjoy!
Example:
Bookmark this site!
Download the code
right click on link, then click on 'Save target (or frame) as'
Other information:
Take a look at Add-to-Favorites 2 for another solution that may be more acceptable to Netscape users

Source code:


<script language="JavaScript1.2">

/*
Add-to-favorites Script
Created by David Gardner (toolmandav@geocities.com)
No warranty of any kind comes with this script!
Permission granted to Dynamic Drive (http://dynamicdrive.com)
to post and feature this script on their DHTML archive
*/

//configure the two variables below to match yoursite's own info
var bookmarkurl="http://www.kwsupport.com/trellix"
var bookmarktitle="KWSupport Unofficial Trellix Support Site"

function addbookmark(){
if (document.all)
   window.external.AddFavorite(bookmarkurl,bookmarktitle)
else
   alert("You need IE 4+ to use this particular feature.")
}
</script>
<a href="javascript:addbookmark()">Bookmark this site!</a>