Skip to main content

Search and Top Navigation

#4048 closed bug (worksforme)

Opened February 02, 2009 09:22PM UTC

Closed February 04, 2009 03:14AM UTC

a links fail to work

Reported by: brucealdridge Owned by:
Priority: major Milestone: 1.7
Component: ui.accordion Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:
Description

Having any a link

inside an accordion fails.

any links inside of the accordion seem to be associated to that accordion, and will close that pane.

http://jsbin.com/uxoga (see pane #2)

Attachments (0)
Change History (2)

Changed February 03, 2009 08:56PM UTC by brucealdridge comment:1

this is a dup of #2158

But..... seems counter-intuitive to have to set the header option just to have links in the accordion.

in the jqueryui docs http://docs.jquery.com/UI/Accordion/accordion#options it says ..

Default: '> li > :first-child,> :not(li):even'

but

in ui.accordion.js

$.extend($.ui.accordion, {
	version: "1.6rc6",
	defaults: {
...
		header: "a",
...
	},

i spose its hard as you don't want to break old installs,

the "default" (according to the docs) doesn't work on mine

<li>
 <a href="#">Link</a>
 <div>
   content
 </div>
</li>

Changed February 04, 2009 03:14AM UTC by scottgonzalez comment:2

milestone: TBD1.6
resolution: → worksforme
status: newclosed

The default was changed to '> li > :first-child,> :not(li):even' after the 1.6rc6 release.