This commit is contained in:
Éric Lemoine
2013-02-20 10:38:25 +01:00
parent 17c3936ab6
commit 5d14b9e2d4
1919 changed files with 559755 additions and 2588 deletions

View File

@@ -0,0 +1,98 @@
<!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>News</title>
<link href="../themes/android/base.css" rel="stylesheet">
<style>
.content {
padding:0px 10px;
background-color: white;
color: black;
}
p {
font-family: Helvetica;
font-size: 12px;
}
.title {
color: blue;
margin-bottom: 4px;
}
.subtitle {
font-style: italic;
color: gray;
margin: 0px;
margin-bottom: 4px;
}
.subsubtitle {
margin: 16px 0px 0px 0px;
}
.lst {
margin: 0px;
padding: 0px 14px;
}
.lst li {
font-family: Helvetica;
font-size: 12px;
margin: 0px;
list-style-type: square;
}
</style>
<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
</script>
</head>
<body style="visibility:hidden;">
<div id="home" dojoType="dojox.mobile.View" selected="true">
<h1 dojoType="dojox.mobile.Heading">News</h1>
<h2 dojoType="dojox.mobile.RoundRectCategory">Top Stories</h2>
<ul dojoType="dojox.mobile.RoundRectList">
<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" moveTo="#article" transition="slide">
Top 10 news stories of the decade
</li>
<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" moveTo="#article" transition="flip">
Create client-side diagrammatic interaction in Web applications with GFX
</li>
<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" moveTo="#article" transition="fade">
Explores advanced topics in the new Java framework for implementing and consuming REST-based Web services, Part 3
</li>
</ul>
</div>
<div id="article" dojoType="dojox.mobile.View" style="background-color:white;height:100%">
<h1 dojoType="dojox.mobile.Heading" back="Home" moveTo="#home">Article</h1>
<div class="content">
<h3 class="title">Did you know?</h3>
<h4 class="subtitle">Features of dojox.mobile</h4>
<h5 class="subsubtitle">No images are used</h5>
<ul class="lst">
<li>UI parts consist of DOM and CSS3.</li>
<li>Only application icons are images.</li>
</ul>
<p>For example, none of the UI parts below are images.<br></p>
<img src="images/not-images.png">
<h5 class="subsubtitle">Removed dependencies on the dojo modules as much as possible</h5>
<ul class="lst">
<li>No dependencies even on some of the essential core modules like Templated, Container, Contained, dojo.query, or dojo.parser.</li>
</ul>
<h5 class="subsubtitle">Support for CSS sprite</h5>
<ul class="lst">
<li>Application icon images can be aggregated into a single file to reduce the number of http requests.</li>
</ul>
<h5 class="subsubtitle">Possible to use the webkitMobile build option (when PC browser support is unnecessary)</h5>
<ul class="lst">
<li>Drops IE and Firefox-specific code at build time, and thus reduces the dojo core size</li>
</ul>
</div>
</div>
</body>
</html>