Multiple popup menus and imagemaps?

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Multiple popup menus and imagemaps?

    Is it possible to define multiple imagemapped areas of an image with a popup
    menu attached to each area?

    So far it appears not, but it seems like one should be able to!

    Here's my source (working in Dreamweaver):
    <img src="../images/WWAMI-AK.jpg" alt="alttext" name="image1" width="290"
    height="239" border="0" usemap="#anchorlink" id="image1">
    <map name="Tanana" id="Tanana">
    <area shape="rect" coords="111,80,158,97" href="#Tananalink"
    alt="TananaAltText"
    onMouseOver="MM_showMenu(window.mm_menu_1216093944 _0,160,97,null,'image1')"
    onMouseOut="MM_startTimeout();">
    </map>

    When I go to map another area, it gets put within the map tags. Ok, but when I
    try to add another popup menu, either the same menu gets attached to each
    imagemap, or it stops working entirely.

    I have noticed as well that Dreamweaver's implementation of behaviors seems
    funky. The "insert popupmenu" option under behaviors is grayed out while
    working in the document I'm trying to do this with, and I had to copy and past
    from a blank document to get it to work at all in the first place.

    I'm sure this is something basic that I'm missing!
    (like for instance what is the long string of numbers in the onMouseOver
    statement.

    If it helps, all I'm trying to do is I have a map of various states, to which
    I want to define image maps over various locations within those states. I'd
    like a mouseover of any of the specific locations to create a popupmenu of
    various items associated with that location.

    e.g. - cities on a map; hover over a city and see a list of places within that
    city.

    I can get this to work with just one city, but not with more - urg!

    patrik Guest

  2. Similar Questions and Discussions

    1. DW Popup menus and FireFox
      I've created a menu using DW's popup menu behavior and have it in a Layer, indexed above another layer that contains a Flash movie. This works...
    2. Popup Menus
      Hello, I am just starting to make popup menus with FW4. Is it the case that the popped menu will only appear relative to the "container" whether...
    3. Transparent BG in DW popup menus?
      Hi, Using MX04 Does anyone know how to get a transparent bg? I messed with the "this.menuBgOpaque=opq;" in the .js file. It looks like the one but a...
    4. Fireworks PopUp Menus Help Please
      I am very very new to fireworks. I have a problem when we export menus to html file. I can see the menu when i rollover near the menu. How can i...
    5. help with popup menus.
      i've created a rectangle with a textbox in it. and i've inserted a slice. and i've also added a popup menu. but when i export it to dreamweaver...
  3. #2

    Default Re: Multiple popup menus and imagemaps?

    It is possible but not with those menus! Do you know what lurks there?

    [url]http://apptools.com/rants/jsmenu.php[/url]
    [url]http://apptools.com/rants/menus.php[/url]


    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "patrik" <webforumsuser@macromedia.com> wrote in message
    news:dnvd37$qjg$1@forums.macromedia.com...
    > Is it possible to define multiple imagemapped areas of an image with a
    > popup
    > menu attached to each area?
    >
    > So far it appears not, but it seems like one should be able to!
    >
    > Here's my source (working in Dreamweaver):
    > <img src="../images/WWAMI-AK.jpg" alt="alttext" name="image1" width="290"
    > height="239" border="0" usemap="#anchorlink" id="image1">
    > <map name="Tanana" id="Tanana">
    > <area shape="rect" coords="111,80,158,97" href="#Tananalink"
    > alt="TananaAltText"
    > onMouseOver="MM_showMenu(window.mm_menu_1216093944 _0,160,97,null,'image1')"
    > onMouseOut="MM_startTimeout();">
    > </map>
    >
    > When I go to map another area, it gets put within the map tags. Ok, but
    > when I
    > try to add another popup menu, either the same menu gets attached to each
    > imagemap, or it stops working entirely.
    >
    > I have noticed as well that Dreamweaver's implementation of behaviors
    > seems
    > funky. The "insert popupmenu" option under behaviors is grayed out while
    > working in the document I'm trying to do this with, and I had to copy and
    > past
    > from a blank document to get it to work at all in the first place.
    >
    > I'm sure this is something basic that I'm missing!
    > (like for instance what is the long string of numbers in the onMouseOver
    > statement.
    >
    > If it helps, all I'm trying to do is I have a map of various states, to
    > which
    > I want to define image maps over various locations within those states.
    > I'd
    > like a mouseover of any of the specific locations to create a popupmenu of
    > various items associated with that location.
    >
    > e.g. - cities on a map; hover over a city and see a list of places within
    > that
    > city.
    >
    > I can get this to work with just one city, but not with more - urg!
    >

    Murray *TMM* 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