Add To Favorites

by "Keith Sellars" <Keith(at)webgraffix.com>

 Date:  Sun, 9 Jun 2002 20:30:09 -0400
 To:  <hwg-languages(at)hwg.org>
  todo: View Thread, Original
<input type="button" value="Add To Favorites"
onclick="window.external.AddFavorite(location.href, document.title);"
style="background-color: #C0C0C0; color: #000080; font-family: Arial; float:
right; font-size: 9pt; border: thin ridge #808080">

Above is code that I am attempting to use as a "Click here to bookmark us"
type of link.  It works fine in IE 5.0, but gives a javascript error in NN
4.7 stating that:

window.external has no properties.

How do I correct this?  I only know enough about javascript to copy an paste
and modify existing code, but do not know a great deal about the actual
structure of the language and correct usage and syntax.

Help would be appreciated.

Thanks,
Keith D Sellars
WebGraffix
www.webgraffix.com

"Making database sites seem easy"

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.