Layers and behaviors

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

  1. #1

    Default Layers and behaviors

    I have an image which, when a user does a mouseover on that image, I want
    another image to appear next to the first image (and on top of another image).
    Think of it as a fly-out navigation menu, but for various reasons, I cannot use
    ProjectVII because my navigation images are not all alike. I have DW8. I do not
    have Fireworks and am not willing to get it as I have plenty other graphics
    editing software. Here's what I'm doing ... please tell me where I'm going
    wrong.

    I create layer MAIN and insert image A into that layer.

    Just to the right of layer MAIN I create layer FLYOUT and insert image B into
    that layer.

    I select image A and open the Behaviors panel. I want to set an "on mouse
    over" behavior -- but this behaviors list contains "<A> onMouseOver" and also
    "onMouseOver" -- not sure why there are 2, but I hilite the latter, then click
    the "+" in order to select "Show/Hide Layers"

    I proceed to tell it to Show layer MAIN and Show layer FLYOUT

    Then I select image A again and set "onMouseOut" to Show layer MAIN and Hide
    layer FLYOUT

    When I view the results in my browser (IE 6), the layers show up in a
    different place than where I put them and mouseover does nothing. mouse click,
    however, does make FLYOUT appear but then it doesn't hide.

    I am tearing my hair out. I am a former NetObjects Fusion user -- it's so easy
    to do there!! What am I doing wrong here?? Can you point me to a good tutorial?
    I don't want to write my own JS code!!

    Thanks, in advance, for any help you can provide!


    katpiper Guest

  2. Similar Questions and Discussions

    1. AP Div and Behaviors
      Does any one know the first version of Dreamweaver to allow Behaviors to be attached to AP Divs? I know that version DW 2 didn't.
    2. Server behaviors which require other server behaviors
      I have a server behavior which initializes my CMS, and it is required by all the other server behaviors I've created for the CMS. I can use...
    3. Adding Behaviors to Hhidden Layers
      Can somesomw one please tell me how to add a puss to a behavior. What i want to do is smilar to what dodge did for there website....
    4. Fill layers vs Pixel layers
      What is the difference between a fill layer and a pixel layer that contains a flat color? (Beside the capacity to paint different colors into the...
    5. FreeHand Layers to Acrobat Layers
      Hi, I have noticed that in Acrobat 6 that you can have layered documents and I 'm wanting to know if there is a way to create a layered PDF from a...
  3. #2

    Default Re: Layers and behaviors

    Nevermind -- I figured out what I'm doing wrong -- for some strange reason,
    when I click onMouseOver and then click + to select Show/Hide Layers, the
    behavior gets attached to onClick instead of onMouseOver. I then have to go
    back and select onMouseOver . This seems to be a weakness in the design of the
    application, don't you think? Anyway, I'm now creating fly-outs. Can't believe
    this isn't explained better.

    katpiper 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