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

  1. #1

    Default Collapsible Lists

    Can someone tell me if there is an easy way of creating collapsible lists in MX? I just need something simple. Thanks.
    veryveryred Guest

  2. Similar Questions and Discussions

    1. Spry Collapsible Panel
      Hi All, When using the spry collapsible panel, how can I add a column on the right side of Tab div, basically dividing the Tab div into two. ...
    2. Creating a Collapsible List
      Need some easy script for creating a collapsible list in HTML. Thanks Mellane Lee
    3. collapsible menu
      hi. i'd like to do a simple test. i want a line of text and a plus sign next to it. you click on the plus sign and it displays content underneath...
    4. collapsible panel?
      anyone done a collapsible panel in VB by inheriting the ASP:panel control I need to create one. A server side collapse would be fine but obviously i...
    5. lists, attaching behaviour dynamiclly, update lists
      Hello, I am trying to get these scripts to work correctly. What I am trying to do is: 1) Look into a folder called 'tank,' then when this is...
  3. #2

    Default Re: Collapsible Lists

    Depends on what you mean by simple. If you know how to code, then it is
    trivially simple. If you don't know how to code, it might be crushingly
    complex.

    Using DW's ChangeProperty behavior, you can change the display style of a
    paragraph from 'none' to 'block'. That will reveal it, *and* push content
    below down to make room. The trick is to unreveal it once it has been
    revealed....

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================


    "veryveryred" <webforumsuser@macromedia.com> wrote in message
    news:e0r9f6$llh$1@forums.macromedia.com...
    > Can someone tell me if there is an easy way of creating collapsible lists
    > in MX? I just need something simple. Thanks.

    Murray *ACE* Guest

  4. #3

    Default Re: Collapsible Lists

    Hi Murray -

    I'm new to DW8, but have been working through all the tutorials. Would you
    mind providing some more details about how to use the ChangeProperty behavior
    to do what you're describing? It would be a big help! -->jh

    Jeffrey M Hall Guest

  5. #4

    Default Re: Collapsible Lists

    Consider this rather weird looking (and invalid) markup -

    <ul>
    <li><a href="#">Expand link</a>
    </li>
    <li>Another link </li>
    </ul>
    <div style="display:none;" id="nested1"><li>Under expand link</li>
    </div>

    When you view that on a page, the list element in the div is not displayed
    by virtue of the display:none. In fact, it's as if that element is not even
    on the page, since it takes up no space.

    Click within "Expand link". Apply a change Property behavior to it with the
    following items -

    Type of object: DIV
    Named object: div "nested1"
    Property: Enter: style.display
    New value: block

    Click OK. Preview and click the link. Works?

    OK, now change this -

    <li><a href="#"
    onclick="MM_changeProp('nested1','','style.display ','block','DIV')">Expand
    link</a></li>
    <li>Another link </li>
    </ul>
    <div style="display:none;" id="nested1"><li>Under expand link</li>
    </div>
    </body>

    to this -

    <li><a href="#"
    onclick="MM_changeProp('nested1','','style.display ','block','UL')">Expand
    link</a>
    <ul style="display:none;" id="nested1">
    <li>Under expand link</li>
    </ul>
    </li>
    <li>Another link </li>
    </ul>
    </body>

    Preview. Bada bing bada boom.

    Can you follow that?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================


    "Jeffrey M Hall" <webforumsuser@macromedia.com> wrote in message
    news:e14pf7$1c$1@forums.macromedia.com...
    > Hi Murray -
    >
    > I'm new to DW8, but have been working through all the tutorials. Would
    > you
    > mind providing some more details about how to use the ChangeProperty
    > behavior
    > to do what you're describing? It would be a big help! -->jh
    >

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