#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: |
Description
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)
Change History (7)
Changed 14 years ago by
Attachment: | ui-tabs-panelId.diff added |
---|
comment:2 Changed 14 years ago by
Milestone: | TBD → 1.8 |
---|
Dunno what problem this is supposed to solve, a better description would help.
comment:3 Changed 14 years ago by
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"> <ul> <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> </ul> </div> <div id="panel">Content should be loaded here.</div> <script type="text/javascript"> $(function() { $("#tabs").tabs({panelId: "panel"}); }); </script>
comment:4 follow-up: 5 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This feature doesn't make sense in the context of tabs.
comment:5 Changed 12 years ago by
Replying to scott.gonzalez:
This feature doesn't make sense in the context of tabs.
Hello
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 ...."
fixed panelId option