Almost:
jQuery('#list').accordion({
autoheight: false,
alwaysOpen: false
});
Jörn
On Mon, Sep 22, 2008 at 7:30 PM, Jayme Jackson <[EMAIL PROTECTED]> wrote:
>
> this is what i have:
>
> <script type="text/javascript">
> jQuery().ready(function(){
> jQuery('#list').accordion({
> autoheight: false
> });
>
> $(".selector").accordion({
> alwaysOpen: false
> });
>
>
> var accordions = jQuery('#list');
>
> jQuery('#switch select').change(function() {
> accordions.accordion("activate", this.selectedIndex-1
> );
> });
> jQuery('#close').click(function() {
> accordions.accordion("activate", -1);
> });
> });
> </script>
>
>
> On Sep 22, 2008, at 10:00 AM, Jörn Zaefferer wrote:
>
>> Take a look at the available options:
>> http://docs.jquery.com/UI/Accordion/accordion#toptions
>>
>> In this case, set alwaysOpen: false.
>>
>> Jörn
>>
>> On Mon, Sep 22, 2008 at 6:56 PM, Jayme Jackson <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Yes but I'm unsure on what exactly to follow from there..just want a
>>> simple accordion that starts with everything minimized if possible.
>>> On Sep 22, 2008, at 9:51 AM, Jörn Zaefferer wrote:
>>>
>>>>
>>>> Did you take a look at the documentation here?
>>>> http://docs.jquery.com/UI/Accordion
>>>>
>>>> On Mon, Sep 22, 2008 at 6:06 PM, JaymeNYC <[EMAIL PROTECTED]>
>>>> wrote:
>>>>>
>>>>> can any1 help? I know it's something simple.. seems like a
>>>>> javascript
>>>>> step im missing.
>>>>>
>>>>> On Sep 22, 1:21 am, JaymeNYC <[EMAIL PROTECTED]> wrote:
>>>>>> I'm trying to create an accordion similar to the 2nd 1 at the top
>>>>>> herehttp://jquery.bassistance.de/accordion/demo/
>>>>>>
>>>>>> The problem I'm having is I can't find steps on how to achieve
>>>>>> this..
>>>>>> I have loaded the css/javascript files and I also structured the
>>>>>> xhtml/
>>>>>> css similar using the same names. When I put y accordion in the
>>>>>> demo
>>>>>> html file, it works fine but when I have it on my page it doesnt
>>>>>> work.. It seems I'm missing a step that has to do with javascript
>>>>>> because on my page the class "basic" remains the same but in the
>>>>>> demo
>>>>>> file the class "basic" becomes "basic ui-accordion selected" and I
>>>>>> also see "display:none" throughout the page.
>>>>>>
>>>>>> So are there any steps I can follow to make sure I do everything
>>>>>> right?
>>>>>>
>>>>>
>>>>
>>>>>
>>>
>>>
>>>>
>>>
>>
>> >
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---