Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.4 KiB

  1. <HTML>
  2. <HEAD>
  3. <META NAME="GENERATOR" Content="Microsoft Developer Studio">
  4. <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
  5. <TITLE>Document Title</TITLE>
  6. </HEAD>
  7. <BODY>
  8. <SCRIPT LANGUAGE=javascript>
  9. <!--
  10. function Print( line )
  11. {
  12. out.innerHTML = out.innerHTML + line + "\n";
  13. }
  14. function button_exec()
  15. {
  16. debugger;
  17. query = "";
  18. qrc = window.external.QueryTaxonomy( query );
  19. for(i=0; i<qrc.count; i++)
  20. {
  21. id = qrc.Item( i );
  22. if(id.Entry == "" && id.TopicURL == "")
  23. {
  24. Print( "<DIV class=Ontology>" + id.Title + "</DIV><TABLE BORDER=0 WIDTH=100%>" );
  25. break;
  26. }
  27. }
  28. for(i=0; i<qrc.count; i++)
  29. {
  30. id = qrc.Item( i );
  31. if(id.Entry == "" && id.TopicURL == "") continue;
  32. if(id.Entry != "")
  33. {
  34. HTag = "ItemHeading";
  35. HRef = id.Entry;
  36. }
  37. else
  38. {
  39. HTag = "PlainText";
  40. HRef = id.TopicURL;
  41. }
  42. Print( "<TD VALIGN=TOP WIDTH=\"50%\"><DIV class=" + HTag + ">" );
  43. Print( "<A HREF=\"" + HRef + "/\">" + id.Title + "</A></DIV><BR>" );
  44. Print( "<DIV class=PlainText>" + id.Description + "</DIV>" );
  45. Print( "</TD>" );
  46. }
  47. Print( "</TABLE>" );
  48. }
  49. //-->
  50. </SCRIPT>
  51. <INPUT type="button" value="Start" id=button1 name=button1 onClick="button_exec();"><P>
  52. <DIV ID=out></DIV>
  53. </BODY>
  54. </HTML>