2 Replies Latest reply on Oct 11, 2006 5:34 AM by ggshow

    customize right click menu

    cat14
      Any idea on how to customize right click menu?
      I've seen some site could show the company name.

      Pls advice.
        • 1. Re: customize right click menu
          Level 7


          cat14 wrote:
          > Any idea on how to customize right click menu?
          > I've seen some site could show the company name.
          >
          > Pls advice.

          You can check Help for "ContextMenu" to get details info, meantime
          simple example of getting a link to author's site:

          var my_cm:ContextMenu = new ContextMenu();
          var menuItem_cmi:ContextMenuItem = new ContextMenuItem("Made by Yahoo", onSelection);
          my_cm.customItems.push(menuItem_cmi);
          function onSelection(obj, menuItem) {
          trace("You just selected " + menuItem.caption);
          getURL(" http://www.yahoo.com", "_blank");
          }
          this.menu = my_cm;




          --
          Best Regards

          Urami


          --


          <urami>
          If you want to mail me - DO NOT LAUGH AT MY ADDRESS
          </urami>
          • 2. Re: customize right click menu
            ggshow Level 2
            You can also try contextlinks component in my GG Components pacakge , just install, drag from components panel, & change properties, no script required.

            Download

            Sample