Search and Top Navigation
#5799 closed bug (notabug)
Opened July 06, 2010 12:42PM UTC
Closed October 22, 2010 11:35PM UTC
Last modified October 11, 2012 09:15PM UTC
following an external link to a tab jumps to bottom of page
| Reported by: | netwerk | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ui.tabs | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Following an external link to a later tab jumps to the bottom of the page if the earlier tabs contain a lot of content.
User Fix: A user can manually add classes "ui-tabs" and "ui-tabs-hide" to his mark-up.
<div id="#tabs" class="ui-tabs">
<ul>
<li><a href="#tab-1">Tab-1</a></li>
<li><a href="#tab-2">Tab-2</a></li>
</ul>
<div id="tab-1" class="ui-tabs-hide">... Lots of content ...</div>
<div id="tab-2" class="ui-tabs-hide">... Lots more content ...</div>
</div>
This should be handled by the page, not the tabs plugin.