Jump to content

yari

Members
  • Posts

    1
  • Joined

  • Last visited

yari's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hi, I have built a work-around for this problem. It works in IE, and gives a useful message to those using Firefox or other unsupported browsers. in IE: it add the bookmark to the users choice of folders (as per usual) in Firefox: Tells user that their browser can't save bookmarks, but to try pressing Control + D instead. Put this in the head of your HTML code: <script language="JavaScript" type="text/javascript"> // Bookmark script var urlAddress = "www.******"; var pageName = "Yaris Website Domain"; function addToFavorites() { if (window.external) { window.external.AddFavorite(urlAddress,pageName) } else { alert("Sorry, your browser doesn't support bookmarking this page...\n\nPlease try pressing Control + D instead"); } } </script> And this in the body: <a href="java script:addToFavorites()">bookmark this page</a>
×
×
  • Create New...