Skip to main content

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 sundar comment:1

typo in keywords: it is 'remote' instead of 'remove'

Changed January 10, 2009 11:23AM UTC by klaus.hartl comment:2

resolution: → invalid
status: newclosed

You need to initialize the

ul
element.

Changed January 10, 2009 11:48AM UTC by klaus.hartl comment:3

resolution: invalid
status: closedreopened

Changed January 10, 2009 12:18PM UTC by klaus.hartl comment:4

resolution: → fixed
status: reopenedclosed

[1579]

Changed January 15, 2009 08:27AM UTC by sundar_reddy 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 scottgonzalez comment:6

milestone: TBD

Milestone TBD deleted