From afeaf02b25ae0297139040ac5f9633ea504a98bd Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 12 Jan 2013 16:45:52 +0400 Subject: [PATCH] added config.xml Signed-off-by: Alex A. Naanou --- README.md | 0 config.xml | 31 +++++++++++++++++++++++++++++++ index.html | 9 +++++---- 3 files changed, 36 insertions(+), 4 deletions(-) mode change 100644 => 100755 README.md create mode 100755 config.xml diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/config.xml b/config.xml new file mode 100755 index 0000000..ddf06f4 --- /dev/null +++ b/config.xml @@ -0,0 +1,31 @@ + + + + + PortableMag + + + + Portable Magazine demo. + + + + + Alex A. Naanou + + + + + + + + + + + + + diff --git a/index.html b/index.html index fa5baf7..42b3c4e 100755 --- a/index.html +++ b/index.html @@ -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(){

-
+

Page B

@@ -112,6 +112,7 @@ function toggleIndex(){

Page D

+