如何在不使用jQuery的HTML中创建手风琴菜单 [英] How to create an accordion menu in HTML without jQuery

查看:77
本文介绍了如何在不使用jQuery的HTML中创建手风琴菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何用纯HTML制作手风琴?

How can I make an accordion in plain HTML?

- <table border="1">
       <tr>
         <th><input name="checkbox" type="checkbox" id="selectall"/></th>
         <th>Multipal Row </th>
         <th>Rating</th>
       </tr>
       <tr>
         <td align="center"><input type="checkbox" class="case" name="case" value="1"/></td>
         <td>First Chek </td>
         <td>1</td>
       </tr>
       <tr>
         <td align="center"><input type="checkbox" class="case" name="case" value="13"/></td>
         <td>Thirty Chek </td>
         <td>13</td>
       </tr>   </table>


推荐答案

我认为您应该看看jQuery UI。

I think you should have a look at jQuery UI.

http://docs.jquery.com/ UI /手风琴

这篇关于如何在不使用jQuery的HTML中创建手风琴菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆