| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/> |
| 5 |
<meta name="apple-mobile-web-app-capable" content="yes" /> |
| 6 |
<title>ToolBarButton</title> |
| 7 |
<link href="../../../themes/iphone/base.css" rel="stylesheet"/> |
| 8 |
<link href="../../../themes/iphone/TabBar.css" rel="stylesheet"/> |
| 9 |
<link href="../../../themes/common/domButtons.css" rel="stylesheet"/> |
| 10 |
|
| 11 |
<script type="text/javascript" src="../../../../../dojo/dojo.js" data-dojo-config="parseOnLoad: true"></script> |
| 12 |
|
| 13 |
<script language="JavaScript" type="text/javascript"> |
| 14 |
//dojo.require("dojo.parser"); // Use the lightweight parser. |
| 15 |
dojo.require("dojox.mobile.parser"); |
| 16 |
dojo.require("dojox.mobile"); |
| 17 |
dojo.require("dojox.mobile.TabBar"); |
| 18 |
dojo.requireIf(!dojo.isWebKit, "dojox.mobile.compat"); |
| 19 |
|
| 20 |
dojo.require("doh.runner"); |
| 21 |
</script> |
| 22 |
<script type="text/javascript" src="../TestUtil.js"></script> |
| 23 |
<script type="text/javascript" src="ToolBarButton.js"></script> |
| 24 |
</head> |
| 25 |
<body> |
| 26 |
<h1 dojoType="dojox.mobile.Heading" label="World Clock"> |
| 27 |
<div id="btn1" dojoType="dojox.mobile.ToolBarButton" style="padding: 0px 14px">Edit</div> |
| 28 |
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" style="float:right;" onclick="console.log('+ was clicked')"></div> |
| 29 |
|
| 30 |
</h1><br> |
| 31 |
|
| 32 |
|
| 33 |
<h1 dojoType="dojox.mobile.Heading"> |
| 34 |
<div dojoType="dojox.mobile.ToolBarButton" style="padding: 0px 14px">Edit</div> |
| 35 |
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" style="float:right;"></div> |
| 36 |
Alarm Clock |
| 37 |
</h1><br> |
| 38 |
|
| 39 |
|
| 40 |
<h1 dojoType="dojox.mobile.Heading" label="Voice Memos"> |
| 41 |
<div dojoType="dojox.mobile.ToolBarButton" label="Speaker"></div> |
| 42 |
<div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue" style="float:right;"></div> |
| 43 |
</h1><br> |
| 44 |
|
| 45 |
|
| 46 |
<h1 dojoType="dojox.mobile.Heading" label="Updates"> |
| 47 |
<div dojoType="dojox.mobile.ToolBarButton" label="Update All" style="float:right;"></div> |
| 48 |
</h1><br> |
| 49 |
|
| 50 |
|
| 51 |
<h1 dojoType="dojox.mobile.Heading" label="News" back="Bookmarks" moveTo="bookmarks"> |
| 52 |
<div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue" style="float:right;"></div> |
| 53 |
</h1><br> |
| 54 |
|
| 55 |
|
| 56 |
<h1 dojoType="dojox.mobile.Heading"> |
| 57 |
<div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue"></div> |
| 58 |
<div dojoType="dojox.mobile.ToolBarButton" label="New Folder" style="float:right;"></div> |
| 59 |
</h1><br> |
| 60 |
|
| 61 |
|
| 62 |
<div dojoType="dojox.mobile.Heading"> |
| 63 |
<div dojoType="dojox.mobile.ToolBarButton" toggle="true">New</div> |
| 64 |
<div dojoType="dojox.mobile.ToolBarButton" toggle="true">Toggle</div> |
| 65 |
<div dojoType="dojox.mobile.ToolBarButton" icon="../../images/a-icon-12.png" moveTo="view3"></div> |
| 66 |
<div dojoType="dojox.mobile.ToolBarButton" icon="../../images/tab-icons.png" iconPos="29,0,29,29" moveTo="view3"></div> |
| 67 |
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" moveTo="view3" style="float:right;"></div> |
| 68 |
</div><br> |
| 69 |
|
| 70 |
|
| 71 |
<h1 dojoType="dojox.mobile.Heading"> |
| 72 |
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteSearch" style="float:right;"></div> |
| 73 |
</h1><br> |
| 74 |
|
| 75 |
|
| 76 |
<h1 dojoType="dojox.mobile.Heading" align="center"> |
| 77 |
<table cellpadding="0" cellspacing="0" style="width:100%;"><tr> |
| 78 |
<td><div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus"></div></td> |
| 79 |
<td align="right"><div dojoType="dojox.mobile.ToolBarButton" icon="../../images/tab-icon-15h.png" style="float:right;"></div></td> |
| 80 |
</tr></table> |
| 81 |
</h1><br> |
| 82 |
|
| 83 |
<h1 dojoType="dojox.mobile.Heading" back="Top" label="Inbox(32)"> |
| 84 |
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteSearch" style="float:right;"></div> |
| 85 |
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteUpArrow" style="float:right;"></div> |
| 86 |
<div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteDownArrow" style="float:right;"></div> |
| 87 |
</h1><br> |
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
<h1 dojoType="dojox.mobile.Heading"> |
| 92 |
<span data-dojo-type="dojox.mobile.ToolBarButton" |
| 93 |
data-dojo-props="arrow: 'left'"/> |
| 94 |
</h1><br> |
| 95 |
|
| 96 |
<h1 dojoType="dojox.mobile.Heading"> |
| 97 |
<span data-dojo-type="dojox.mobile.ToolBarButton" |
| 98 |
data-dojo-props="arrow: 'right'"/> |
| 99 |
</h1><br> |
| 100 |
|
| 101 |
|
| 102 |
<div data-dojo-type="dojox.mobile.Heading"> |
| 103 |
<span data-dojo-type="dojox.mobile.ToolBarButton" |
| 104 |
data-dojo-props="arrow: 'left', icon: 'mblDomButtonWhiteDownArrow', label: 'some label'"/> |
| 105 |
</div><br> |
| 106 |
|
| 107 |
<div data-dojo-type="dojox.mobile.Heading"> |
| 108 |
<span data-dojo-type="dojox.mobile.ToolBarButton" |
| 109 |
data-dojo-props="arrow: 'right', icon: 'mblDomButtonWhiteDownArrow', label: 'some label'"/> |
| 110 |
</div><br> |
| 111 |
|
| 112 |
</body> |
| 113 |
</html> |