Support » Plugin: Collapse-O-Matic » Make only the arrow expand content

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Baden

    (@baden03)

    You will need to roll-your-own like so:

    <span class="collapseomatic" id="textfree"></span><a href="http://plugins.twinpictures.de/" target="_blank">This is a link</a>
    <div id="target-textfree" class="collapseomatic_content">This is some content</div>

    Demo: http://spacedonkey.de/570/collapse-o-matic-arrow-only-trigger-test/

    Please let us know if this gets you pointed in the right direction.

    Hi Baden,

    That’s exactly what I need! Sorry I couldn’t figure it out from your excellent documentation. Thanks for the example to get me going, it’s working nicely on our site.

    Tobias

    How can you do nesting with this method?

    Plugin Author Baden

    (@baden03)

    Something like:

    <span class="collapseomatic" id="textfree"></span><a href="http://plugins.twinpictures.de/" target="_blank">This is a link</a>
    <div id="target-textfree" class="collapseomatic_content">This is some content with
    <span class="collapseomatic" id="nested1"></span><a href="http://plugins.twinpictures.de/" target="_blank">a nested link</a>
    <div id="target-nested1" class="collapseomatic_content">This is some nested content</div>
    </div>

    Should work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make only the arrow expand content’ is closed to new replies.