有没有一种方法可以使用标题标签以外的其他内容来指示jQuery Mobile可折叠块中的标题? [英] Is there a way to use something other than a header tag to indicate a header in jQuery Mobile collapsible block?

查看:39
本文介绍了有没有一种方法可以使用标题标签以外的其他内容来指示jQuery Mobile可折叠块中的标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在标记了div后,根据文档对于data-role ="collapsible",需要有一个标头标记(h1-h6),以便jQuery Mobile将其转换为可折叠块的标头.

According to the documentation, after marking a div with data-role="collapsible" there needs to be a header tag (h1 - h6) so that jQuery Mobile will turn it into the header of the collapsible block.

我的问题是,还有其他指示标题的方法吗?像这样:data-role ="collapsible-header"?

My question is, is there other way to indicate the header? Something like: data-role="collapsible-header"?

推荐答案

尝试使用图例而不是h#

Try using a legend rather than h#

这篇关于有没有一种方法可以使用标题标签以外的其他内容来指示jQuery Mobile可折叠块中的标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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