/[suikacvs]/www/test/dom/string/anchor-5.html
Suika

Contents of /www/test/dom/string/anchor-5.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Oct 29 12:29:50 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New

1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>String.anchor (String) and document.anchors</title>
5 </head>
6 <body>
7 <h1><code><var>String</var>.anchor (<var>String</var>)</code> and
8 <code>document.anchors</code></h1>
9
10 <script type="text/javascript">
11 document.write ('<p><code>document.anchors.length</code> (before): '
12 + document.anchors.length + '</p>');
13
14 var s = 'text content'.anchor ('name');
15
16 document.write ('<p><code>document.anchors.length</code> (after): '
17 + document.anchors.length + '</p>');
18 </script>
19
20 </body>
21 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24