you aren't using $(document).ready

it's not working because function can fire before the elements are available....end result....Nothing


Nathan Maves wrote:
Base on the docs at http://jqueryui.com/demos/accordion/

why does the following not work?


I am also seeing conflicting code on the examples page.  Where the header parameter is not given yet the following works..

<div id="accordion">
<h3><a href="">Section 1</a></h3>
<div>
<p>
Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
</p>
</div>
</div>

What is the real format to use with the accordion plugin.

nathan




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to