How to include a default "expanded" option?
-
Hey all!
Quick question — I have a “roll-your-own” series of highlander triggers that look like:
<div class="first"> <img src="https://pathto/1Button.png" class="collapseomatic noarrow" id="first-id" rel="button-highlander" title="first" /> </div> <div class="second"> <img src="https://pathto/2Button.png" class="collapseomatic noarrow" id="second-id" rel="button-highlander" title="second" /> </div> <div class="third"> <img src="https://pathto/3Button.png" class="collapseomatic noarrow" id="third-id" rel="button-highlander" title="third" /> </div>
The trigger results all live in a separate div and look like:
<div id="target-first-id" class="collapseomatic_content "> <?php echo do_shortcode('[shortcode1 /]'); ?> </div> <div id="target-second-id" class="collapseomatic_content "> <?php echo do_shortcode('[shortcode2 /]'); ?> </div> <div id="target-third-id" class="collapseomatic_content "> <?php echo do_shortcode('[shortcode3 /]'); ?> </div>
Is it possible that, before any buttons are clicked, “target-first-id” can start expanded?
expanded="true"
doesn’t seem to work with roll your own.ALSO, is it possible for this to be set as a “default,” meaning that if I click 2Button twice to “open” and close the trigger it returns to “target-first-id”‘s output?
Thanks in advance for any help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to include a default "expanded" option?’ is closed to new replies.