Opened 10 years ago

Last modified 10 years ago

#8140 closed bug

nested accordion is oversized — at Initial Version

Reported by: rp Owned by:
Priority: major Milestone: 1.9.0
Component: ui.accordion Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:

Description

I've searched the tickets database for "nested accordion" tickets, but none of what I've found looks like relevant (for my novice eye) to this one.

The following code contains STYLE="WIDTH:AUTO" within the DIV segment of the INTERNAL accordion. Without it, the nested-internal accordion does not fit the container.

May be that style adjustment should be added to the provided themes?

BTW: the accordion of table content does not look too great. But tables are not supposed to be folded up?

<script src="/js/jquery-1.7.1.min.js"></script>
<script src="/js/jquery-ui-1.8.17.custom.min.js"></script>
<script type="text/javascript">
        $(function() {
                $( ".internal" ).accordion();
                $( ".external" ).accordion();
                $( ".tabami" ).tabs();
                $( ".internal h4" ).css('padding-left', '20px');
                $( ".external h1" ).css('padding-left', '20px');
        });
</script>

<link rel="stylesheet" type="text/css" href="/css/smoothness/jquery-ui-1.8.17.custom.css" />

<div class="external">
<h1>2011</h1>
<table class="internal">
<thead>
<tr><th colspan="5">Mieszanka</th></tr>
</thead><tbody id="tb0" >
</tbody>
</table>

<h1>2012</h1>

<div class="internal" style="width:auto">
 <h4>Pierwszy</h4> <div id="11">
 Pierwszy nieziemskie obrazek nacierski
 </div> <h4>Drugi</h4> <div id="12">
 Ala ma kota a kot ma ale
 </div> <h4>Czeci</h4> <div id="13">
 Wlaz kotel na plotek i mruga
 </div> <h4>Warty</h4> <div id="14">
 A to heca do pieca
 </div> <h4>Piaty</h4> <div id="15">
 makaroniarstwo
 </div>
</div>

</div>

Change History (0)

Note: See TracTickets for help on using tickets.