/[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.2 - (show 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 <!-- 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