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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Nov 3 06:30:31 2003 UTC (21 years ago) by wakaba
Branch: MAIN
Experimental WinIE implementation

1 wakaba 1.1 <!-- HSML Implementation : s:seqNo element displaying for WinIE -->
2     <PUBLIC:COMPONENT>
3     <PUBLIC:PROPERTY NAME="name" />
4     <SCRIPT LANGUAGE="JScript">
5     if (!element.document.__HSML_IMPLIE__)
6     element.document.__HSML_IMPLIE__ = new Array ();
7     if (!element.document.__HSML_IMPLIE__.seqNo)
8     element.document.__HSML_IMPLIE__.seqNo = new Array ();
9    
10     <!-- s|seqNo -->
11     element.appendChild (document.createTextNode (' (' + incrementSeqNumber (name) + ')'));
12     function incrementSeqNumber (name) {
13     if (isNaN (element.document.__HSML_IMPLIE__.seqNo[name]))
14     element.document.__HSML_IMPLIE__.seqNo[name] = 0;
15     return ++element.document.__HSML_IMPLIE__.seqNo[name];
16     }
17     </SCRIPT>
18     </PUBLIC:COMPONENT>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24