Add to Favorites Toolbar Button

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!

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

Similar Messages

  • UI: Toolbar - (F?)AQ about toolbar button activation and usage

    <b>Q:</b>
    How can I add functionality of the two SAP toolbar buttons shown on the screenshot?
    <b>Reply:</b>
    Please note that the clicks on the toolbar buttons are translated into MenuEvents!
    I.e. if the button is active at the time you want to use it - just declare a MenuEvent handler for it... (find the Menu ID e.g. in the UI help - or from version 2005 on through hovering over the corresponding menu item).
    If the toolbar button is inactive - activate the corresponding menu item first.
    Please note that you cannot:
    - add or remove toolbar buttons (you can just disable them)
    - add or remove top level menu items

    Just a FYI

  • Custom Toolbar button in Adobe Acrobat Reader

    Hello Everyone,
    I need to add a custom toolbar button in Adobe Reader using C# 2.0 and performed some custom tasks by clicking on this button.
    Could anyone guide me, how to add a custom toolbar button in Adobe Reader application?
    PS: I have create a Shared Addin for adding Custom Toolbar for office applications but have no idea how to start for Adobe Reader application.
    Your instant reply will be highly appreciated. Thanks in advance.
    Best Regards,
    Malik Irfan

    I'm ok with just using Javascript to make the toolbar button, instead of C/C++.
    I assume you mean by your second point that I actually have to own Acrobat professional, which I do.
    I tried looking at the documentation, but it keeps crashing my browser.
    However, from my experience with all other Adobe products (Studio MX, Authorware, etc), I do not expect a detailed walkthrough from start to finish, with pictures saying "click here" and such.  Does this help manual actually contain this sort of thing?
    I really appreciate the fast replies!

  • Adding toolbar buttons in the beginning

    Hi Experts,
    Can somebody tell me how to add my own toolbar buttons in ALV in the beginning.
    When i am adding buttons using the event handler class it is adding the buttons only at the end. I want the buttons in the very beginning.

    Hi Aditya,
    I am adding toolbar buttons using the below method.
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_toolbar.
        DATA: ls_toolbar  TYPE stb_button.
    append a separator to normal toolbar
        CLEAR ls_toolbar.
        MOVE 3 TO ls_toolbar-butn_type.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    append an icon to create new skills
        CLEAR ls_toolbar.
        MOVE 'CREATE'(000) TO ls_toolbar-function.
        MOVE icon_create TO ls_toolbar-icon.
        MOVE 'Create Detail'(001) TO ls_toolbar-quickinfo.
        MOVE ' ' TO ls_toolbar-disabled.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    append an icon to change existing information
        CLEAR ls_toolbar.
        MOVE 'CHANGE'(003) TO ls_toolbar-function.
        MOVE icon_change TO ls_toolbar-icon.
        MOVE 'Change Detail'(004) TO ls_toolbar-quickinfo.
        MOVE ' ' TO ls_toolbar-disabled.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    append an icon to display information
        CLEAR ls_toolbar.
        MOVE 'DISPLAY'(006) TO ls_toolbar-function.
        MOVE icon_display TO ls_toolbar-icon.
        MOVE 'Display Detail'(007) TO ls_toolbar-quickinfo.
        MOVE ' ' TO ls_toolbar-disabled.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    append an icon to delete information
        CLEAR ls_toolbar.
        MOVE 'DELETE'(009) TO ls_toolbar-function.
        MOVE icon_delete TO ls_toolbar-icon.
        MOVE 'Delete Detail'(010) TO ls_toolbar-quickinfo.
        MOVE ' ' TO ls_toolbar-disabled.
        APPEND ls_toolbar TO e_object->mt_toolbar.
      ENDMETHOD.                    "handle_toolbar

  • I want to add a Favorite Button to my toolbar

    I was using Flock, which has a "star" button on the toolbar which allowed me to add the page I was visiting to my Favorites without going to the drop-down Bookmarks menu.
    I'd like to have something similar in Firefox.

    You can find toolbar buttons to open the bookmarks (star) and the history (clock) in the sidebar in the toolbar palette and drag them on a toolbar.<br />
    Firefox 4 versions and later have two bookmark buttons with a star in the Customize window.<br />
    One star button has a drop marker that open a Bookmark menu.<br />
    The other star button without the drop marker opens the bookmarks in the sidebar.<br />
    Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Add to favorites button

    I would like to have an add to favorites button on my flash
    website but it just won't work. I have copied the code from this
    website
    http://www.actionscript.org/resources/articles/24/1/Bookmark-to-IE/Page1.html
    into a new flash movie but when I put it into internet explorer 7
    it won't do anything. but the button on the website above does
    work. so I downloaded the fla from the site above, put it into
    flash 8 and then exported it and guess what it didn't work. this is
    the code I am using.
    on (release) {getURL
    ("javascript:window.external.AddFavorite('
    http://www.actionscript.org/','ActionScript.org
    Flash Resources');");
    is there a setting in flash I need to change so that it can
    'talk' to internet explorer, because all websites that have
    tutorials for add to favorites buttons use the same code, but it
    won't work on my computers.
    thanks for any help
    trigger2160

    it's not a flash issue. it's a browser (and possibly pop-up
    blocker) issue.
    flash can cause any javascript function to execute (though
    you'd be better served to use the externalinterface class rather
    than getURL). you need to find a javascript function that works
    with the browsers that want.

  • How can I add custom toolbar buttons to load different TOCs?

    In my WebHelp output, I want to have custom buttons on the toolbar that when clicked load a specific TOC in the left navigation pane. For example, when the user clicks the PC button, the PC TOC loads in the left pane. When the user clicks the VM button, the VM TOC loads in the left pane. All of the help files are managed in one project and some files will appear in both TOCs.
    I think this should be possible but not sure how to make it happen. Is there some JavaScript that I should add to the custom toolbar item to load the TOC on click? How do I specify the TOC that I want to show for each button?
    BTW - I'm using RoboHelp 8 (8.0.2) to generate WebHelp output. Thanks in advance for your help!

    Hi there
    If you were to upgrade to RoboHelp 9 it would simplify your issue. Version 9 offers a new feature called Dynamic User-Centric Content (DUCC) and provides a nifty little drop-down selector in the Navigation Mini-toolbar.
    As you are on version 8 the only way I can fathom you would manage this is by generating two different outputs. Each output would use its respective TOC. The Toolbar button in each project could be configured to open the other project.
    You might first decry having to manage two outputs and all the files. But if you pick apart DUCC and the way it is configured by Adobe, it works in much the same manner. It's just hidden from your initial view.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Can't add a toolbar button in a overlay extension

    Hello, I'm having trouble adding a button to the main toolbar.
    I'm creating a xul overlay extension but for some reason I can't seem to add the button to the toolbar. I'm able to install it, but not make the button appear.
    What I'm trying to do is create a toolbar button, that opens a popup containing an iframe. I need exactly what the user Felipe Silva show in this example:
    http://stackoverflow.com/questions/18506117/create-mozilla-extension-to-display-a-popup-and-iframe-in-it
    The only difference is that the iframe needs to load an html file packaged with the extension and not some external source.
    I'd also like to add the button by default to the toolbar but I need to get the button working first.
    You can download a copy of the extension here:
    https://dl.dropboxusercontent.com/u/9942366/firebomb.xpi
    I know this would be easier if I was using the SDK but the toolbar button module requires Firefox 29 which is not stable yet so I prefer doing this way.
    Any help would be greatly appreciated.

    hello andremm, for questions related to extension development please use the mozilla addons forum - you'll likely get a better answer there. thank you!
    https://forums.mozilla.org/addons/viewforum.php?f=7

  • Toolbar Button for "Add to Index"

    I make CHM (context-sensitive help) using RH8. My SME wants an index (it's quite heavy technical stuff) and I add index keywords by:
    * select text in the topic,
    * right-click,
    * Add to > Index Keyword > ProjectName.
    If I could make a toolbar button for this I could let my SME create the index himself.
    Is there a way of creating a custom toolbar button in RH8? Alternatively, is it possible to carry out the above procedure using the keyboard (no mouse)?
    aTdHvAaNnKcSe
    --- Derek

    Yes, this button, or preferably a consistent keyboard shortcut, would be most helpful.
    In RH versions 5 and 6, you could highlight the keywords, right click, and then tap 2 or 3 keys on the keyboard and the words were tagged into the index. Easy to learn and very quick indeed; you could do it automatically, without thinking.
    Then the programmers got "clever" and dynamically changed the keyboard shortcuts depending on where you were / what you highlighted in the topic, so that for many right-click-menu functions, the shortcuts needed different keystrokes each time; and sometimes you couldn't use the keyboard shortcuts at all. You now have to stop and read the right-click menu carefully every time, and we're back to using the mouse.
    (Imagine doing the index for, say, 390 topics, with 10-20 keywords per topic. And they make us use a mouse?)
    Shortcuts are faster! (Imagine driving a car by using a mouse?)
    Perhaps it needs some kind of macro facility?

  • How to Add C3PO Toolbar Buttons with GroupWise in C#

    Hello
    i try How to Add C3PO Toolbar Buttons with GroupWise in C#. I do all like
    i read here
    http://support.novell.com/techcenter...a20000906.html
    But i can see any result
    i create file with Wizard(witout project)
    Then i add this file to my EXE project
    and add 2 button "Reg C3PO"(RegC3po();) and "Unreg C3PO"(UnRegC3po();)
    and init
    what i do wrong?
    i try find ansver but find only this
    http://newsportal.novell.com/article...sup.gwc3po#925
    what its mean?
    news:SR%Zg.16416$[email protected]:
    about this question
    http://newsportal.novell.com/article...sup.gwc3po#673
    C3POs still don't work in the address book?
    Kirill

    Kirill wrote:
    > Hello and Merry Chritmas :)
    >
    > regsvr32 onlu for DLL. My project create EXE file :(
    >
    > Kirill
    Ups......
    You'll, according to the readme generated by your C3PO Wizard, have to run
    Regasm.exe <your C3PO server>
    That will create the needed regkeys...
    Also, you might have to add the typelib wrapper and assambly to the GAC, bu typing:
    Gacutil -i <your C3PO server>
    Best Regards
    Tommy Mikkelsen
    IT Quality A/S
    Denmark
    Novell Developer Forums SYSOP
    Please Report back any success or failure, That way we all learn
    Sorry, but no support through email
    "I hate bugs".......Tommy Lee Jones, MIB
    Be a GroupWiseR, go http://www.groupwiser.net

  • Add a Toolbar button to standard sales order TCodes VA02 and VA03

    Hi,
      I would like to add a toolbar button standard SAP Tcodes VA02 and VA03. Upon clicking this toolbar button a popup screen should open up with some information. NO data needs to be transferred from this screen to the order, this will be just an information screen.
    How do I accomplish this? Thanks for reading.

    Hi,
    Check these:
    http://www.synactive.com/tutor_e/lesson00.html
    http://http.****************/Tutorials/Others/GUIXT/Page2.htm
    Regards,
    Subramanian

  • Add toolbar button navigation bar

    Hi, Can I add toolbar or toolbar button to navigation bar? I am using Interface builder and it seems that I could not do it.
    thanks,
    ff

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(Linux & OSX see: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M
    <u>''Windows'' Method 2.</u> Press and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar.
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''

  • Add Toolbar button to SBO Toolbar

    Does anyone has sample codes to add new toolbar button?
    Regards

    I think you can't, the only thing you can is to add menu options in the main menu.
    Regards,
    WB

  • In ios 6.1.3 I do not have an add to favorites button at the bottom right of my contacts - how do I add a phone number to favorites?

    New in this forum and looking for help with ios 6.1.3. In previous versions I could add phone numbers to favorites - most recently using "add to favorites" at the bottom right of my contact. Now there are only 3 choices - "Send Message" - "Face Time" - "Share Contact" and no "Add to Favorites." Any help on this would be appreciated - I have used Favorites for years and can't do it now with new contacts.

    Your suggestion worked perfectly.  I can't believe there is nothing in any of the instructions I have seen online at the Yahoo and Apple help sites about the making sure the right default account is checked.  I don't think I was even aware there was a "default account" setting.  Thank you so much.

  • Javascript code needed for "Add to Favorites" icon in Webhelp using RH8

    Hi,
      I have a huge problem in making the add to favorites icon click event associate with the appropriate code.
    This was the code i used in the Inline Javascript tab:
    <script type="text/javascript" language="JavaScript" src="showhide.js"></script>
    <input type="image" value="Add to Favorites" onclick="window.external.AddFavorite(location.href, document.title);return false"
    /="" name="AddTopicToFavorites_selected.gif"  src="AddTopicToFavorites_selected.gif"  
    <script type="text/javascript">var BookmarkURL="http://www.geekpedia.com"
    var BookmarkTitle="Geekpedia"
    // If the browser is Internet Explorer
    if (document.all)
      // Add to Favorites (Internet Explorer)
        window.external.AddFavorite(BookmarkURL,BookmarkTitle)
          else
                  // Add to Bookmarks (Mozilla Firefox)
                  window.sidebar.addPanel(BookmarkTitle, BookmarkURL, '');
          }</script>
    Also in the onclick in the Edit tab, i wrote: window.external.AddFavorite(BookmarkURL,BookmarkTitle)
    It loads the add to favorites window very well as in any IE..But since the static word Geekpedia is being used, it displays the same and also navigates to the static URL http://www.geekpedia.com".
    I want to make it work dynamically...Please help me with any code change if any one has tried this before.
    One other thing that got messed up with was this icon replaced all other icons in the output....but...if i viewed the whskin_tbars.htm, i could see that the default icons appeared below somwhere...and there was this Add to Favorites icon appearing at the top...I dont know why these icons have got misplaced,,,i want to align them all in the same line..
    Please help me with this.....
    -Nanditha

    Hi,
    A long story, but I will need some more time to sort this out:
    Simple solutions:
         - Change the var BookmarkURL="http://www.geekpedia.com" to your own URL, such as: var BookmarkURL="http://myhelp.com"
         - Change the var BookmarkTitle="Geekpedia" to your name, such as: var BookmarkTitle="My help system"
         - Do not insert an image trough the javascript tab, add it using the image options with the custom toolbar items popup. This will probably solve your image problem.
    If you want to the URL dynamic, you need document.location.href, such as: var BookmarkURL = document.location.href; This however will get the adress of the current frame, which is whskin_tbars.htm.
    If you want to get the Title dynamic, you will need document.getElementsByTagName('title')[0]; and then you need to retrieve the title, as: xxx.firstChild.data,: such as:
         - var BookmarkGet = document.getElementsByTagName('title')[0];
         - var BookmarkTitle = BookmarkGet.firstChild.data;
    This always gets the URL and the Title of the frame you inserted the script in, which for the button toolbar is whskin_tbar.htm. When you insert this in any give topic, your bookmark will work fine, but will only call the topic, and not your skin.
    If you only want the URL of your helpsystem, I suggest you just change the  variables BookmarkURL and BookmarkTitle.
    If you want to target the current topic from any other location, such as the title bar, you need to address the top frame and then the topic. I don't know which frame this is, but I will look into it. This may take me some time though, but perhaps someone else knows which frames to address.
    Example for getting the url of your helpsystem dynamically:
    var BookmarkURL= this.parent.document.location.href;
    //Your projects main file does not have a title, so don't get it dynamically.
    var BookmarkTitle="My help system"
    // If the browser is Internet Explorer
    if (document.all)
      // Add to Favorites (Internet Explorer)
        window.external.AddFavorite(BookmarkURL,BookmarkTitle)
          else
                  // Add to Bookmarks (Mozilla Firefox)
                  window.sidebar.addPanel(BookmarkTitle, BookmarkURL, '');
    Long story, if you have any further questions, just ask.
    Greets,
    Willam

Maybe you are looking for

  • BPM Process does not show newly added task

    I added a new task to my current BPM Process which has several tasks already built into it and they work when deployed. When I execute the workflow and get to that step, I get the following message: Details not available for this task. I am using jDe

  • Output type not getting defaulted in PO

    Hi..... I have configured output type as printout for purchase order, i have set the default value for message type NEU, even than when i create a PO system is not picking the message type NEU.. i have also mainatined condition record in MN04 for the

  • Determining Gaps in Logical Standby

    DB version: 11.2 For determining the gaps for Physical Standby DB, I use the queries mentioned in the post below StandbyDB is not in sync with primary For checking if a Logical Standby and Primary is in Sync, Can I use the same query ? Do I have to c

  • Jdeveloper - GUI not visible in the visual design editor

    Hello everybody! Actually I'm designing a Java Desktop Application with javax.swing. using JDeveloper 11g Release 1 (Studio Edition Version 11.1.1.3.0, Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660), Java Platform 1.6.0_18 and Oracle IDE 11.1.1

  • Unlock button (top left) works but only if i press hard. 8900

    Hey guys, probably guessed from the title, but yeah my unlock button is playing up. I know why this is, I dunno if yas have done it but if ya take the front panel off from the phone, there's 2 sensor things, well my unlock button sensor has worn down