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.

Similar Messages

  • 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.

  • 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 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

  • 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

  • Public folder calendar will not add to favorites or users default view in Outlook 2010

    I have created a shared public calendar in the public folders of our exchange server set-up (priovided by a popular cloud supplier). It appears under public folders in Outlook 2010 but right-clicking add to favorites does nothing and I cant make the calendar
    show up in the normal calendar view (alongside other calendars) for the people that need to share it. What am I doing wrong?

    Hi ,
    This folder was added to the “public favorites” folder and then added to your favorites menu and don’t shows up in the Navigation Pane under “Other Contacts”.
    1.If so , please check the calendar folder you initially added to the public folder as being available .
    2.Open the Outlook E-mail account –more setting—chose Download Public Folder Favorites.
    3.Add the “Show in Favorites” button to your Quick Access Toolbar at the top of your Outlook by expanding the menu next to it, choosing Customize, and
    finding the “Show in Favorites” item under all commands.
    4.Switch to Folder View and click to open your Public Foder in your main Outlook window.
    5.Switch to Mail View but don’t click any folders. You should see that your “Show in Favorites”button turns from grey to colored. Click it and it will
    add the public foder to your Favorites list.
    Wendy Liu

  • Centro (bell) no call log favorite button

    I just got a centro, had a treo before and it had call log my new centro hasn't got it. i refereed to the manual and it is supposed to have a favorite button for CALL LOG is there a way to add it. i can't figure it out.
    thanks
    Post relates to: Treo 650 (Telus Mobility)

    On my AT&T Centro, once the Phone hard button has been pressed, I see 5 icons at the bottom of the screen.  The right-most one is the call log "button".
    That's the only one I know of... What page in the manual are you referring to?
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • I have lost the capability with the new upgrade to add a contact to favorites....the "add to favorites" is gone.  My contacts that I had added previously are still favorites...I just can not add a new one?????

    With the newest upgrade, I no longer have the button "add to favorites" ????   So How do I add a contact to favorites...all the contacts previously added still have the little blue star next to the number...but I can not find how to add another contact to favorites.

    Thanks that solved it for me...your awesome

  • How do I restore Favorites button to Bookmarks Toolbar?

    I performed all the remedies detailed in Help to restore the Favorites button to the Bookmarks Toolbar, but to no avail. The Favorites button is still missing from my Bookmarks Toolbar.
    It disappeared last evening when some cosmetic changes appeared on my Navigation bar.
    I earlier had imported my Favorites from Internet Explorer, but they are buried deep in the Bookmarks menu, and do not permit of adding a new Favorite -- so aren't practical to use.
    If I could sync my Favorites to my Bookmarks, I could finally abandon the Favorites in favor of the Bookmarks -- but apparently Firefox does not allow for such possibility.
    Disappearance of the Favorites button from the Bookmarks Toolbar makes Firefox all but unusable for me -- unless I can find a solution.
    I have no add-ons, and no new plugins that might be causing this problem.

    I solved the problem, per a suggestion from the Support Forum: I simply exported my Favorites, as an HTML file, from Internet Explorer 8.0 to the Desktop. Then I imported the file to Firefox by selecting ''Import Bookmarks from HTML...'' under the ''Import and Backup'' button in the Library toolbar.
    Finally, I closed and reopened Firefox. There was my Favorites button, once again on the Bookmarks Toolbar.

  • How do I add a PayPal button to a page in my site?

    My client has a PayPal account and they would like me to add a button that enables visitors to click the button and submit donations.
    Is this something that is supported by Muse?

    Yes - you can add a PayPal button using arbitrary HTML.
    Create the donation page in Muse. If desired, you can also create a second confirmation page, that thanks the visitor for their donation after it is submitted.
    Publish both pages.
    Log into your PayPal account on their website. Use their system to generate the donation payment button.
    Copy the source code for the button.
    Return to Muse and go to Object > Insert HTML..., paste the code in the HTML Code area and Click OK.
    Position the HTML block where you want the button to appear on the page.
    Publish the page again and click the button to test that the button works as expected. It should jump from the Muse donation page to the PayPal page where the visitor can enter their donation into your client's account.
    You can style the PayPal page to look more like your site's design, which creates a more seamless appearance. If desired, you can also configure the PayPal payment page to redirect to the confirmation/thank you page you created in step 1 after processing the transaction.

  • How do i grab datalist ID and add it to button onclick to update that item

    Hi, I have pulled over some data from my sql server 2012 in VB C# DataList view. I would like to add a custom button to each item that will allow me to delete an item from the database and also update a database column onclick. EG: Update the paid (bit)
    column to 1 when the paid button is clicked. Here is what i have so far as i am new at this:
    my aspx page:
    <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    </asp:Content>
    <asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:DataList ID="dlActiveBills" runat="server" DataSourceID="SqlDataSource1">
    <ItemTemplate>
    Amount:
    <asp:Label ID="AmountLabel" runat="server" Text='<%# Eval("Amount") %>' />
    <br />
    DateReg:
    <asp:Label ID="DateRegLabel" runat="server" Text='<%# Eval("DateReg") %>' />
    <br />
    Deadline:
    <asp:Label ID="DeadlineLabel" runat="server" Text='<%# Eval("Deadline") %>' />
    <br />
    Notes:
    <asp:Label ID="NotesLabel" runat="server" Text='<%# Eval("Notes") %>' />
    <br />
    Name:
    <asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>' />
    <br />
    <br />
    <asp:Button id="btnPaid" runat="server" Text="Paid" Commandname="update" />
    </ItemTemplate>
    </asp:DataList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ProjectConnectionString %>" SelectCommand="SELECT
    d.Amount,
    d.DateReg,
    d.Deadline,
    d.Notes,
    r.Name
    FROM
    Details d
    LEFT JOIN
    ReminderTypes r
    ON
    d.ReminderTypesId = r.ReminderTypesId
    WHERE
    d.Paid = 0"></asp:SqlDataSource>
    </asp:Content>
    my aspx.cs page
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Data;
    using System.Data.SqlClient;
    public partial class active_bills : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    protected void MainContent_dlActiveBills_btnPaid_0_Click(object sender, EventArgs e)
    string dbConnection ="Data Source=somthing;Initial Catalog=somthing;Integrated Security=true;";
    SqlConnection sqlConnection;
    sqlConnection = new SqlConnection(dbConnection);
    sqlConnection.Open();
    SqlCommand cmd = new SqlCommand();
    cmd.Connection = sqlConnection;
    cmd.CommandText = "UPDATE Details SET Paid = 1 WHERE DetailsId = ?";
    cmd.ExecuteNonQuery();
    sqlConnection.Close();
    This doesn't work but can it be done in this way somehow?

    Hi irishwestman,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help
    System, and Visual Studio Editor.
    Based on your issue, it is related to the ASP.NET, so I suggest you can post this issue directly to the ASP.NET forum:http://forums.asp.net/
    you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Have you attempted a restore?

  • IPhone Contacts won't let me "add to favorite"

    I have an iPhone 3g - not the newest version - with the new 3.0. When I go into Contacts and then find a contact I want to add as a favorite, the only options it displays is "Text Message" or "Share Contact". There is no "add as favorite". What gives?
    Thanks!

    The "Add to Favorites" tab doesn't show if the contact is already a favorite - should show a star next to the number - or if there isn't a telephone # in the contact (email and physical addresses obviously can't be favorite numbers for the phone app). If the entry isn't already a favorite, and is a telephone #, you need to restore the phone in iTunes.

  • Add on custom button to ALV toolbar in std tcode ME51N, ME52N and ME53N.

    Hi All,
    I have the requirement to add on the custom button to ALV toolbar in ITEM OVERVIEW for standard transaction ME51N, ME52N and ME53N. Does anyone know what enhancement point or user exit i should apply and how i can add on the custom button?
    Thanks.

    There are no user exits or badi's for COOIS. You may have to make copy of the PPIO_ENTRY to ZPPIO_ENTRY including all the varians without changing their names like copy SAP&COOIS to SAP&COOIS. Create a T-Code ZCOOIS and replace COOIS in variant SAP&COOIS to ZCOOIS not in the name of the variant but in the field "Check Authorization for".
    The PF-Status is found in the include LCOISOUTPUTF16 which is located in the function group COISOUTPUT you may have to copy that too. Finally you need to copy SAPLCOISOUTPUT with its GUI status GENERAL and add your custom button there.

  • How to add header and button

    i want to add header to my ALV report
    i am using cl_salv_table method
    i want to write a few sentences.
    in addition i want to add a button to my report,
    which will display the values the user put in the selection screen.
    please give me detailed explenation
    thanks

    Display header:--steps
    1. call the factory method and it reruns the ref variable..
          try.
              call method cl_salv_table=>factory
                exporting
                  list_display = list_display
                importing
                  r_salv_table = vref_alv
                changing
                  t_table      = i_sflight.
            catch cx_salv_msg into oref_error.
              l_text_alv_e = oref_error->get_text( ).
              message i000 with l_text_alv_e.
              leave list-processing.
          endtry.
    2. Create header object and attached it with ALV
      data: lr_grid type ref to cl_salv_form_layout_grid.
    1st step: create the grid object
      create object lr_grid.
    2nd step: add some text items
      lr_grid->create_header_information( row = 1  column = 1
                             text = 'Flight List Grp ##'(fll) ).
      lr_grid->create_text( row = 2  column = 1
                             text = 'Please check utilization'(uti) ).
    3rd step: declare grid as header of list
      vref_alv->set_top_of_list( value = lr_grid ).
    Display - button steps:
    1. Create pf status and Set pf status:
    Create pf-status and add ur custom button with a fcode then set this status with alv.
      vref_alv->set_screen_status( pfstatus = 'SALV_TABLE_STANDARD'
                                report = sy-repid
                           set_functions = p_alv->c_functions_all ).
    2. Get all the events and set the event handler for this added button.
      data: lr_event type ref to cl_salv_events_table.
    get the EVENT object
      lr_event = p_alv->get_event( ).
      set handler :
      lcl_handler=>on_added_function for lr_event,
    2. Create the local class to handle this event:
    class lcl_handler definition.
      public section.
        class-methods:
        on_added_function for event added_function of cl_salv_events_table
                importing e_salv_function, " type salv_de_function
    endclass. "lcl_handler definition
    CLASS lcl_handler IMPLEMENTATION
    class lcl_handler implementation.
      method on_added_function.
        data: l_oref_columns type ref to cl_salv_columns_table,
              l_oref_column  type ref to cl_salv_column_table,
              l_oref_column1 type ref to cl_salv_column,
              l_except1      type ref to cx_salv_not_found,   "Exception
              l_text1        type string,                     "Exception msg
              l_lvc_s_colo type lvc_s_colo.
        case e_salv_function.
          when '<fcode of ur button>'.
        write ur logic here.
       endcase.
      endmethod.
    endclass. "lcl_handler IMPLEMENTATION
    Regards,
    Joy.
    Edited by: Joyjit Ghosh on Jul 13, 2008 12:16 PM

Maybe you are looking for

  • Reversing document through FB08

    Hi, when I am trying to reverse one document the system is giving error. Cost center VSNL/INHQSSUILD blocked against direct postings on 01.12.2007 Message no. KI260 Diagnosis Cost center INHQSSUILD, controlling area VSNL is locked for primary posting

  • Sales volum for extended rebate agreement

    HI All, i made an extended rebate agreement and asales order accordein to this agreement, dleivery and billing then i returned back to the agreement to make settlement but i found this massage (( The sales volume for agreement 131 is not current)) i

  • Problem with adding text area in scroll pane

    hi , i have been facing this funny problem , but cant able to get solution. the problem is i am trying to add text area in scroll pane , but when i add textarea in scroll pane using scrollpane.add(textarea) that text area remain disable always. i tri

  • Flash player installation on iOS 10.8 failed on safari.

    I tried everything all the guidance of both Apple and Adobe with no success, including uninstall Chrome. Unfortunately I really need for professional reasons to use flash player on safari to see some modules unvisible on chrome or firefox. Please can

  • I don't want my iPhone photos in the iCloud

    Good evening Gang, I do not want every picture I take with my iPhone in the "iCloud" and automatically sent to my other devices. Is there a way to stop this madness? Thanks, James