Dreamweaver CC第6章 移动设备网页.ppt

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
6.1.4 关于jQuery Mobile主题 6.1 使用jQuery Mobile组件 jQuery Mobile提供了从“a”到“e”5种不同的样式主题,每种主题带有不同颜色的按钮、栏、内容块等。jQuery Mobile中的一种主题由多种可见的效果和颜色构成。定制应用程序的外观,可在代码中添加data-theme属性,并为该属性分配一个字母,格式如下: div data-role=page data-theme=a|b|c|d|e ? a:默认,黑色背景上的白色文本。 ? b:蓝色背景上的白色文本/灰色背景上的黑色文本。 ? c:亮灰色背景上的黑色文本。 ? d:白色背景上的黑色文本。 ? e:橙色背景上的黑色文本。 默认情况下,jQuery Mobile为页眉和页脚使用“a”主题,为页眉内容使用“c”主题。用户可根据需要对主题进行混合使用。 主题化的页面、内容和页脚,参考代码如下: div data-role=header data-theme=b/div div data-role=content data-theme=a/div div data-role=footer data-theme=e/div 6.1.4 关于jQuery Mobile主题 6.1 使用jQuery Mobile组件 主题化的对话框,参考代码如下: a href=#pagetwo data-rel=dialogGo To The Themed Dialog Page/a div data-role=page id=pagetwo data-overlay-theme=e div data-role=header data-theme=b/div div data-role=content data-theme=a/div div data-role=footer data-theme=c/div /div 主题化的按钮,参考代码如下: a href=# data-role=button data-theme=aButton/a a href=# data-role=button data-theme=bButton/a a href=# data-role=button data-theme=cButton/a 6.1.4 关于jQuery Mobile主题 6.1 使用jQuery Mobile组件 主题化的图标,参考代码如下: a href=# data-role=button data-icon=plus data-theme=ePlus /a 页眉和页脚中的主题化按钮,参考代码如下: div data-role=header a href=# data-role=button data-icon=home data-theme=bHome /a h1Welcome To My Homepage/h1 a href=# data-role=button data-icon=search data-theme=e Search/a /div 6.1.4 关于jQuery Mobile主题 6.1 使用jQuery Mobile组件 主题化的导航栏,参考代码如下: div data-role=footer a href=# data-role=button data-theme=b data-icon=plusButton1/a a href=# data-role=button data-theme=c data-icon=plus Button2/a a href=# data-role=button data-theme=e data-icon=plus Button3/a /div div data-role=footer data-theme=e h1Insert Footer Text Here/h1 div data-role=navbar ul lia href=# data-icon=home data-theme=bButton 1/a/li lia href=# data-icon=arrow-rButton 2/a/li lia href=# data-icon=arrow-rButton 3/a/li lia href=# data-icon=search data-theme=a Button 4/a /li /ul /div /div 6.1.4 关于jQuery Mobile主题 6.1 使用

文档评论(0)

132****9295 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档