Hi,
Try this. Just tested it on my local install and works fine. Make sure the ‘.selector’ is correct, i.e. your opening accordion div tag is <div class=”selector”>
$( ".selector" ).accordion({
collapsible: true
});
Add the code in the Plugin settings page in the accordion text box.
Thanks so much for the help, I got it working!
One other thing I’ve noticed, though, is that even if I don’t set autoHeight to false (and even if I explicitly set it to true), it does not seem to be adjusting the height accordingly…some sections have a scroll bar, while others have a lot of whitespace. Do you know if there’s any way to fix this?
I can’t think of any reason why the autoheight is doing that. One thing I have learnt about using jQuery UI widgets is that the JS code is easier to get right than the CSS!
By the way I am working on an updated version to this Plugin which is basically a complete rewrite. It will be much easier to add jQuery code and, will include support for ALL jQuery UI features shipped with WordPress, not just a select few. 🙂
Hello,
It seems as though I have it right, but it’s not working.
Any suggestions please?
[easyrotator]erc_6_1349983050[/easyrotator]
<div class=”selector”>
<div id=”accordion-1″>
<p>This is tab one.</p>
</div>
<div id=”accordion-2″>
<p>This is tab two.</p>
</div>
<div id=”accordion-3″>
<p>This is tab one.</p>
</div>
</div>
I’m using the collapsible above to crj123082
It’s at http://webreid.com/allodium
Thank you.
Just add valid accordion code and make sure the correct selector is set in Plugin options.