This is 'Add To Faves' Version 1.0

WHAT IT DOES

'Add To Faves' allows surfers to click on text or an image in a framed and unframed pages to bookmark that page. It works with Netscape versions 3+ and Internet Explorer versions 4+.

With Explorer/Windows, it adds the Favorite seamlessly. With Netscape/Windows and both browsers on the Mac, it pops up a small window that is then bookmarked. The window looks like this:

Use the menu or ctrl/cmd-D now
to bookmark the page then
close this window

Both use the page title as the name of the Explorer favorite or Netscape bookmark.

USAGE NOTES:

    1. 'Add To Faves' may be used in any page, framed or not. You can get some surfers to bookmark a page just by asking.
       
    2. Apply 'Add To Faves' to text with a null link [href='#' or href='javascript:void(0)'], or an image with or without a null link.
       
    3. If you're comfortable with JavaScript, you can edit the default text in the popup window by changing the 'document.write' content in the 'AddToFaves.htm' file installed in the BEHAVIORS>ACTIONS directory. If you remove any lines, add a few empty paragraph breaks after the text.

      The popup contains your entire page, but the text you see pushes it out of sight. You can also change the window size in the 'window.open' function call in the same file. If anything breaks, just reinstall and over-write your changes.
       
    4. Do not use 'booker_' for any of your own window or frame names. (Don't use JavaScript or HTML reserved words, either.)
       
    5. If you use 'Add To Faves' and a pre-2.3 version of frameJammer in the same page, you may have to make some hand changes to the frameJammer code. Earlier versions of frameJammer wrote a line of code like this:

      if (window.name!='<your frame name>')

      With 'Add To Faves' in the same page, the line should be changed to what frameJammer v2.3 and higher write:

      if (window.name!='<your frame name>' && window.name!='booker_'
           && !((self.innerHeight == 0) && (self.innerWidth == 0)))


      The height/width test added in the second line fixes a conflict in printing framed pages with Netscape 4.x, so add that, too. A fast site-wide search-and-replace with Dreamweaver 3 worked for me.

INSTALLATION

DREAMWEAVER 3+: Use the Extension Manager.

DREAMWEAVER 2: Drop ''Add To Faves'.htm' into your BEHAVIORS>ACTIONS directory. Drop ''Add To Faves'Help.html' into a HELP directory in the CONFIGURATION directory (if it doesn't exist, you should create one as you'll need it to use the Help button).

Reload extensions if Dreamweaver is open.

As usual, use at your own risk but if you run into problems let me know and I'll see what I can do to help.

Enjoy.

Hal
http://www.pawluk.com/public/
hal_pawluk@yahoo.com