home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / dhtmlunl / dhtml.exe / CD Content / Chap13 / dun13_4.txt < prev    next >
Encoding:
Text File  |  1997-12-18  |  476 b   |  24 lines

  1. <HTML>
  2. <TITLE>
  3. Dynamic HTML - Collections
  4. </TITLE>
  5.  
  6. <BODY ID=myDocument>
  7. <H1>Dynamic HTML is Fun!</H1>
  8. Why?
  9. <UL>
  10.     <LI>Because of script interaction</LI>
  11.     <LI>Dynamic positioning and properties</LI>
  12.     <LI>It just is!</LI>
  13. </UL>
  14.  
  15. <SCRIPT LANGUAGE="VBScript">
  16. msgbox myDocument.children.length
  17. for l=0 to myDocument.children.length-1
  18.     document.write myDocument.children(l).tagName & "<BR>"
  19. next
  20. </SCRIPT>
  21.  
  22. </BODY>
  23. </HTML>
  24.