/[suikacvs]/markup/slide/implementation/slide-style-winie-slide.htc
Suika

Contents of /markup/slide/implementation/slide-style-winie-slide.htc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Apr 23 06:57:18 2005 UTC (19 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
HTCs incorporated into CSSs as expression; xhtml2:title now shown as window title

1 wakaba 1.1 <PUBLIC:COMPONENT>
2     <PUBLIC:PROPERTY NAME="role" />
3     <SCRIPT LANGUAGE="JScript">
4     /* s|slide {
5     display: block;
6     padding: 1.5em;
7     overflow: auto;
8     line-height: 2.1;
9     font-family: sans-serif;
10     } */
11     element.style.display = 'block';
12     element.style.padding = '1.5em';
13     element.style.overflow = 'auto';
14     element.style.lineHeight = '2.1';
15     element.style.fontFamily = 'sans-serif';
16    
17     // s|slide h|h:first-child
18     var el = element.getElementsByTagName ('h')[0];
19     el.style.textAlign = 'center';
20     el.style.fontSize = '200%';
21    
22     // s|slide[role~="cover"] h|h:first-child
23     if (role == 'cover') {
24     var title = element.getElementsByTagName ('h')[0];
25     title.style.textAlign = 'center';
26     title.style.marginTop = '25%';
27     title.style.marginBottom = '25%';
28     title.style.fontSize = '270%';
29     }
30     </SCRIPT>
31     </PUBLIC:COMPONENT>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24