navigation.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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="a1">
  21. <header data-title="a1"></header>
  22. <article id="a1a1">
  23. <h1>a1.a1</h1>
  24. </article>
  25. <article id="a1a2">
  26. <h1>S1.A2</h1>
  27. </article>
  28. </aside>
  29. <aside id="a2">
  30. <header data-title="a2"></header>
  31. <article id="a2a1">
  32. <h1>a2.a1</h1>
  33. </article>
  34. </aside>
  35. <section id="s1" data-t-ransition="slide" data-children="one" data-aside="a1">
  36. <header data-title="s1">
  37. <nav class="left">
  38. <button data-icon="list" data-view-aside="a1"></button>
  39. </nav>
  40. <nav class="right">
  41. <button data-article="s1a1" data-view-article="s1a2" data-label="s1a2"></button>
  42. <button data-article="s1a2" data-view-article="s1a1" data-label="s1a1"></button>
  43. <button data-icon="arrow-right" data-view-section="s2"></button>
  44. </nav>
  45. </header>
  46. <article id="s1a1"><h1>S1.A1</h1></article>
  47. <article id="s1a2"><h1>S1.A2</h1></article>
  48. <footer>
  49. <nav>
  50. <a href="#" data-view-article="s1a2" data-icon="user" class="active"></a>
  51. <a href="#" data-view-article="s1a1" data-icon="group"></a>
  52. </nav>
  53. </footer>
  54. </section>
  55. <section id="s2" data-transition="slide" data-children="one" data-aside="a1">
  56. <header data-title="s2" data-back="home">
  57. <nav class="left">
  58. <button data-icon="list" data-view-aside="a1"></button>
  59. </nav>
  60. <nav class="right">
  61. <button data-article="s2a1" data-view-article="s2a2" data-label="s2a2"></button>
  62. <button data-article="s2a2" data-view-article="s2a1" data-label="s2a1"></button>
  63. <button data-icon="arrow-right" data-view-section="s3"></button>
  64. </nav>
  65. </header>
  66. <article id="s2a1"><h1>s2.A1</h1></article>
  67. <article id="s2a2"><h1>s2.A2</h1></article>
  68. </section>
  69. <section id="s3" data-t-ransition="slide" data-children="one" data-aside="a2">
  70. <header data-title="s3" data-back="home">
  71. <nav class="left">
  72. <button data-icon="list" data-view-aside="a2"></button>
  73. </nav>
  74. <nav class="right">
  75. <button data-article="s3a1" data-view-article="s3a2" data-label="s3a2"></button>
  76. <button data-article="s3a2" data-view-article="s3a1" data-label="s3a1"></button>
  77. </nav>
  78. </header>
  79. <article id="s3a1"><h1>s3.A1</h1></article>
  80. <article id="s3a2"><h1>s3.A2</h1></article>
  81. </section>
  82. <!-- Lungo dependencies -->
  83. <script src="components/quojs/quo.js"></script>
  84. <script src="components/lungo.brownie/lungo.debug.js"></script>
  85. <!-- LungoJS - Sandbox App -->
  86. <script>
  87. Lungo.init({
  88. name: 'Flexbox',
  89. version: '2.2',
  90. history: false
  91. });
  92. </script>
  93. </body>
  94. </html>