Mercurial > hg > Members > masakoha > seminar
comparison 2014/template.html @ 17:ff03dd29fd52
arrange
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 07 Apr 2015 17:59:01 +0900 |
parents | template.html@1308906213ab |
children |
comparison
equal
deleted
inserted
replaced
16:a8f7ca92921c | 17:ff03dd29fd52 |
---|---|
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <meta http-equiv="content-type" content="text/html;charset=utf-8"> | |
5 <title>25th,March,2014</title> | |
6 | |
7 <!-- | |
8 Notes on CSS media types used: | |
9 | |
10 1) projection -> slideshow mode (display one slide at-a-time; hide all others) | |
11 2) screen -> outline mode (display all slides-at-once on screen) | |
12 3) print -> print (and print preview) | |
13 | |
14 Note: toggle between projection/screen (that is, slideshow/outline) mode using t-key | |
15 | |
16 Questions, comments? | |
17 - send them along to the mailinglist/forum online @ http://groups.google.com/group/webslideshow | |
18 --> | |
19 | |
20 <!-- styles --> | |
21 <style media="screen,projection"> | |
22 | |
23 html, | |
24 body, | |
25 .presentation { margin: 0; padding: 0; } | |
26 | |
27 .slide { display: none; | |
28 position: absolute; | |
29 top: 0; left: 0; | |
30 margin: 0; | |
31 border: none; | |
32 padding: 2% 4% 0% 4%; /* css note: order is => top right bottom left */ | |
33 -moz-box-sizing: border-box; | |
34 -webkit-box-sizing: border-box; | |
35 box-sizing: border-box; | |
36 width: 100%; height: 100%; /* css note: lets use border-box; no need to add padding+border to get to 100% */ | |
37 overflow-x: hidden; overflow-y: auto; | |
38 z-index: 2; | |
39 } | |
40 | |
41 .slide.current { display: block; } /* only display current slide in projection mode */ | |
42 | |
43 .slide .stepcurrent { color: black; } | |
44 .slide .step { color: silver; } /* or hide next steps e.g. .step { visibility: hidden; } */ | |
45 | |
46 .slide { | |
47 /* | |
48 background-image: -webkit-linear-gradient(top, blue, aqua, blue, aqua); | |
49 background-image: -moz-linear-gradient(top, blue, aqua, blue, aqua); | |
50 */ | |
51 } | |
52 </style> | |
53 | |
54 <style media="screen"> | |
55 .slide { border-top: 1px solid #888; } | |
56 .slide:first-child { border: none; } | |
57 </style> | |
58 | |
59 <style media="print"> | |
60 .slide { page-break-inside: avoid; } | |
61 .slide h1 { page-break-after: avoid; } | |
62 .slide ul { page-break-inside: avoid; } | |
63 </style> | |
64 | |
65 | |
66 <!-- add js lib (jquery) --> | |
67 <script src="js/jquery-1.7.min.js"></script> | |
68 | |
69 <!-- S6 JS --> | |
70 <script src="js/jquery.slideshow.js"></script> | |
71 <script src="js/jquery.slideshow.counter.js"></script> | |
72 <script src="js/jquery.slideshow.controls.js"></script> | |
73 <script> | |
74 $(document).ready( function() { | |
75 Slideshow.init(); | |
76 | |
77 // Example 2: Start Off in Outline Mode | |
78 // Slideshow.init( { mode: 'outline' } ); | |
79 | |
80 // Example 3: Use Custom Transition | |
81 // Slideshow.transition = transitionScrollUp; | |
82 // Slideshow.init(); | |
83 | |
84 // Example 4: Start Off in Autoplay Mode with Custom Transition | |
85 // Slideshow.transition = transitionScrollUp; | |
86 // Slideshow.init( { mode: 'autoplay' } ); | |
87 } ); | |
88 </script> | |
89 | |
90 </head> | |
91 <body> | |
92 | |
93 <div class="presentation"> | |
94 | |
95 <!-- add slides here; example --> | |
96 <div id="header"> | |
97 <h1>[your_header_here]</h1> | |
98 </div> | |
99 | |
100 <div class='cover'> | |
101 <h1>Your Slide Title Here</h1> | |
102 <ul> | |
103 <li>Item One Here</li> | |
104 <li>Item Two Here</li> | |
105 </ul> | |
106 </div> | |
107 | |
108 <div> | |
109 <h1>Steps Demos</h1> | |
110 | |
111 <!-- mark list with class step to mark all items at once --> | |
112 <ul class='step'> | |
113 <li>Item 1.1 Here</li> | |
114 <li>Item 1.2 Here</li> | |
115 </ul> | |
116 | |
117 <!-- or mark individual list items --> | |
118 <ul> | |
119 <li class='step'>Item 2.1 Here</li> | |
120 <li class='step'>Item 2.2 Here</li> | |
121 </ul> | |
122 | |
123 <!-- or mark paragraphs, div blocks or whatever --> | |
124 <p class='step'>Another Step</p> | |
125 | |
126 </div> | |
127 | |
128 <div> | |
129 <h1>Another Slide Title Here</h1> | |
130 <p>yada yada yada</p> | |
131 </div> | |
132 | |
133 <div id="footer"> | |
134 <h1>[your_footer_here]</h1> | |
135 <h2>[your_subfooter_here]</h2> | |
136 </div> | |
137 | |
138 </div> <!-- presentation --> | |
139 </body> | |
140 </html> |