navigation.tablet3.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Lungo Flexbox - SDK</title>
  6. <meta name="description" content="">
  7. <meta name="author" content="Javier Jiménez Villar (@soyjavi)">
  8. <meta name="HandheldFriendly" content="True">
  9. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  12. <meta name="format-detection" content="telephone=no">
  13. <meta http-equiv="cleartype" content="on">
  14. <!-- Main Stylesheet -->
  15. <link rel="stylesheet" href="components/lungo.brownie/lungo.css">
  16. <link rel="stylesheet" href="components/lungo.brownie/lungo.theme.css">
  17. <link rel="stylesheet" href="components/lungo.icon/lungo.icon.css">
  18. </head>
  19. <body>
  20. <aside id="aside1" data-transition="left">
  21. <header data-title="Aside 1"></header>
  22. <article id="aside1_article" class="active list scroll">
  23. <ul>
  24. <li data-view-section="s1" data-icon="plus">Section 1</li>
  25. <li data-view-section="s2" data-icon="plus">Section 2</li>
  26. <li data-view-section="s3" data-icon="plus">Section 3</li>
  27. </ul>
  28. </article>
  29. </aside>
  30. <aside id="aside2" data-transition="left">
  31. <header data-title="Aside 2"></header>
  32. <article id="aside2_article" class="active list scroll">
  33. <ul>
  34. <li data-view-section="s3" data-icon="plus">Section 3</li>
  35. <li data-view-section="s4" data-icon="plus">Section 4</li>
  36. </ul>
  37. </article>
  38. </aside>
  39. <!-- ===================================================================================== -->
  40. <!-- ===================================================================================== -->
  41. <section id="s1" data-transition="slide" data-aside="aside1" data-children="s2 s3">
  42. <header data-title="S1">
  43. <nav class="left">
  44. <button data-icon="list" data-view-aside="aside1"></button>
  45. </nav>
  46. </header>
  47. <article id="incoming" class="list scroll">
  48. aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
  49. <button data-view-section="s2">S2 go!</button>
  50. <button data-view-section="s3">S3 go!</button>
  51. <button data-view-section="s4">S4 go!</button>
  52. </article>
  53. </section>
  54. <section id="s2" data-transition="slide" data-aside="aside1">
  55. <header data-title="S2">
  56. <nav class="left">
  57. <button data-view-section="back">BaCk</button>
  58. </nav>
  59. </header>
  60. <article id="art_2">
  61. bbbbbb bbbbbbbbbb bbbb bbbb
  62. </article>
  63. </section>
  64. <section id="s3" data-transition="slide" data-aside="aside1">
  65. <header data-title="S3">
  66. <nav class="left">
  67. <button data-view-section="back">BaCk</button>
  68. </nav>
  69. </header>
  70. <article id="art_3">
  71. cccc c cccccccc cccc c cccccccc cccc c cccccccc
  72. </article>
  73. </section>
  74. <section id="s4" data-transition="slide" data-aside="aside2" data-children="s5">
  75. <header data-title="S4">
  76. <nav class="left">
  77. <button data-view-section="back">BaCk</button>
  78. </nav>
  79. </header>
  80. <article id="art_4">
  81. dddd d dddddddd dddd d dddddddd dddd d dddddddd
  82. <button data-view-section="s5">S5 go!</button>
  83. </article>
  84. </section>
  85. <section id="s5" data-transition="slide" data-aside="aside2" data-children="s6">
  86. <header data-title="S5">
  87. <nav class="left">
  88. <button data-view-section="back">BaCk</button>
  89. </nav>
  90. </header>
  91. <article id="art_5">
  92. eee eeee eeee eeeee eeeeee
  93. <button data-view-section="s6">S5 go!</button>
  94. </article>
  95. </section>
  96. <section id="s6" data-transition="slide" data-aside="aside2">
  97. <header data-title="S6">
  98. <nav class="left">
  99. <button data-view-section="back">BaCk</button>
  100. </nav>
  101. </header>
  102. <article id="art_6">
  103. eee eeee eeee eeeee eeeeee
  104. </article>
  105. </section>
  106. <script src="components/quojs/quo.js"></script>
  107. <script src="components/lungo.brownie/lungo.debug.js"></script>
  108. <script>
  109. Lungo.init({
  110. name: 'Flexbox',
  111. version: '2.2',
  112. history: false
  113. });
  114. $$("[data-router=back]").tap(function(event) { Lungo.Router.back(); });
  115. </script>
  116. </body>
  117. </html>