It's definitely an edge case. It is identical markup that was working with the jQuery 1.5 tabs widget and broke after upgrading to 1.6rc5. I pasted it straight from my trimmed-down test page. If it helps, here is the doctype from the page, it should be rendering in standards mode:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:// www.w3.org/TR/html4/loose.dtd"> On Jan 27, 4:10 am, Klaus Hartl <[email protected]> wrote: > I never experienced that issue. Did you make sure you're working with > valid HTML (even though the example looks ok)? > > --Klaus > > On 26 Jan., 22:57, sunetos <[email protected]> wrote: > > > I have a weird situation where a call to .tabs is only tabifying the > > first one. I tracked it down in the source to be the following query > > in the _tabify function: > > > this.$lis = $('li:has(a[href])', this.list); > > > It is only returning the first "li" element even though there are 3. > > If I change it to the following, it works: > > > this.$lis = this.list.children('li:has(a[href])'); > > > Here is the markup that was failing: > > > <div id="profileEdit"> > > <ul> > > <li><a href="#tabProfile"><span>Profile Information</span></a></ > > li> > > <li><a href="#tabPassword"><span>Password Change</span></a></li> > > <li><a href="#tabAccount"><span>Account Information</span></a></ > > li> > > </ul> > > > <div id="tabProfile"></div> > > <div id="tabPassword"></div> > > <div id="tabAccount"></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 -~----------~----~----~----~------~----~------~--~---
