#5805 closed enhancement (worksforme)
Custom id for remote tab
Reported by: | ludoo | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.tabs | Version: | 1.8.2 |
Keywords: | hash anchor id | Cc: | |
Blocked by: | Blocking: |
Description
I suggest to add capability to add a custom id for remote tab as well as local content.
So by changing line 135, we can add extra anchor on link.
//var id = self._tabId(a); var id = href.split('#')[1] || self._tabId(a);
Instead getting an always numbered id such ui-tabs-1, i get myCustomId
<li><a href="ajax/content1.html#myCustomId">Tab 1</a></li>
Change History (4)
comment:1 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
What if you still want to use the title tag for a nice title, that gets displayed when you hover over the link but use a custom (ugly looking) anchor with one or multiple id's in it? Is there another way of doing a custom anchor for a remote tab?
comment:3 Changed 12 years ago by
This is being changed in 1.9, see http://forum.jquery.com/topic/tabs-api-redesign
Note: See
TracTickets for help on using
tickets.
You can already do this with the title attribute.