122 lines
5.9 KiB
HTML
122 lines
5.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<title>Heading</title>
|
|
<link href="../themes/custom/custom.css" rel="stylesheet">
|
|
|
|
<script type="text/javascript" src="../../../dojo/dojo.js" djConfig="parseOnLoad: true"></script>
|
|
|
|
<script language="JavaScript" type="text/javascript">
|
|
dojo.require("dojox.mobile"); // This is a mobile app.
|
|
dojo.require("dojox.mobile.parser"); // This mobile app supports running on desktop browsers
|
|
dojo.require("dojox.mobile.compat"); // This mobile app uses declarative programming with fast mobile parser
|
|
dojo.require("dojox.mobile.TabBar");
|
|
dojo.ready(function(){
|
|
var btn1 = dijit.byId("btn1");
|
|
btn1.connect(btn1.domNode, "onclick", function(){
|
|
console.log(this.label + " button was clicked");
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body style="visibility:hidden;">
|
|
<div id="general" dojoType="dojox.mobile.View" selected="true">
|
|
<h1 dojoType="dojox.mobile.Heading" back="Settings" moveTo="settings">General</h1>
|
|
<h1 dojoType="dojox.mobile.Heading" back="Long Button" moveTo="settings">Very Very Long Title May Not Be Displayed in the Narrow Space - Very Very Long Title May Not Be Displayed in the Narrow Space</h1>
|
|
</div>
|
|
|
|
<h3>Heading with buttons</h3>
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" label="World Clock">
|
|
<div id="btn1" dojoType="dojox.mobile.ToolBarButton" style="padding: 0px 14px;float:left">Edit</div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" style="float:right;" onclick="console.log('+ was clicked')"></div>
|
|
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading">
|
|
<div dojoType="dojox.mobile.ToolBarButton" style="padding: 0px 14px;float:left;">Edit</div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" style="float:right;"></div>
|
|
Alarm Clock
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" label="Voice Memos">
|
|
<div dojoType="dojox.mobile.ToolBarButton" label="Speaker" style="float:left"></div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue" style="width:45px;float:right;"></div>
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" label="Updates">
|
|
<div dojoType="dojox.mobile.ToolBarButton" label="Update All" style="float:right;"></div>
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" label="News" back="Bookmarks" moveTo="bookmarks">
|
|
<div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue" style="width:45px;float:right;"></div>
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading">
|
|
<div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue"></div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" label="New Folder" style="float:right;"></div>
|
|
</h1><br>
|
|
|
|
|
|
<div dojoType="dojox.mobile.Heading">
|
|
<div dojoType="dojox.mobile.ToolBarButton" toggle="true">New</div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" toggle="true">Toggle</div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="images/tab-icon-18h.png" moveTo="view3" style="padding:0 10px"></div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="images/tab-icons.png" iconPos="29,0,29,29" moveTo="view3" style="padding:0 10px"></div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" moveTo="view3" style="float:right;"></div>
|
|
</div><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading">
|
|
<ul dojoType="dojox.mobile.TabBar" barType="segmentedControl" style="float:left;margin-left:6px;">
|
|
<li dojoType="dojox.mobile.TabBarButton" style="width:80px" selected="true">Catalog</li>
|
|
<li dojoType="dojox.mobile.TabBarButton" style="width:80px">Share</li>
|
|
<li dojoType="dojox.mobile.TabBarButton" style="width:80px">Download</li>
|
|
</ul>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteSearch" style="float:right;"></div>
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" align="center">
|
|
<table cellpadding="0" cellspacing="0" style="width:100%;"><tr>
|
|
<td><div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus"></div></td>
|
|
<td align="center"><div dojoType="dojox.mobile.TabBar" barType="segmentedControl" style="margin:auto;">
|
|
<div dojoType="dojox.mobile.TabBarButton" selected="true" style="width:80px">Search</div>
|
|
<div dojoType="dojox.mobile.TabBarButton" style="width:80px">Directions</div>
|
|
</div></td>
|
|
<td align="right"><div dojoType="dojox.mobile.ToolBarButton" icon="images/tab-icon-15h.png" style="float:right;"></div></td>
|
|
</tr></table>
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" back="Inbox" label="1 of 10">
|
|
<ul dojoType="dojox.mobile.TabBar" barType="segmentedControl" style="float:right;margin-right:6px;">
|
|
<li dojoType="dojox.mobile.TabBarButton" icon="mblDomButtonWhiteUpArrow" selectOne="false"></li>
|
|
<li dojoType="dojox.mobile.TabBarButton" icon="mblDomButtonWhiteDownArrow" selectOne="false"></li>
|
|
</ul>
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" back="Top" label="Inbox(32)">
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteSearch" style="float:right;"></div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteUpArrow" style="float:right;"></div>
|
|
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteDownArrow" style="float:right;"></div>
|
|
</h1><br>
|
|
|
|
|
|
<h1 dojoType="dojox.mobile.Heading" back="Inbox" label="1 of 10">
|
|
<ul dojoType="dojox.mobile.TabBar" barType="segmentedControl" style="float:right;margin-right:6px;">
|
|
<li dojoType="dojox.mobile.TabBarButton" icon="mblDomButtonWhiteUpArrow" selectOne="false"></li>
|
|
<li dojoType="dojox.mobile.TabBarButton" icon="mblDomButtonWhiteSearch" selectOne="false"></li>
|
|
</ul>
|
|
</h1><br>
|
|
</body>
|
|
</html>
|