I installed a jQuery accordion content page to my Drupal7 site, but the height on the drop down fields is not being calculated correctly. Some are too long with lots of white space.

I think that I must put this code

<script>
    $(function() {
        $( "#accordion" ).accordion({
            heightStyle: "content"
        });
    });
    </script>

(http://jqueryui.com/accordion/#no-auto-height)
but I put it and does not work.

Where should I put it?

What can I do?
Thanks.

Comments

=-=

nobody click here