PortableMag Navigation and Linking
-Finger controls
--
-
- Single finger swipe left/right – prev/next page. -
- Two finger swipe left/right – prev/next article. -
- Single finger swipe up/down – toggle thumbnail view. -
- Pinch in/out – go in/out of thumbnail view. -
Navigation via #URLs
-The basics
- Page #1- Named page
-
- Anchor on page #3
- currently navigation via existing anchors
- will break the layout, so use the name attribute
- on any other tags (see example).
-
-
PortableMag Navigation and Linking
Finger controls
+-
+
- Single finger swipe left/right – prev/next page. +
- Two finger swipe left/right – prev/next article. +
- Single finger swipe up/down – toggle thumbnail view. +
- Pinch in/out – go in/out of thumbnail view. +
Navigation via #URLs
+The basics
+ Page #1+ Named page
+
+ Anchor on page #3
+ currently navigation via existing anchors
+ will break the layout, so use the name attribute
+ on any other tags (see example).
+
+
Special anchors
-These show up in the page URL
- Magazine cover- Last page
- Thumbnail view
- Toggle a hidden layer
- - Hide all layers
- - Toggle bookmark
+
Special anchors
+These show up in the page URL
+ Magazine cover+ Last page
+ Thumbnail view
+ Toggle a hidden layer
+ + Hide all layers
+ + Toggle bookmark
+
Relative special anchors
+These will get replaced by corresponding page numbers in the URL
+ Next page+ Previous page
+ Next article
+ Previous article
+
History support
+ NOTE: this is still a bit flaky...+ Go back
+ Go forward
+ +
This is an example layer
+ click or tap to hide +Relative special anchors
-These will get replaced by corresponding page numbers in the URL
- Next page- Previous page
- Next article
- Previous article
-
History support
- NOTE: this is still a bit flaky...- Go back
- Go forward
+ - - -
This is an example layer
- click or tap to hide -Page Templates
+Page Templates
+- This page contains several examples of template fields, - the first one is the simplest, the magazine name - ([MAGAZINE NAME]), - then we'll have the index (see next) and in the bottom-right - corner is the page number... -
+Inline basic macros
++ This page contains several examples of inline template/macro fields, + these are HTML elements whos content will get replaced depending on + their class. +
-Magazine title
++ Any element with the class "magazine-title-text" + will be replaced with the magazine title (example: + [MAGAZINE NAME]) +
-Page Numer
++ Any element with a class "page-number-text" will + get replaced with the page number (example: + #) +
++ NOTE: the selector div.page-number-text will + put the number at the bottom of the page, this page + number is a good example of this. +
+ +Article Index
++ Any element with the class "article-index" will + be replaced with the links to all the articles in the + current magazine. +
+
+ Example:
+
Two column
-Two column
Three column
++ Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. +
++ NOTE: at this point, even and odd pages are aligned slightly to the right or left respectively, book-style. +
+ +