listview – jquery手机拆分按钮列表上的多个按钮?

有人知道如何在分割按钮列表上添加多个按钮(2个分割按钮)?

文档中没有提到

http://jquerymobile.com/test/docs/lists/lists-split.html

添加一个< a>列表视图中的标签不会创建多个拆分按钮.似乎只是将最后一个链接标记解释为分割,并将以前的链接显示为普通链接/按钮.

有没有办法完成这项任务?

非常感谢.

解决方法

你可以在源代码中找到.
<ul data-role="listview" data-split-icon="gear" data-split-theme="d">
 <li><a href="index.html">
    <img src="images/album-bb.jpg" />
    <h3>broken Bells</h3>
    <p>broken Bells</p>
    </a>
    <a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
    </a>
 </li>
</ul>

要么
使用组按钮

<div data-role="controlgroup" data-type="horizontal" >
   <a href="index.html" data-role="button" data-icon="arrow-u" data-iconpos="notext">Up</a>
   <a href="index.html" data-role="button" data-icon="arrow-d" data-iconpos="notext">Down</a>
   <a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Delete</a>
</div>

参考:http://jquerymobile.com/test/docs/buttons/buttons-grouped.html

相关文章

页面搜索关键词突出 // 页面搜索关键词突出 $(function () {...
jQuery实时显示日期、时间 html: &lt;span id=&quot...
jQuery 添加水印 &lt;script src=&quot;../../../.....
中文:Sys.WebForms.PageRequestManagerParserErrorExceptio...
1. 用Response.Write方法 代码如下: Response.Write(&q...
Jquery实现按钮点击遮罩加载,处理完后恢复 思路: 1.点击按...