【发布时间】:2019-08-29 17:48:38
【问题描述】:
所以我正在重构和重新设计一个旧应用程序,我有多个下拉菜单,其中包含供人们输入的数据,我希望有一个按钮,当点击时滚动到下一个并打开它只是为了更容易通过表格。
我的 html 代码如下所示:
<?php foreach loop that adds more dropdowns when entered in through a modal when they click new?>
<button class="tEntry-collapsible-btn tsHeader-collapsible-btn waves-effect"
id="testing"
type="button"
style="background-color: sienna !important;"></button>
<div class="tEntry-collapsible-row>
<div class="tTable-row">
//content to dropdown
</div>
</div>
....usually around 10-15 dropdown menus with the collapsible btn
<?php loop++ ?>
我添加了一张照片以供参考,下拉按钮颜色协调,我在底部添加了一个下一个按钮(最小样式),截至目前,当单击按钮时它会下降,但我也想要一个单击该按钮时,我想会聚焦下一个按钮,然后将其打开,以便在向下浏览页面时获得更流畅的体验。
【问题讨论】:
标签: php jquery html mobile-website