Skip to content

Instantly share code, notes, and snippets.

@sidharrell
Created June 12, 2013 22:47
Show Gist options
  • Save sidharrell/5769805 to your computer and use it in GitHub Desktop.
Save sidharrell/5769805 to your computer and use it in GitHub Desktop.
EE Multiple CSS Dropdowns
<?php $id_num = rand(); ?>
<div id="lhsHeader<?php echo $id_num; ?>" class="leftBoxHeading_Off" onClick="lhsAction('<?php echo $id_num; ?>',true,'T6_Effective_Behaviour_Change');"><?php echo $button_text ?></div>
<div id="lhsExpander<?php echo $id_num; ?>" class="leftBoxExpander">
<div id="lhsInner<?php echo $id_num; ?>" class="leftBoxInnerPic"> <img src="<?php echo EVENT_ESPRESSO_UPLOAD_URL ?>templates/css-dropdown/images/left-box-inner-img.png" alt="Left image" height="18" width="287" />
<ul>
<?php echo espresso_list_builder($sql, 'css-dropdown/css_dropdown_display.php', '<li>', '</li>'); //Call out the template file ?>
</ul>
</div>
</div>
<div id="lhsFooter<?php echo $id_num; ?>" class="leftBoxFooter_Off" onClick="lhsAction('<?php echo $id_num; ?>',true,'false');"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment