A critical issue with the navigation-option was recently fixed, but
didn't yet make it into a release: http://dev.jqueryui.com/ticket/4653

In case you have that problem, give the latest revision a try:
http://jquery-ui.googlecode.com/svn/trunk/ui/ui.accordion.js

Jörn

On Tue, Jul 7, 2009 at 10:03 PM, slenzi<[email protected]> wrote:
>
> Thanks, I'll give it a try.
>
> On Jul 7, 12:22 pm, Charlie <[email protected]> wrote:
>> if current page is     "contact.php"   and link in accordion is in accordion 
>> content div, *not* accordion header
>> and  option navigation : 'true' in accordion , the accordion will open the 
>> panel where <a href="contact.php>Contact</a> is located
>> JS
>> $("#accordion").accordion({ navigation: true });
>> HTML
>> <div id="accordion">
>>     <h3><a href="#">Section 1</a></h3>
>>     <div>
>>         Section 1 content
>>     </div>
>>     <h3><a href="#">Section 2</a></h3>
>>     <div>
>>         section 2 content
>>     </div>
>>     <h3><a href="#">Section 3</a></h3>
>>     <div>
>>    <a href="contact.php>Contact</a>
>>     </div>
>> </div>
>> Simple test: save this into a file, change href to match file name and open 
>> in browser
>> slenzi wrote:Does anyone have an example on how to use the accordion 
>> "navigation" option? I'm not sure where to put the anchor tags or what their 
>> values should be.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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