source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/slidy/Overview.html@ 15c7d39

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 15c7d39 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100755
File size: 29.8 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html lang="en-US">
4<head>
5<meta name="generator" content=
6"HTML Tidy for Linux/x86 (vers 1st November 2003), see www.w3.org" />
7<title>HTML Slidy</title>
8<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9<meta name="copyright" content=
10"Copyright &#169; 2005-2010 W3C (MIT, ERCIM, Keio)" />
11<meta name="duration" content="5" />
12<meta name="font-size-adjustment" content="-2" />
13<link rel="stylesheet" href="styles/slidy.css" type="text/css" />
14<link rel="stylesheet" href="styles/w3c-blue.css" type="text/css" />
15<script src="scripts/slidy.js" charset="utf-8" type="text/javascript">
16</script>
17</head>
18<body>
19<div class="background"><img alt="" id="head-icon"
20src="graphics/icon-blue.png" /><object id="head-logo"
21data="graphics/w3c-logo-white.svg" type="image/svg+xml"
22title="W3C logo"><a href="http://www.w3.org/"><img
23alt="W3C logo" id="head-logo-fallback"
24src="graphics/w3c-logo-white.gif" /></a></object></div>
25
26<div class="background slanty">
27<img src="graphics/w3c-logo-slanted.jpg" alt="slanted W3C logo" />
28</div>
29<div class="slide cover title">
30 <!-- hidden style graphics to ensure they are saved with other content -->
31 <img class="hidden" src="graphics/bullet.png" alt="" />
32 <img class="hidden" src="graphics/fold.gif" alt="" />
33 <img class="hidden" src="graphics/unfold.gif" alt="" />
34 <img class="hidden" src="graphics/fold-dim.gif" alt="" />
35 <img class="hidden" src="graphics/nofold-dim.gif" alt="" />
36 <img class="hidden" src="graphics/unfold-dim.gif" alt="" />
37 <img class="hidden" src="graphics/bullet-fold.gif" alt="" />
38 <img class="hidden" src="graphics/bullet-unfold.gif" alt="" />
39 <img class="hidden" src="graphics/bullet-fold-dim.gif" alt="" />
40 <img class="hidden" src="graphics/bullet-nofold-dim.gif" alt="" />
41 <img class="hidden" src="graphics/bullet-unfold-dim.gif" alt="" />
42
43<img src="graphics/keys2.jpg" alt="Cover page images (keys)"
44 class="cover" /><br clear="all" />
45<h1>HTML Slidy: Slide Shows in HTML and XHTML</h1>
46
47<p><a href="http://www.w3.org/People/Raggett/">Dave Raggett</a>,
48&lt;<a href="mailto:dsr@w3.org">dsr@w3.org</a>&gt;<br />
49<br />
50<br />
51<br />
52<br /><em>Hit the space bar or swipe left for next slide</em></p>
53</div>
54
55<div class="slide">
56<h1>Slide Shows in HTML and XHTML</h1>
57
58<ul>
59<li>You can now create accessible slide shows with ease</li>
60
61<li>Works across browsers and is operated like PowerPoint
62
63<ul>
64<li>Advance to next slide with mouse click, space bar or swipe left</li>
65
66<li>Move forward/backward between slides with Cursor Left,
67Cursor Right, <strong>Pg Up</strong> and <strong>Pg Dn</strong>
68keys, or swipe left or right</li>
69
70<li><strong>Home</strong> key for first slide, <strong>End</strong>
71 key for last slide</li>
72
73<li>The "<strong>C</strong>" key for an automatically generated
74table of contents, or click on "contents" on the toolbar or
75swipe up or down</li>
76
77<li>Function <strong>F11</strong> to go full screen and back</li>
78
79<li>The "<strong>F</strong>" key toggles the display of the footer</li>
80
81<li>The "<strong>A</strong>" key toggles display of current vs all
82slides
83
84<ul>
85<li>Try it now to see how to include notes for handouts (this is
86explained in the notes following this slide)</li>
87</ul>
88</li>
89
90<li>Font sizes automatically adapt to browser window size
91
92<ul>
93<li>use <strong>S</strong> and <strong>B</strong> keys for
94manual control (or &lt; and &gt;, or the <strong>-</strong> and
95<strong>+</strong> keys on the number pad</li>
96<li>Use CSS to set a relative font size on a given slide to make
97the content bigger or smaller than on other slides</li>
98</ul>
99</li>
100
101<li>Switching off JavaScript reveals all slides</li>
102</ul>
103</li>
104
105<li><em>Now move to next slide to see how it works</em></li>
106</ul>
107
108<p class="copyright"><a rel="Copyright" href=
109"http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" shape=
110"rect">Copyright</a> &copy; 2005-2010 <a href="/"><acronym title=
111"World Wide Web Consortium">W3C</acronym></a> <sup>&reg;</sup>
112(<a href="http://www.csail.mit.edu/"><acronym title=
113"Massachusetts Institute of Technology">MIT</acronym></a>, <a href=
114"http://www.ercim.org/"><acronym title=
115"European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
116<a href="http://www.keio.ac.jp/">Keio</a>), All Rights
117Reserved.</p>
118</div>
119
120<div class="handout">
121<p>For handouts, its often useful to include extra notes using a
122div element with class="handout" following each slide, as in:</p>
123
124<pre>
125&lt;div class="slide"&gt;
126 <em>... your slide content ...</em>
127&lt;/div&gt;
128
129&lt;div class="handout"&gt;
130 <em>... stuff that only appears in the handouts ...</em>
131&lt;/div&gt;
132</pre>
133</div>
134
135<div class="slide">
136<h1>What you need to do</h1>
137
138<ul>
139<li>Each presentation is a single XHTML file</li>
140
141<li>Each slide is enclosed in <em>&lt;div class="slide"&gt; ...
142&lt;/div&gt;</em>
143
144<ul>
145<li>The div element will be created automatically for h1
146elements that are direct children of the body element.</li>
147</ul>
148
149</li>
150
151<li>Use regular markup within each slide</li>
152
153<li>The document head includes two links:
154<ul>
155<li>The slide show style sheet:
156<a href=
157"http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css">http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css</a></li>
158
159<li>The slide show script: <a href=
160"http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js">http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js</a></li>
161
162<li>Or you can link to the compressed version of the script which is about
163one seventh the size, see <a href=
164"http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js.gz">http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js.gz</a></li>
165<li>If you are using XHTML, remember to use &lt;/script&gt; and
166&lt;/style&gt; as per <a
167href="http://www.w3.org/TR/xhtml1/#C_3">Appendix C.3</a></li>
168</ul>
169</li>
170</ul>
171
172<pre>
173&lt;?xml version="1.0" encoding="utf-8"?&gt;
174&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
175 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
176&lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt;
177&lt;head&gt;
178 &lt;title&gt;Slide Shows in XHTML&lt;/title&gt;
179 &lt;meta name="copyright"
180 content="Copyright &amp;#169; 2005 your copyright notice" /&gt;
181 &lt;link rel="stylesheet" type="text/css" media="screen, projection, print"
182 href="http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css" /&gt;
183 &lt;script src="http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js"
184 charset="utf-8" type="text/javascript"&gt;&lt;/script&gt;
185 &lt;style type="text/css"&gt;
186 &lt;!-- your custom style rules --&gt;
187 &lt;/style&gt;
188&lt;/head&gt;
189&lt;body&gt;
190 ... your slides marked up in XHTML ...
191&lt;/body&gt;
192&lt;/html&gt;
193</pre>
194</div>
195
196<div class="slide">
197<h1>To get the W3C Blue Style</h1>
198
199<p>The head element should include the following link to the style
200sheet:</p>
201
202<pre>
203&lt;link rel="stylesheet" type="text/css" media="screen, projection, print"
204 href="http://www.w3.org/Talks/Tools/Slidy2/styles/w3c-blue.css" /&gt;
205</pre>
206
207<p>The body element's content should start with the following
208markup:</p>
209
210<pre>
211&lt;div class="background"&gt;
212 &lt;img id="head-icon" alt="graphic with four colored squares"
213 src="http://www.w3.org/Talks/Tools/Slidy2/graphics/icon-blue.png" /&gt;
214 &lt;object id="head-logo" title="W3C logo" type="image/svg+xml"
215 data="http://www.w3.org/Talks/Tools/Slidy2/graphics/w3c-logo-white.svg"&gt;&lt;img
216 src="http://www.w3.org/Talks/Tools/Slidy2/graphics/w3c-logo-white.gif"
217 alt="W3C logo" id="head-logo-fallback" /&gt;&lt;/object&gt;
218&lt;/div&gt;
219</pre>
220
221<p>This adds the logos on the top left and right corners of the
222slide.</p>
223
224<p>You are of course welcome to create your own slide designs.
225You can provide different styles and backgrounds for
226different slides (more details later).</p>
227
228<p>Use the <em>meta element</em> with <em>name="copyright"</em>
229for use in the slide show footer:</p>
230
231<pre>
232&lt;meta name="copyright"
233content="Copyright &amp;#169; 2005-2009 W3C (MIT, ERCIM, Keio)" /&gt;
234</pre>
235</div>
236
237<div class="slide">
238<h1>Upgrading from previous versions of Slidy</h1>
239
240<ul>
241<li>This uses a new version of the HTML Slidy script</li>
242<li>It is designed to work better with other scripts,
243e.g. for UI controls within your slides
244<ul>
245<li>Only adds one global name "w3c_slidy"</li>
246<li>Doesn't interfere with other scripts that set event handers
247such as onload on body element</li>
248</ul>
249</li>
250<li>Works for slides delivered as text/html and application/xhtml+xml</li>
251<li>New presentation timer feature</li>
252<li>Initial prompt on first slide to help newcomers to Slidy</li>
253<li>Better support for styling slides and printing them</li>
254<li>Requires additional style rules, so new script won't work
255with old presentations without changes to their style sheets
256<ul>
257<li>See <a href="styles/slidy.css">slidy.css</a>, and
258<a href="styles/w3c-blue.css">w3c-blue.css</a></li>
259</ul>
260</li>
261<li>But old presentations will work unchanged as they refer to
262the old script!</li>
263</ul>
264</div>
265
266<div class="slide">
267<h1>To use it off-line</h1>
268
269<ul>
270<li>You can download <a href="slidy.zip">slidy.zip</a> and unzip
271it to create a Slidy directory on your machine</li>
272
273<li>If you have cvs access to the W3C site you can check out the Slidy
274directory</li>
275
276<li>Remember to periodically check for updates</li>
277
278<li>You then have two choices:
279
280<ol>
281<li>Use relative URIs depending on your local setup to access the
282appropriate files. Use the same directory structure as on the W3C
283server, ie, ".../2005/Talks/...".</li>
284
285<li>Run a Web server on your machine so that the directory above
286can be accessed via <code>http://localhost/Talks/Tools/Slidy2</code>
287and use the URIs of the form "/Talks/Tools/Slidy2/styles/slidy.css",
288"/Talks/Tools/Slidy2/scripts/slidy.js".</li>
289</ol></li>
290
291<li>In both cases you can then publish your files on the W3C server
292unchanged.</li>
293
294<li><strong>NOTE</strong> Internet Explorer on Windows XP now disables
295scripting for web pages loaded directly from the local file system,
296a work around is to use another browser, e.g. Firefox or Opera</li>
297
298<li>Please feel free to create your own designs, and help us to build
299a gallery of Slidy styles.</li>
300
301<li>My <a href="/2006/02/woa/">Google TechTalk</a> (1st Feb 2006)
302uses a notebook themed style</li>
303</ul>
304</div>
305
306<div class="slide">
307<h1>Timing Your Presentation</h1>
308
309<ul>
310<li>Sometimes it is handy to know just how much time you have to
311left to finish your presentation</li>
312<li>To get this feature, add the following markup to the
313content of the head element, replacing 5 by the duration
314of your presentation in minutes
315<pre>&lt;meta name="duration" content="5" /&gt;</pre>
316</li>
317<li>The time left in minutes and seconds is shown in the footer
318next to the slide number</li>
319<li>The clock starts to run when you move away from the first slide</li>
320<li>Moving back to the first slide pauses the clock</li>
321</ul>
322
323
324</div>
325
326<div class="slide slanty">
327<h1>Generate a Title Page</h1>
328
329<p>If you want a separate title page with the W3C blue style, the
330first slide should be as follows:</p>
331
332<pre>
333&lt;div class="slide cover"&gt;
334 &lt;img src="http://www.w3.org/Talks/Tools/Slidy2/graphics/keys.jpg"
335 alt="Cover page images (keys)" class="cover" /&gt;
336 &lt;br clear="all" /&gt;
337 &lt;h1&gt;HTML Slidy: Slide Shows in XHTML&lt;/h1&gt;
338 &lt;p&gt;&lt;a href="http://www.w3.org/People/Raggett/"&gt;Dave Raggett,&lt;/a&gt;
339 &lt;a href="mailto:dsr@w3.org"&gt;dsr@w3.org&lt;/a&gt;&lt;/p&gt;
340&lt;/div&gt;
341</pre>
342
343<p>The <a
344href="http://www.w3.org/Talks/Tools/Slidy2/graphics/w3c-blue.css">w3c-blue.css</a>
345style sheet looks for the classes "slide" and "cover" on div
346and img elements using the CSS selector <em>div.slide.cover</em></p>
347
348<p>This technique can be used to assign your slides to different
349classes with a different appearence for each such class.</p>
350
351<p>Slidy also allows you to use different background markup for
352different slides, based upon shared class names, as in "foo" below.
353Backgrounds without additional class names are always shown except
354when the slide isn't transparent. You may need to tweak your
355custom style sheet.</p>
356
357<pre>
358&lt;div class="background foo"&gt;
359 ... background content ...
360&lt;div&gt;
361
362...
363
364&lt;div class="slide foo"&gt;
365 ... slide content ...
366&lt;div&gt;
367</pre>
368</div>
369
370<div class="slide">
371<h1>Incremental display of slide contents</h1>
372
373<p>For incremental display, use class="incremental", for
374instance:</p>
375
376<ul class="incremental">
377<li>First bullet point</li>
378
379<li>Second bullet point</li>
380
381<li>Third bullet point</li>
382</ul>
383
384<p class="incremental">which is marked up as follows:</p>
385
386<pre class="incremental">
387&lt;ul class="incremental"&gt;
388 &lt;li&gt;First bullet point&lt;/li&gt;
389 &lt;li&gt;Second bullet point&lt;/li&gt;
390 &lt;li&gt;Third bullet point&lt;/li&gt;
391&lt;/ul&gt;
392
393&lt;p class="incremental"&gt;which is marked up as follows:&lt;/p&gt;
394
395&lt;pre class="incremental"&gt;
396 ...
397&lt;/pre&gt;
398</pre>
399
400<div class="footnote">
401<p>An element is incrementally revealed if its parent element has
402class="incremental" or if itself has that attribute. Text nodes are
403not elements and are revealed when their parent element is revealed.
404You can use class="incremental" on any element except for &lt;br /&gt;.
405Use class="non-incremental" to override the effect of setting the
406parent element's class to incremental.</p>
407
408<p>Note: you will see a red asterisk on the left of the toolbar
409when there is still something more to reveal.</p>
410</div>
411</div>
412
413<div class="slide">
414<h1>Create outline lists with hidden content</h1>
415
416<p>You can make your bullet points or numbered list items
417into outlines that you can expand or collapse</p>
418
419<ul class="outline">
420<li>Just add <em>class="outline"</em> to the ul or ol
421element. Click on this list item for more details.
422
423<ul>
424<li>The Slidy script will then treat the list
425as an outline list.</li>
426<li>Clicking on outline list items will expand/collapse
427block-level elements within that list item.</li>
428<li>Click on the above to make this list item
429collapse again.</li>
430</ul>
431</li>
432<li>Users will then see expand/collapse icons as appropriate
433and may click anywhere on the list item to change its state.
434This particular list item can't be expanded or collapsed.</li>
435<li class="expand">Add class="expand" to any li elements that
436you want to start in an expanded state.
437
438<ul>
439<li>By default Slidy hides all the block level elements within the
440outline list items unless you have specified class="expand".</li>
441<li>Such pre-expanded items can be collapsed by clicking on them.</li>
442</ul>
443</li>
444<li>Note expand/collapse icon highlighting requires browser
445support for :hover which isn't supported by IE6.
446
447<ul>
448<li>Microsoft says it will be supported by IE7 along with
449many fixes for other CSS woes in IE6.</li>
450</ul>
451</li>
452</ul>
453
454<pre>
455&lt;ol class='outline'&gt;
456 &lt;!-- topic 1 starts collapsed --&gt;
457 &lt;li&gt;Topic 1
458 &lt;ol&gt;
459 &lt;li&gt;subtopic a&lt;/li&gt;
460 &lt;li&gt;subtopic b&lt;/li&gt;
461 &lt;/ol&gt;
462 &lt;/li&gt;
463 &lt;!-- topic 2 starts expanded --&gt;
464 &lt;li class="expand"&gt;Topic 2
465 &lt;ol&gt;
466 &lt;li&gt;subtopic c&lt;/li&gt;
467 &lt;li&gt;subtopic d&lt;/li&gt;
468 &lt;/ol&gt;
469 &lt;/li&gt;
470&lt;/ol&gt;
471</pre>
472</div>
473
474<!-- useful info at http://www.howtocreate.co.uk/wrongWithIE/ -->
475<div class="slide">
476<h1>Make your images scale with the browser window size</h1>
477
478<p>For adaptive layout, use percentage widths on images, together
479with CSS positioning:</p>
480
481<ul>
482<li>CSS positioning is simpler and more reliable than using
483tables</li>
484</ul>
485
486<pre>
487&lt;div class="slide"&gt;
488 &lt;h1&gt;Analysts - "Open standards programming will become
489 mainstream, focused around VoiceXML"&lt;/h1&gt;
490 &lt;!-- use CSS positioning and scaling for adaptive layout --&gt;
491 &lt;img src="trends.png" width="50%" style="float:left"
492 alt="projected growth of VoiceXML" /&gt;
493
494 &lt;blockquote style="float:right;width: 35%"&gt;
495 VoiceXML will dominate the voice environment, due to its
496 flexibility and eventual multimodal capabilities
497 &lt;/blockquote&gt;&lt;br clear="all" /&gt;
498
499 &lt;p style="text-align:center"&gt;Source Data Monitor, March
500 2004&lt;/p&gt;
501&lt;/div&gt;
502</pre>
503
504<p>To work around a CSS rendering bug in IE relating
505to margins, you can set display:inline on floated elements.</p>
506</div>
507
508<div class="slide">
509<h1>Incremental display of layered images</h1>
510
511<p>These can be marked up using CSS relative positioning, e.g.</p>
512
513<pre>
514&lt;div class="incremental"
515 style="margin-left: 4em; position: relative"&gt;
516 &lt;img src="graphics/face1.gif" alt="face"
517 style="position: static; vertical-align: bottom"/&gt;
518 &lt;img src="graphics/face2.gif" alt="eyes"
519 style="position: absolute; left: 0; top: 0" /&gt;
520 &lt;img src="graphics/face3.gif" alt="nose"
521 style="position: absolute; left: 0; top: 0" /&gt;
522 &lt;img src="graphics/face4.gif" alt="mouth"
523 style="position: absolute; left: 0; top: 0" /&gt;
524&lt;/div&gt;
525</pre>
526
527<p style="font-size: smaller;">You should also use transparent GIF
528images to avoid the IE/Win bug for alpha channel in PNG. A fix is
529expected in IE 7. A <a href=
530"http://www.skyzyx.com/scripts/sleight.php">work around</a> is
531available on skyzyx.com. My thanks to <a href=
532"http://www.webstandards.org/act/acid2/">ACID2</a> for the
533graphics.</p>
534
535<div class="incremental" style=
536"margin-left: 4em; position: relative;"><img src="graphics/face1.gif" alt=
537"face" style="position: static; vertical-align: bottom;" />
538<img src="graphics/face2.gif" alt="eyes" style=
539"position: absolute; left: 0pt; top: 0pt;" /> <img src="graphics/face3.gif"
540alt="nose" style="position: absolute; left: 0pt; top: 0pt;" />
541<img src="graphics/face4.gif" alt="mouth" style=
542"position: absolute; left: 0pt; top: 0pt;" /></div>
543</div>
544
545<div class="slide">
546<h1>How to center content vertically and horizontally</h1>
547<div class="vbox"></div>
548<div class="hbox">
549<p>Within the div element for your slide:</p>
550<pre>
551&lt;div class="vbox"&gt;&lt;/div&gt;
552&lt;div class="hbox"&gt;
553Place the content here
554&lt;/div&gt;
555</pre>
556<p>and style it with the following:</p>
557<pre>
558div.vbox {
559 float: left;
560 height: 40%; width: 50%;
561 margin-top: -220px;
562}
563div.hbox {
564 width:60%; margin-top: 0;
565 margin-left:auto; margin-right:auto;
566 height: 60%;
567 border:1px solid silver;
568 background:#F0F0F0;
569 overflow:auto;
570 text-align:left;
571 clear:both;
572}
573</pre>
574
575<p>The above styling is included in <a href="styles/w3c-blue.css">w3c-blue.css</a>,
576which is designed to be used with <a href="styles/slidy.css">slidy.css</a>, but you
577are encouraged to develop your own style sheet with your own look and feel.</p>
578</div>
579</div>
580
581<div class="slide">
582<h1>Include SVG Content</h1>
583
584<p>Inclusion of SVG content can be done using the object element,
585for example:</p>
586
587<div style="text-align: center;"><object data="graphics/example.svg" type=
588"image/svg+xml" title="Indian Office logo" height="10%" width=
589"50%"><img src="graphics/example.png" alt="Indian Office logo" width=
590"50%" /></object></div>
591
592<p>has been achieved by:</p>
593
594<pre>
595&lt;object data="graphics/example.svg" type="image/svg+xml"
596 width="50%" height="10%" title="Indian Office logo"&gt;
597 &lt;img src="graphics/example.png" width="50%"
598 alt="Indian Office logo" /&gt;
599&lt;/object&gt;
600</pre>
601
602<p>This ensures that the enclosed png is displayed when the browser
603has no plugin installed or can't display SVG directly. Providing
604such a fall back is very important! Don't forget the alt text for
605people who can't see the image.</p>
606
607<p>However, there are caveats, see the next slide!</p>
608</div>
609
610<div class="slide">
611<h1>Caveats with SVG+object</h1>
612
613<p>Adobe has recently withdrawn support for its SVG Viewer, so you are
614recommended to consider <a
615href="http://wiki.svg.org/Viewer_Implementations">alternatives</a>.
616If you still using the Adobe SVG viewer you should be aware of bugs
617when using the it with IE, Namely:</p>
618
619<ul>
620<li>Most modern browsers generally support SVG SVG Tiny 1.1 or better
621natively without the need for a plugin</li>
622
623<li>If you need to use Internet Explorer you are advised to upgrade
624to IE9 which includes native support for SVG.</li>
625
626<li>Patches to Internet Explorer mean that the Adobe SVG Viewer
627version 3.03 no longer works with IE6. You are therefore recommended
628to uninstall version 3.03 and instead install <a
629href="http://www.adobe.com/svg/viewer/install/beta.html">Adobe SVG Viewer
6306.0 preview</a> if this is available to to you.</li>
631
632<li>IE6 makes a <em>copy</em> of the SVG file on the local disc
633when displaying it; but doesn't pass the original URI to the plugin</li>
634
635<li>As a result relative references from within the SVG to external
636resources (scripts, CSS, images, other SVG) will break.</li>
637
638<li>The work around is to use absolute references within your SVG.</li>
639
640<li>On Windows, the Adobe SVG plugin doesn't respect the CSS z-index
641property, and if used on backgrounds will always show through other
642content</li>
643</ul>
644</div>
645
646<div class="slide">
647<h1>Additional Remarks</h1>
648
649<ul>
650<li>Slides are auto-numbered on the slide show footer</li>
651
652<li>You can link into the <a href="#(2)">middle</a> of a slide
653show:
654
655<ul>
656<li>It works out which slide you want and hides the rest</li>
657
658<li>You can even link between slides in the same slide show</li>
659
660<li>Individual sides can be addressed with the syntax #(<em>slide
661number</em>),<br />
662e.g. slide 3 of this presentation is: <a href=
663"#(3)">http://www.w3.org/Talks/Tools/Slidy#(3)</a>
664<ul>
665<li>Previous versions of Slidy used square brackets, which will
666also work.</li>
667</ul></li>
668<li>Note that the browser's back/forward buttons may not work as
669you might expect due to browser problems.</li>
670</ul>
671</li>
672
673<li>Adding "title" to the list of classes for div elements that serve
674as title pages will render the corresponding entry in the table of
675contents in bold italic text (press "C" now for an example)</li>
676
677<li>If your slides have more content than normal, use a <em>meta
678element</em> to request a smaller font
679
680<ul>
681<li>the following requests fonts to be one step smaller than
682the Slidy default for the current window width, and positive
683integers will make the fonts correspondingly larger</li>
684</ul>
685
686<pre>
687&lt;meta name="font-size-adjustment" content="-1" /&gt;
688</pre>
689
690<ul>
691<li>Slidy uses JavaScript to dynamically set the font size on the
692body element, but it is okay to specify relative font changes on
693other elements within your own style sheet, e.g.</li>
694</ul>
695<pre>div.slide.large { font-size: 200% }</pre>
696</li>
697
698<li>You are encouraged to ensure your markup is valid. <a href=
699"http://www.w3.org/People/Raggett/tidy/">HTML Tidy</a> can be used
700to find and correct common markup problems</li>
701
702<li>The slide show script and style sheet can be used freely under
703W3C's <a href=
704"http://www.w3.org/Consortium/Legal/copyright-software">software
705licensing</a> and <a href=
706"http://www.w3.org/Consortium/Legal/copyright-documents">document
707use</a> policies</li>
708<li>At <a href="http://xtech06.usefulinc.com/">XTech2006</a>
709I gave this <a href="http://www.w3.org/2006/05/Slidy-XTech/">presentation</a>
710on Slidy
711(<a href="http://www.w3.org/2006/05/Slidy-XTech/slidy-xtech06-dsr.pdf">Paper</a>).</li>
712</ul>
713</div>
714
715<div class="slide">
716<h1>Localization and automatic translation</h1>
717
718<p>Slidy now includes support for localization</p>
719
720 "es":this.strings_es,
721 "ca":this.strings_ca,
722 "cs":this.strings_cs,
723 "nl":this.strings_nl,
724 "de":this.strings_de,
725 "pl":this.strings_pl,
726 "fr":this.strings_fr,
727 "hu":this.strings_hu,
728 "it":this.strings_it,
729 "el":this.strings_el,
730 "jp":this.strings_ja,
731 "zh":this.strings_zh,
732 "ru":this.strings_ru,
733 "sv":this.strings_sv
734
735<ul>
736<li>The tool bar is localized according to the language of the presentation</li>
737<li>This is taken from the xml:lang or lang attributes on the html element</li>
738<li>The <a href="http://www.w3.org/Talks/Tools/Slidy2/help/help.html">help file</a> is
739selected based upon your browser's language preferences</li>
740<li>As of 29th July 2010, the languages supported are: English,
741Spanish, Catalonian, Czech, Dutch, German, Polish, French,
742Hungarian, Italian, Greek, Japanese, Chinese, Russian and
743Swedish</li>
744<li>If you would like to contribute localizations for other languages,
745please get in touch with Dave Raggett &lt;dsr@w3.org&gt;</li>
746<li>The following illustrates what was used for Spanish</li>
747</ul>
748<pre>
749// for each language there is an associative array
750 strings_es: {
751 "slide":"pág.",
752 "help?":"Ayuda",
753 "contents?":"Índice",
754 "table of contents":"tabla de contenidos",
755 "Table of Contents":"Tabla de Contenidos",
756 "restart presentation":"Reiniciar presentación",
757 "restart?":"Inicio"
758 },
759 help_es:
760 "Utilice el ratón, barra espaciadora, teclas Izda/Dcha, " +
761 "o Re pág y Av pág. Use S y B para cambiar el tamaño de fuente.",
762</pre>
763
764<p><strong>Note:</strong> Slidy now works with <a
765href="http://translate.google.com/translate?js=n&amp;prev=_t&amp;hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fwww.w3.org%2FTalks%2FTools%2FSlidy2%2F&amp;sl=en&amp;tl=fr&amp;history_state0=">current slides translated into French</a>. Use
766right mouse button to open frame without Google header. To disable
767automatic translation of the content of particular elements add
768<code>class="notranslate"</code>, see <a href="http://googlewebmastercentral.blogspot.com/2008/10/helping-you-break-language-barrier.html">breaking the language barrier</a>.</p>
769</div>
770
771<div class="slide">
772<h1>Future Plans</h1>
773
774<p>Recent additions have included a table of contents, and a way to
775hide and reveal content in the spirit of outline lists. The
776script has been rewritten to make it easier to combine with other
777scripts, e.g. for UI controls, and support swipes for navigation on
778touch screen devices. Further work is anticipated on the
779following:</p>
780
781<ul>
782<li>Collecting a gallery of good looking slide themes
783<ul>
784<li>Opportunities for graphics designers!</li>
785</ul>
786</li>
787<li>Bob Ferris has worked on <a
788href="https://github.com/zazi/slidy_tud/blob/master/README.md">a
789number of UI extensions</a> which could be incorporated into the
790W3C slidy script.</li>
791<li>Getting SVG Tiny to work on IE without need for SVG plugin
792<ul>
793<li>Using scripts to dynamically convert SVG Tiny to VML</li>
794<li>Note that IE9 introduces native SVG support, so it may
795no longer be worth working on SVG to VML for rendering of SVG</li>
796</ul>
797</li>
798<li>Pre-alpha version of wysiwyg slide editor (see <a
799href="editor/editor-screenshot1.png">screenshot</a>)
800<ul>
801<li>Using contentEditable when available, otherwise
802falling back to textarea and plain text conventions</li>
803<li>Using XMLHttpRequest to dynamically reflect changes to server</li>
804</ul>
805</li>
806<li>Mechanism for remotely driving Slidy as part of distributed meetings
807<ul>
808<li>Using XMLHttpRequest to listen for navigation commands</li>
809<li>Using VoIP for accompanying audio and teleconferencing</li>
810<li>Synchronizing recorded spoken presentation with currently viewed slide</li>
811</ul>
812</li>
813<li>Filters from PowerPoint and Open Office
814<ul>
815<li>and export to PDF via <a href="http://www.princexml.com/">PrinceXML</a></li>
816</ul>
817</li>
818</ul>
819
820<p>If you have comments, suggestions for improvements, or would
821like to volunteer your help with further work on Slidy,
822please contact <a href=
823"http://www.w3.org/People/Raggett/">Dave Raggett</a> &lt;<a href=
824"mailto:dsr@w3.org">dsr@w3.org</a>&gt;</p>
825</div>
826
827<div class="slide">
828<h1>Acknowledgements</h1>
829
830<ul>
831<li>My thanks to everyone who sent in bug reports and feature
832requests</li>
833<li>Opera Software for implementing CSS @media projection and
834promoting the idea of using the Web for presentations with
835<a href="http://www.opera.com/support/tutorials/operashow/">Opera
836Show</a></li>
837<li><a href="http://tantek.com/">Tantek &Ccedil;elik</a> for his
838pioneering work on applying JavaScript for slide presentations on
839other browsers</li>
840<li>Eric Meyer for taking this further with the excellent <a
841href="http://www.meyerweb.com/eric/tools/s5/s5-intro.html">S5</a></li>
842<li>W3C's <a href="http://dev.w3.org/cvsweb/slidemaker/">slidemaker
843tool</a>, which uses a perl script to split an html file up into
844one file per slide with navigation buttons</li>
845<li>Early versions of <a href="http://www.w3.org/People/Raggett/tidy/">HTML
846Tidy</a> which supported a means to create presentations via splitting
847html files on h2 elements</li>
848<li>Many sites with advice on JavaScript work arounds for browser
849variations</li>
850<li>Microsoft for pioneering contentEditable and XMLHTTP which
851both provide tremendous opportunities for Web applications</li>
852<li>Microsoft Office which provided the impetus for creating
853Slidy as a Web-based alternative to the ubiquitous use of PowerPoint</li>
854</ul>
855
856<p class="smaller"><strong>Note</strong> that while Slidy and
857S5 were developed independently, both support the use of the
858class values "slide" and "handout" for div elements. Slidy doesn't
859support the "layout" class featured in S5 and Opera Show, but
860instead provides a more flexible alternative with the "background"
861class, which enables different backgrounds on different slides.</p>
862</div>
863
864<div class="slide">
865<h1>Acknowledgements</h1>
866
867<p>The following people have contributed localizations:</p>
868
869<ul>
870<li>Emmanuelle Gutiérrez y Restrepo, Spanish</li>
871<li>Joan V. Baz, Catalan</li>
872<li>Jakub Vrána, Czech</li>
873<li>Ruud Steltenpool, Dutch</li>
874<li>Beat Vontobel, German</li>
875<li>Krzysztof Kotowicz, Polish</li>
876<li>Tamas Horvath, Hungarian</li>
877<li>Creso Moraes, Brazilian Portuguese</li>
878<li>Giuseppe Scollo, Italian</li>
879<li>Konstantinos Koukopoulos, Greek</li>
880<li>Yoshikazu Sawa (澤 義和), Japanese</li>
881<li>Shelley Shyan, Chinese</li>
882<li>Andrew Pantyukhin, Russian</li>
883<li>Saasha Metsärantala, Swedish</li>
884</ul>
885
886<p>The following people have contributed bug reports:</p>
887
888<ul>
889<li>Ivan Herman</li>
890<li>Steve Bratt</li>
891<li>Peter Patel-Schneider</li>
892<li>Matthew Coller</li>
893<li>Rune Heggtveit</li>
894<li>Gopal Venkatesan</li>
895<li>Cay Horstmann</li>
896<li>Schuyler Duveen</li>
897<li>Matteo Nannini</li>
898<li>Ralph Swick</li>
899<li>Jakub Vrána</li>
900<li>Philip Bolt</li>
901<li>Jon Frost</li>
902<li>Jonathan Chetwynd</li>
903<li>Nicolas Frisby</li>
904</ul>
905
906<p>Douglas Crockford for <a
907href="http://www.crockford.com/javascript/jsmin.html">jsmin</a>
908which was used to minify the script before compressing it with gzip.</p>
909</div>
910</body>
911</html>
Note: See TracBrowser for help on using the repository browser.