|
|
@@ -0,0 +1,156 @@
|
|
|
+<!doctype html>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <title>KitchenSink - Lungo 2.0</title>
|
|
|
+ <meta name="description" content="">
|
|
|
+ <meta name="author" content="Javier Jiménez Villar (@soyjavi)">
|
|
|
+ <meta name="HandheldFriendly" content="True">
|
|
|
+ <meta name="MobileOptimized" content="320">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
|
+ <meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
+ <meta name="format-detection" content="telephone=no">
|
|
|
+ <meta http-equiv="cleartype" content="on">
|
|
|
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://lungo.tapquo.com/resources/icon@2x.png">
|
|
|
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://lungo.tapquo.com/resources/icon-72.png">
|
|
|
+ <link rel="apple-touch-icon-precomposed" href="http://lungo.tapquo.com/resources/icon.png">
|
|
|
+ <link rel="apple-touch-startup-image" href="http://lungo.tapquo.com/resources/default.png">
|
|
|
+
|
|
|
+ <!-- Main Stylesheet -->
|
|
|
+
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.base.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.nav.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.aside.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.article.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.list.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.grid.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.splash.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.button.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.form.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.colour.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.icon.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.icon.brand.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.loading.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.notification.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.theme.default.css">
|
|
|
+
|
|
|
+ <!--
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.css">
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.icon.css">
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.icon.brand.css">
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.theme.default.css">
|
|
|
+ -->
|
|
|
+ <!-- App Stylesheet -->
|
|
|
+ <link rel="stylesheet" href="stylesheets/app.css">
|
|
|
+
|
|
|
+</head>
|
|
|
+
|
|
|
+<body class="app">
|
|
|
+ <section id="main" data-transition="slide" data-pull="normal">
|
|
|
+ <header class="">
|
|
|
+ <nav class="left button">
|
|
|
+ <a href="#main-article" data-router="article" data-icon="menu"></a>
|
|
|
+ <a href="#second-article" data-router="article" data-icon="menu"></a>
|
|
|
+ </nav>
|
|
|
+ <nav class="right button">
|
|
|
+ <a href="https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Flungo.tapquo.com%2F&text=@lungojs a framework for developers who want to design, build and share cross device apps" data-icon="share" target="_blank" ></a>
|
|
|
+ </nav>
|
|
|
+ <div class="left">
|
|
|
+ <div class="centered title with-subtitle">
|
|
|
+ Lungo Framework
|
|
|
+ <small class="subtitle">version 2</small>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </header>
|
|
|
+
|
|
|
+ <style>
|
|
|
+ .carousel {
|
|
|
+ padding:50px;
|
|
|
+ height: 100px;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+
|
|
|
+ <article id="main-article" class="scroll">
|
|
|
+ <a href="#" id="start1">start me!</a>
|
|
|
+ <div data-control="carousel-1" class="carousel" style="background: #aaa">
|
|
|
+ <ul>
|
|
|
+ <li style="display:block">Lorem</li>
|
|
|
+ <li style="display:none">2222</li>
|
|
|
+ <li style="display:none">3333</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </article>
|
|
|
+
|
|
|
+
|
|
|
+ <article id="second-article" class="scroll">
|
|
|
+ <a href="#" id="start2">start me!</a>
|
|
|
+ <div data-control="carousel-2" class="carousel" style="background: #ccc">
|
|
|
+ <ul>
|
|
|
+ <li style="display:block">1111</li>
|
|
|
+ <li style="display:none">2222</li>
|
|
|
+ <li style="display:none">3333</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </article>
|
|
|
+
|
|
|
+ </section>
|
|
|
+
|
|
|
+ <!-- Lungo dependencies -->
|
|
|
+ <script src="../../src/lib/quo.js"></script>
|
|
|
+
|
|
|
+ <script src="../../src/Lungo.js"></script>
|
|
|
+ <script src="../../src/Lungo.Init.js"></script>
|
|
|
+ <script src="../../src/Lungo.Core.js"></script>
|
|
|
+ <script src="../../src/Lungo.Dom.js"></script>
|
|
|
+ <script src="../../src/Lungo.Service.js"></script>
|
|
|
+ <script src="../../src/Lungo.Constants.js"></script>
|
|
|
+ <script src="../../src/Lungo.Element.js"></script>
|
|
|
+ <script src="../../src/Lungo.Events.js"></script>
|
|
|
+ <script src="../../src/Lungo.Notification.js"></script>
|
|
|
+ <script src="../../src/router/Lungo.Router.js"></script>
|
|
|
+ <script src="../../src/router/Lungo.Router.History.js" ></script>
|
|
|
+ <script src="../../src/view/Lungo.View.Resize.js"></script>
|
|
|
+ <script src="../../src/view/Lungo.View.Article.js" ></script>
|
|
|
+ <script src="../../src/view/Lungo.View.Aside.js" ></script>
|
|
|
+ <script src="../../src/view/Lungo.View.Element.js"></script>
|
|
|
+
|
|
|
+
|
|
|
+ <script src="../../src/view/Lungo.View.Pull.js"></script>
|
|
|
+ <script src="../../src/view/Lungo.View.Carousel.js"></script>
|
|
|
+
|
|
|
+
|
|
|
+ <script src="../../src/data/Lungo.Data.Cache.js"></script>
|
|
|
+ <script src="../../src/data/Lungo.Data.Sql.js"></script>
|
|
|
+ <script src="../../src/data/Lungo.Data.Storage.js"></script>
|
|
|
+ <script src="../../src/attributes/Lungo.Attributes.Data.js"></script>
|
|
|
+ <script src="../../src/Lungo.Fallback.js"></script>
|
|
|
+ <script src="../../src/boot/Lungo.Boot.Resources.js" ></script>
|
|
|
+ <script src="../../src/boot/Lungo.Boot.Stats.js" ></script>
|
|
|
+ <script src="../../src/boot/Lungo.Boot.Layout.js"></script>
|
|
|
+ <script src="../../src/boot/Lungo.Boot.Events.js"></script>
|
|
|
+ <script src="../../src/boot/Lungo.Boot.Data.js"></script>
|
|
|
+ <script src="../../src/boot/Lungo.Boot.Section.js"></script>
|
|
|
+ <script src="../../src/boot/Lungo.Boot.Article.js"></script>
|
|
|
+
|
|
|
+ <!-- LungoJS - Sandbox App -->
|
|
|
+ <script>
|
|
|
+
|
|
|
+ Lungo.init();
|
|
|
+
|
|
|
+ $$('#start1').tap(function() {
|
|
|
+ var carousel1 = Lungo.View.Carousel($$('[data-control=carousel-1]')[0]);
|
|
|
+ alert("active");
|
|
|
+ });
|
|
|
+ $$('#start2').tap(function() {
|
|
|
+ var carousel2 = Lungo.View.Carousel($$('[data-control=carousel-2]')[0]);
|
|
|
+ setInterval(function() {
|
|
|
+ carousel2.next();
|
|
|
+ }, 750)
|
|
|
+ });
|
|
|
+
|
|
|
+ </script>
|
|
|
+</body>
|
|
|
+</html>
|