• Resolved dalton.roach

    (@daltonroach-1)


    Is it possible to use the swaptitle element with the roll your own method? I have not seen anything in the documentation showing how this can be accomplished. I need to do it this way because I am creating a form using another plugin that will not recognize the shortcodes for Collapse-o-matic.

    Link can be found here: http://www.audioenhancement.com/rma-request-form/

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

    (@baden03)

    yes, here is an example of how to do this:

    <span class="collapseomatic  colomat-visited" id="your_id" title="On">On</span>
    <span id="swap-your_id" title="Turn off the lights!" class="colomat-swap" style="display:none;">Off</span>
    <div id="target-your_id" class="collapseomatic_content >The light is bright. Oh so very bright.</div>

    the key: use swap-your_id as the swap element’s id value.

    Thread Starter dalton.roach

    (@daltonroach-1)

    Thank you very much, this worked beautifully 🙂

    Plugin Author Baden

    (@baden03)

    Glad you got it working. Issue marked as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using swaptitle with a Roll-Your-Own element’ is closed to new replies.