"Open in new tab" menu when a link is right-clicked?

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default "Open in new tab" menu when a link is right-clicked?

    Is there any way in Flex 2 to make a link shows a contextual menu (when it's
    right-clicked) that shows "Open in new tab" ? la Firefox (and probably in IE7)?

    I think such function is vital for the success of Flex 2.

    Any one out there who knows how to do it?


    zakoops Guest

  2. Similar Questions and Discussions

    1. what is the "utility link" and "global link" supposed tobe for?
      I'm using a halo template to create a personal website for myself, and at the top of the page, there's options for "utility link" and "global link"...
    2. Order in the "open" menu ...
      When i open the "Open" menu (ctrl+o) the files and folders are not listed completely alphabetical. It looks like it's alphabetical, but it's not....
    3. "Open with" Menu Full of JUNK!
      Can anyone tell me how I can get rid of all the junk Photoshop added to my "Open With" menu? I've done a search for some of the items listed and they...
    4. "Open With" Menu selection doesn't execute...
      I haven't needed "open with" via shift+right click in a while so I'm not sure how long it's been like this... Whether I SHIFT+RIGHT CLICK or just...
    5. "Start" "Program" "Menu" list is empty
      For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your...
  3. #2

    Default Re: "Open in new tab" menu when a link is right-clicked?

    You could try flash.ui.ContextMenu, that is, if you know how to open a link in
    a new tab using javascript, you could hook that code to your custom "Open in
    new tab" option in the flash context menu.

    (Disclaimer: I don't know if it is possible to open the link in a tab)

    prdv Guest

  4. #3

    Default Re: "Open in new tab" menu when a link is right-clicked?

    To insure success for the Flex 2 platform (i.e. to reduce ranting levels about
    Flash on Slashdot forums and to calm gurus of xhtml and css), Adobe must get
    into the act in providing a mechanism that makes such a link obviously simple.

    I mean, we should not use any kludge or use any esoteric programming to
    activate such behavior. Something as simple as ? Open in new tab ? check box in
    the properties windows for an html link.

    Thanks nevertheless for the information!




    zakoops Guest

  5. #4

    Default Re: "Open in new tab" menu when a link is right-clicked?

    Unfortunately, I don't think Mozilla/Firefox provides any way to let us do
    this programmatically; the only way for it to happen is for a user to do it
    himself, e.g. by ctrl-clicking a regular HTML <A> link. (I haven't checked on
    whether IE 7 provides a way.) If you look at
    [url]http://developer.mozilla.org/en/docs/DOM:window.open[/url] , there is this Q&A:

    -- begin quote --

    Q: How do I open a referenced resource of a link in a new tab? or in a
    specific tab?

    A: Currently, you can not. Only the user can set his advanced preferences to
    do that. K-meleon 0.9, a Mozilla-based browser, gives complete control and
    power to the user regarding how links are opened. Some advanced extensions
    also give Mozilla and Firefox a lot of power over how referenced resources are
    loaded.

    In a few years, the target property of the CSS3 hyperlink module may be
    implemented (if CSS3 Hyperlink module as it is right now is approved). And
    even if and when this happens, you can expect developers of browsers with
    tab-browsing to give the user entire veto power and full control over how
    links can open web pages. How to open a link should always be entirely under
    the control of the user.

    -- end quote --


    --
    Mike Morearty
    Developer, Flex Builder team
    [url]http://www.morearty.com/blog[/url]
    Mike Morearty (Adobe) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139