在JQuery Mobile的标题中添加许多按钮 [英] Adding many buttons to header in JQuery Mobile

查看:141
本文介绍了在JQuery Mobile的标题中添加许多按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我们可以在Jquery Mobile App的标题中添加左右按钮.

I know that we can add left and right buttons in a header in Jquery Mobile App.

但是我们可以在标题部分本身中添加更多按钮或控件吗?

But can we any more buttons or controls in the header section itself?

推荐答案

我认为我有一个更好的解决方案,

I think I have a better solution,

<header data-role ="header" data-theme="b"> 
  <h1 class="ui-title" role="heading">Staff</h1>
    <div class="ui-btn-right" data-role="controlgroup" data-type="horizontal">
     <a href="#" data-role="button" data-icon="gear">filter</a>
      <a href="#" data-role="button" data-icon="grid">move</a>
    </div>
</header>

屏幕截图;

这篇关于在JQuery Mobile的标题中添加许多按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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