Bookmark a page and Email a friend

I am trying to get a couple of things working.

  1. Add a graphic button to a page and when the user clicks it, it will bookmark that page.
    I have been onto the knowledgebase and have the following, but it doesnt work in any browser:

javascript:window.external.AddFavorite(‘http://www.newyoubootcamp.com’,‘New You Boot Camp’)

  1. I also need a link to ‘Email a friend’ so that when the user clicks the button it will send a link of that page via the users email client. Not sure how to do this.

I’ve seen it on a few sites before, but is there something I’m missing or are these methods not the ones to use. Any advice would be appreciated.

Nathan Garner
email@hidden

FW5 Pro | MacBook Pro | Leopard

That code should work – on IE Windows. I don’t know of any other browser that allows JavaScript access to the bookmarks.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Aha Thanks Walter

Nathan Garner
Partner

Austin Wells Design Consultants
1 Elmgate Drive, Littledown, Bournemouth BH7 7EF
+44 (0)1202 301271
email@hidden
http://www.awdc-creative.com

Member of NAPP

On 5 Aug 2008, at 13:33, waltd wrote:

That code should work – on IE Windows. I don’t know of any other browser that allows JavaScript access to the bookmarks.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options