Hey Gary,
Take a look at http://ui.jquery.com/repository/real-world/accordion-drawers/
It sets the header to 'h2.drawer-handle' but you could just as easily
set it to an <a> with a class name or any other element you want.
-- Nate
On Tue, Sep 30, 2008 at 9:26 AM, gedmonstone <[EMAIL PROTECTED]> wrote:
>
> Hi Ulfk,
>
> I think I am trying to do something similar. I have a link inside my
> accordion box that basically links to an external site. However, when
> I click this link, it simply collapses the open tab in the accordion
> box. I have tried your suggestion, but not sure if I am understanding
> it correctly. Can yousend me a link to the demo page where you found
> the example?
>
> Thanks
>
> Gary
>
> On Sep 25, 1:30 am, ulfk <[EMAIL PROTECTED]> wrote:
>> Thanks. I used the 2nd example on the demo page:
>>
>> jQuery('#navigation').accordion({
>> header: '.head',
>> });
>>
>> and
>>
>> <div id="navigation">
>> <a class="head">There is one obvious advantage:</a>
>>
>> <div>
>> <p>
>> <a href="http://google.com">You've seen it coming!</
>> a><br/>
>> Buy now and get nothing for free!<br/>
>> Well, at least no free beer. Perhaps a bear,<br/>
>> if you can afford it.
>> </p>
>> </div>
>>
>> <p></p>
>>
>> <a class="head">Now that you've got...</a>
>> <div>
>> <p>
>> your bear, you have to admit it!<br/>
>> No, we aren't selling bears.
>> </p>
>> </div>
>> </div>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---