Skip to main content

Search and Top Navigation

#5997 closed enhancement (wontfix)

Opened August 26, 2010 07:02PM UTC

Closed August 26, 2010 07:31PM UTC

Last modified October 11, 2012 09:15PM UTC

It should be possible to use tabs without the fragment identifiers

Reported by: rs Owned by:
Priority: minor Milestone:
Component: ui.tabs Version: 1.8.4
Keywords: Cc:
Blocked by: Blocking:
Description

If I add all tabs programmatically, jQuery UI could store the association tab-to-content in a data()-call or similar instead of relying on string-matching of the href to the id-attribute.

IDs should only be assigned once in the entire DOM structure and if you’re trying to create a rich UI in JavaScript, you might not have control over each and every tabs widget on the page so you try to avoid id attributes as best as possible. It would be nice if jQuery UI would let you.

Attachments (0)
Change History (3)

Changed August 26, 2010 07:31PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed
type: bugenhancement

Creating unique ids is pretty simple and adding this support would complicate the API.

Changed September 14, 2010 12:08PM UTC by rs comment:2

Littering single-purpose generated unique IDs all over a document is not really my idea of a clean structure. I’d think the logical approach to this would be the other way around: tightly bind the tab and its panel together using data() and only use the fragment identifier in the beginning when creating the tabs from existing nodes.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted