• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Add to Favorites Toolbar Button

New Here ,
Jul 09, 2009 Jul 09, 2009

Copy link to clipboard

Copied

I am trying to add a toolbar button (for webhelp output) for a client to use that will add the current page to the user's IE Favorites list. I have used the script from Rick Stone's Skinny On Skins "Toolbar button to add items to the Favorites list" topic, but I get a javascript error when trying to execute the button in the toolbar.

Here is the code I'm copying from Rick's Skinny on Skins ...

javascript:window.external.AddFavorite(parent.frames[1].bsscright.location,paren t.frames[1].bsscright.document.title);

Any help would be welcomed!

Views

2.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2009 Aug 13, 2009

Copy link to clipboard

Copied

Hi,

Adding bookmarks is a pain, see this question.

Greets,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 22, 2014 Oct 22, 2014

Copy link to clipboard

Copied

If this was a copy and paste of the actual code, you have a space in the second "parent" reference between the n and the t.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 23, 2014 Oct 23, 2014

Copy link to clipboard

Copied

LATEST

Wow. A reply for such an old thread 🙂

The problem here is not a space, but that browsers work differently with favorites/bookmarks and don't always support it through JavaScript. If anyone is looking at this thread, here are two solutions:

- WebHelp buttons: http://www.wvanweelden.eu/product/webhelp-pro-toolbar-scripts

- WebHelp favorites: http://www.wvanweelden.eu/product/favorites-widget-webhelp

Kind regards,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp