OLD | NEW |
| (Empty) |
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.g
ithub.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/CONTRI
BUTORS.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/PATEN
TS.txt | |
9 --> | |
10 | |
11 <html> | |
12 <head> | |
13 | |
14 <title>core-layout-trbl demo</title> | |
15 | |
16 <script src="../platform/platform.js"></script> | |
17 <link rel="import" href="core-layout-trbl.html"> | |
18 <link rel="import" href="core-slide.html"> | |
19 | |
20 <style> | |
21 div { | |
22 padding: 8px; | |
23 border: 3px solid lightblue; | |
24 -webkit-transition: all 0.3s; | |
25 } | |
26 [vertical] ~ div { | |
27 border: 3px solid orange; | |
28 } | |
29 </style> | |
30 | |
31 </head> | |
32 <body unresolved> | |
33 | |
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 Fir
st</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> | |
56 | |
57 </body> | |
58 </html> | |
OLD | NEW |