Opened 13 years ago

Closed 12 years ago

Last modified 10 years ago

#4607 closed enhancement (wontfix)

Fixed panelId for ui.tabs

Reported by: makeable Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


It is beneficial to allow a fixed target panel for tabs when loading content via ajax. The attached patched utilises an additional option (panelId) to use as the target panel.

Attachments (1)

ui-tabs-panelId.diff (720 bytes) - added by makeable 13 years ago.
fixed panelId option

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by makeable

Attachment: ui-tabs-panelId.diff added

fixed panelId option

comment:1 Changed 13 years ago by makeable


$(function() {

$("#tabs").tabs({panelId: "panel_id"});


comment:2 Changed 13 years ago by Jörn Zaefferer

Milestone: TBD1.8

Dunno what problem this is supposed to solve, a better description would help.

comment:3 Changed 13 years ago by makeable

This will solve the case of having a dedicated panel that is in away from the tabs, and retain the usage of distinct title attributes:

<div id="tabs">
    <li><a href="link1.html" title="Go to Link 1"><span>Link 1</span></a></li>
    <li><a href="link2.html" title="Go to Link 2"><span>Link 2</span></a></li>
    <li><a href="link3.html" title="Go to Link 3"><span>Link 3</span></a></li>
    <li><a href="link4.html" title="Go to Link 4"><span>Link 4</span></a></li>

<div id="panel">Content should be loaded here.</div>

<script type="text/javascript">
$(function() {

$("#tabs").tabs({panelId: "panel"});


comment:4 Changed 12 years ago by Scott González

Resolution: wontfix
Status: newclosed

This feature doesn't make sense in the context of tabs.

comment:5 in reply to:  4 Changed 11 years ago by zomar76

Replying to scott.gonzalez:

This feature doesn't make sense in the context of tabs.


In AJAX context it has sense.

This would solve problem of displaying tip text from title attr.

I do not want to use title attr at all.

If i use title attr user will see e.g.: 'panel_123_id' when he mouseover over tab with text e.g: "List of ...."

comment:6 Changed 10 years ago by Scott González

As of 1.9, tabs no longer uses the title attribute.

Note: See TracTickets for help on using tickets.