Comments (3)
Hi,
Please take a look at the ultest.png file. The styling of
the first-level li items in the accordion is different from the styling of
the first-level li items without the accordion.
[image: Inline image 2]
I included the source (ultest.html) also.
regards, Felix
On Sun, Nov 11, 2012 at 2:32 PM, Sergey Pimenov [email protected]:
<ul class="accordion" data-role="accordion"> <li class="active"> <a href="#">Frame1</a> <div> <h1>Frame1</h1> <ul> <li>list 1</li> <li>list 2</li> <li>list 3 <ul> <li>list 3.1</li> <li>list 3.2</li> <li>list 3.3</li> </ul> </li> <li>list 4</li> </ul> </div> </li> <li> <a href="#">Frame 2</a> <div> <h1>Frame 2</h1> </div> </li> </ul>
this work correctly !
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/43#issuecomment-10266728.
from metro-ui-css.
Заметил, что если использовать div внутри основного div:
<ul class="accordion" data-role="accordion">
<li>
<a href="#"> TEST1</a>
<div style="overflow: hidden; display: none;">
<div class="input-control select">
<?php echo $form->labelEx($model, 'name_sector'); ?>
<?php echo $form->textField($model, 'name_sector'); ?>
<?php echo $form->error($model, 'name_sector'); ?>
</div>
</div>
</li>
<li>
<a href="#">TEST2 </a>
<div style="overflow: hidden; display: none;">
<div class="input-control select">
<?php echo $form->labelEx($model, 'view_pipeline'); ?>
<?php echo $form->dropDownList($model, 'view_pipeline');?>
<?php echo $form->error($model, 'view_pipeline'); ?>
</div>
</div>
</li>
</ul>
То после раскрытия первого, затем раскрытия второго(происходит автосворачивание первого) и опять раскрытия первого (при этом происходит автоматическое закрытие второго) блока, исчезает содержимое блоков т.к. всем наследникам div приписывается style="overflow: hidden; display: none; . Решил проблему заменой divов на тег p. Тестировалось в Chrome, IE под Win.
from metro-ui-css.
Теперь можно использовать div внутри основного div
Now you can use div in main div
from metro-ui-css.
Related Issues (20)
- Date format in Calendarpicker not working HOT 2
- Reflected xss in Notify.js
- METRO UI Builder minify code does not work
- NavView - Scrolling menu not working in compacted mode on firefox
- Select (Multiple) fired another custom plugin's trigger name "open"
- Validator does not add invalid class to type file
- Calendar showing false day of week for dates when timezone is negative HOT 1
- Table Component Customization HOT 1
- Site https://metroui.org.ua not working searching field
- Não esta funcionando
- dynamic auto complete HOT 1
- Table filters not working! HOT 1
- Table Checkbox sort HOT 3
- color-selector onSelectColor not fired HOT 4
- Date picker data-day="false" errors HOT 7
- Sveltekit with Metro UI v4
- updMessage on chat deletes sender and date of message
- serialize does not fetch checkbox-three-state value
- Calendar dates are off by one day HOT 5
- Nuget Version pdate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metro-ui-css.