If you actually looked at the result you would see that it is working with
the formatting just messed up.  That site actually places your code at the
end of the DOM.  Just to be sure I updated the code.
http://jsbin.com/efiya

On Sun, Jul 12, 2009 at 7:28 AM, Charlie <[email protected]> wrote:

>  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?
>
>  http://jsbin.com/ocava
>
>  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