mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-28 10:40:07 +00:00
added config.xml
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d7f304fe68
commit
afeaf02b25
31
config.xml
Executable file
31
config.xml
Executable file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<widget xmlns="http://www.w3.org/ns/widgets"
|
||||
xmlns:gap="http://phonegap.com/ns/1.0"
|
||||
id="org.PortableMag"
|
||||
versionCode="10"
|
||||
version="0.0.1">
|
||||
|
||||
|
||||
<name>PortableMag</name>
|
||||
|
||||
|
||||
<description>
|
||||
Portable Magazine demo.
|
||||
</description>
|
||||
|
||||
|
||||
<author href="https://github.com/flynx/PortableMag" email="alex.nanou@gmail.com">
|
||||
Alex A. Naanou
|
||||
</author>
|
||||
|
||||
|
||||
<!--preference name="orientation" value="landscape" /-->
|
||||
<preference name="fullscreen" value="true" />
|
||||
|
||||
|
||||
<feature name="http://api.phonegap.com/1.0/file"/>
|
||||
<feature name="http://api.phonegap.com/1.0/network"/>
|
||||
<feature name="http://api.phonegap.com/1.0/notification"/>
|
||||
|
||||
|
||||
</widget>
|
||||
@ -43,13 +43,13 @@ function setPageTo(name){
|
||||
|
||||
function nextPage(){
|
||||
var i = curPageIndex()
|
||||
var PAGES = getPages()
|
||||
var pages = getPages()
|
||||
|
||||
if(i+1 >= PAGES.length){
|
||||
if(i+1 >= pages.length){
|
||||
return
|
||||
}
|
||||
|
||||
setPageTo(PAGES[i+1])
|
||||
setPageTo(pages[i+1])
|
||||
}
|
||||
|
||||
function prevPage(){
|
||||
@ -100,7 +100,7 @@ function toggleIndex(){
|
||||
</p>
|
||||
</div>
|
||||
<div class="view B">
|
||||
<div style="height: 95%; width: 95%; margin: 2%; border: 5px dashed gray;">
|
||||
<div style="height: 95%; width: 95%; margin: 2%; border: 5px dotted gray;">
|
||||
<h2>Page B</h2>
|
||||
</div>
|
||||
|
||||
@ -112,6 +112,7 @@ function toggleIndex(){
|
||||
<h2>Page D</h2>
|
||||
</div>
|
||||
</div>
|
||||
<!-- remove this... -->
|
||||
<div class="previews">
|
||||
<div class="article current" id="A">
|
||||
<div class="preview"></div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user