Show/Hide Layer not working in nested layers

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Show/Hide Layer not working in nested layers

    I have created a page showing floor plans for multiple homes. There are four
    different homes, each of which has three different floorplan views. A separate
    layer on the page contains a list of text links which, onClick, display a layer
    containing 2-3 other layers. The first nested layer is a series of thumbnails
    with captions which, when clicked, performs show/hide layer behavior to display
    a full-size image of the thumb. The full-size images are stored in separate
    layers within the home plan layer.

    The thumbnail show/hide behaviors work fine. My problem is that the change of
    floorplan show/hide behavior that fails. The generated code looks OK, but the
    only show/hide behavior executed for floor plan change happens to be the last
    one I defined in DW. So, even though the Brianna plan is showing, no matter
    which plan I click after that I get the Janelle plan and it won't switch back.
    The Janelle show/hide behaviors were the last ones defined in DW. I can change
    this if I re-define the behaviors of one of the other plans, that will be the
    only show/hide series executed and all subsequent clicks fail. What's going
    on? I've done this successfully in the past, though certainly not with this
    many images or so many nested layers. Any suggestions? If I swap the images
    in and out of the same layer, I lose the behavior I've set on the thumbs, right?

    I'm using DWMX and the page in question can be found at
    [url]http://66.34.212.180/CMFloorPlans.htm[/url].

    LisaS77 Guest

  2. Similar Questions and Discussions

    1. Show and Hide Layers
      I am using the show and hide layers JS from Dreamweaver. I am using it to have simulated "tabs" on the HTML page, so I have a div set up for Tab1,...
    2. popup menus won't hide - PVII show/hide layers behaviour
      I've used the 'Auto show/hide by PVII" behaviour to create some popup menus for the navigation which make use of divs which appear and disappear....
    3. show/hide layers
      I've got two layers. The first layer is always visible. The second layer is only visible when you click on the first layer. How do I hide the...
    4. Hide/show layers
      hi, i have a form and in this form i have multiple <div> and each <div> i have table. i show and hide according to the events attached to the...
    5. show-hide layer trouble
      I can't figure out why show hide is not working, or rather, working selectively. On my page I have 5 images that trigger an onclick hide layer...
  3. #2

    Default Re: Show/Hide Layer not working in nested layers

    This topic can be closed. Turns out I had assigned the show/hide behavior (the
    last one I defined) to the layer itself by accident. Assigning the behavior
    correctly turned out to be a tricky procedure since it took me several tries of
    selecting the text to actually set the behavior to the text I selected (somehow
    DW messes this up and selects the layer instead more than half the time no
    matter how careful I am).

    LisaS77 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