jquery accordion active state
Hey Ray
Just wondering if you wouldnt mind helping get this
<div class="container" id="accordion">
<?php
while(!$FAQS->atEnd()) {
?>
<a class="link-button accordionButton" role="button" href="#"><?php echo strip_tags($FAQS->getColumnVal("FaqName")); ?></a>
<p class="paragraph accordionContent"><?php echo strip_tags($FAQS->getColumnVal("FaqContent")); ?></p>
<?php
$FAQS->moveNext();
}
$FAQS->moveFirst(); //return RS to first record
?>
to make the active panel button link to have a background of f0f0f0
I cant figure out how to make it work from the jquery site: https://api.jqueryui.com/accordion/#option-active
TIA
Jamie