Remove LOAD_SUB_FRAME load flag.
[chromium-blink-merge.git] / third_party / polymer / components / core-layout-trbl / demo.html
blob018e8677a34aa29e8f4106c3345c311c62022304
1 <!DOCTYPE html>
2 <!--
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 -->
11 <html>
12 <head>
14 <title>core-layout-trbl demo</title>
16 <script src="../webcomponentsjs/webcomponents.js"></script>
17 <link rel="import" href="core-layout-trbl.html">
18 <link rel="import" href="core-slide.html">
20 <style>
21 div {
22 padding: 8px;
23 border: 3px solid lightblue;
24 -webkit-transition: all 0.3s;
26 [vertical] ~ div {
27 border: 3px solid orange;
29 </style>
31 </head>
32 <body unresolved>
34 <div style="height: 600px; overflow: hidden;">
35 <core-layout-trbl></core-layout-trbl>
36 <div id="left">Hi I'm some content</div>
37 <div id="left2" onclick="leftSlide.closed = !leftSlide.closed;">Click Me First</div>
38 <div onclick="leftSlide2.closed = !leftSlide2.closed;">Click Me Second</div>
39 <div fit>
40 <core-layout-trbl vertical></core-layout-trbl>
41 <div id="top">Gribble gribble</div>
42 <div onclick="topSlide.closed = !topSlide.closed;">Click Me</div>
43 <div fit>Squids!</div>
44 <div onclick="bottomSlide.closed = !bottomSlide.closed;">Click Me</div>
45 <div>More is more</div>
46 <div id="bottom">Squids are larger than they appear.</div>
47 </div>
48 <div onclick="rightSlide.closed = !rightSlide.closed;">Click me</div>
49 <div id="right">A last bit, like a panel</div>
50 </div>
51 <core-slide id="leftSlide" targetid="left"></core-slide>
52 <core-slide id="leftSlide2" targetid="left2"></core-slide>
53 <core-slide id="rightSlide" targetid="right"></core-slide>
54 <core-slide id="topSlide" vertical targetid="top"></core-slide>
55 <core-slide id="bottomSlide" vertical targetid="bottom"></core-slide>
57 </body>
58 </html>