At long last, I figured this out. Im sure there is a way to specify
this in the setup of the accordion, but I was able to make it happen
after the fact. I added this script after my accordion init:
$('ul#accordion ul li a').click(function () {
window.location = $(this).attr("href");
});
Hope this helps someone.
-Adam
On Apr 9, 11:06 am, Adam <[email protected]> wrote:
> I have a simple two-level menu utilizing the accordion and want to
> change from event:mouseover to click as the trigger to open the
> drawers. The problem Im having is that this change converts ALL links
> in the menu, even children, to return:false and all links are
> disabled. I understand that the main level links cannot do 2 things,
> but can re-enable the children links? I investigated the navigation
> option and navigationFilter but cant make sense of it- is this how I
> would configure a filter to re-activate the secondary list links?
> script looks like this currently:
> $('ul#productsNav').accordion({
> fillSpace: false,
> animated: 'easeslide',
> header: 'a.head',
> autoheight: true,
> event: 'click'
>
> }).activate(0);
>
> and markup looks like this:
> <ul id="productsNav">
> <li class="page_item"><a href="radiance-solar-
> screen-shades"
> title="Radiance Solar Screen Shades">Radiance Solar Screen Shades</a>
> <ul>
> <li class="page_item"><a href="hardware"
> title="Hardware">Hardware</
> a></li>
> <li class="page_item"><a href="operator-options"
> title="Operator
> Options">Operator Options</a></li>
> <li class="page_item"><a href="fabric-options" title="Fabric
> Options">Fabric Options</a></li>
> <li class="page_item"><a href="shades-of-green-eco-friendly-
> solutions" title="Shades of Green Eco-friendly Solutions">Shades of
> Green Eco-friendly Solutions</a></li>
> <li class="page_item"><a href="photo-galleries" title="Photo
> Galleries">Photo Galleries</a></li>
> <li class="page_item"><a href="pdf-brochure" title="PDF
> Brochure">PDF
> Brochure</a></li>
> </ul>
> </li>
> <li class="page_item"><a href="radiance-av-blackout-dual-shades"
> title="Radiance AV Blackout & Dual Shades">Radiance AV Blackout
> & Dual Shades</a>
> <ul>
> <li class="page_item"><a href="hardware"
> title="Hardware">Hardware</
> a></li>
> <li class="page_item"><a href="operator-options"
> title="Operator
> Options">Operator Options</a></li>
> <li class="page_item"><a href="fabric-options" title="Fabric
> Options">Fabric Options</a></li>
> <li class="page_item"><a href="shades-of-green-eco-friendly-
> solutions" title="Shades of Green Eco-friendly Solutions">Shades of
> Green Eco-friendly Solutions</a></li>
> <li class="page_item"><a href="photo-galleries" title="Photo
> Galleries">Photo Galleries</a></li>
> <li class="page_item"><a href="pdf-brochure" title="PDF
> Brochure">PDF
> Brochure</a></li>
> </ul>
> </li>
> </ul>
> Could someone take a look and let me know how to tell the accordion
> to
> allow the 2nd level links to follow the link on click?
> Thanks in advance!
> -Adam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---