Search and Top Navigation
#3795 closed bug (fixed)
Opened January 09, 2009 02:19PM UTC
Closed January 10, 2009 12:18PM UTC
Last modified October 11, 2012 09:15PM UTC
jQuery ui Tab
Reported by: | sundar | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.tabs | Version: | 1.6rc4 |
Keywords: | remove file loading | Cc: | |
Blocked by: | Blocking: |
Description
there is strange bug in the tab, if the first 'li' refers to remote file. The content coming from the remove file is append outside of the tab (mytabs) div element.
Ex:
<div id="mytabs">
<ul>
<li><a href="sample1.html">Sample1</a></li>
<li><a href="#loc">Sample1</a></li>
<li><a href="sample2.html">Sample2</a></li>
</ul>
<div id="loc">This is local contnet </div>
</div>
<script type="text/javascript">
$j(function() {
$j("#mytabs").tabs();
});
</script>
the content is added after the 'mytabs' div element. due to this the css is not applied properly
and the contents are shown outsize the tab.
if the first tab refers to local div then the contents are added inside mytabs element after
ul element.
ex:
<div id="mytabs">
<ul>
<li><a href="#loc">Sample1</a></li>
<li><a href="sample1.html">Sample1</a></li>
<li><a href="sample2.html">Sample2</a></li>
</ul>
<div id="loc">This is local contnet </div>
</div>
<script type="text/javascript">
$j(function() {
$j("#mytabs").tabs();
});
</script>
Attachments (0)
Change History (6)
Changed January 09, 2009 02:20PM UTC by comment:1
Changed January 10, 2009 11:23AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
You need to initialize the
ulelement.
Changed January 10, 2009 11:48AM UTC by comment:3
resolution: | invalid |
---|---|
status: | closed → reopened |
Changed January 10, 2009 12:18PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | reopened → closed |
[1579]
Changed January 15, 2009 08:27AM UTC by comment:5
Can you pls tell me how to initialize ul element. I am using div element to initialize the tabs, do i have pass any options that initializes ul element ( i could not find info in the doc)
Changed October 11, 2012 09:15PM UTC by comment:6
milestone: | TBD |
---|
Milestone TBD deleted
typo in keywords: it is 'remote' instead of 'remove'