The accordion that is functioning is built-in shortcode within a WP theme. I have regular old anchors on an external page that link to this main page with several terms/definitions inside the accordion. I'd like the anchor tag to not only take the user to the listed term, but also open the accordion panel it's inside of, thus showing the definition.
I tried this unsuccessfully - http://jsfiddle.net/VZ3T5/5/
And now I've moved on to this but can't seem to get it to work either -
<script type="text/javascript">
var anchor = window.location.hash.substring(1);
$('.' + anchor).removeClass('active');
</script>