home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / tydhtml / dyn.exe / CHAP08 / dyn8_2.txt < prev    next >
Encoding:
Text File  |  1997-10-02  |  2.8 KB  |  87 lines

  1. <HTML>
  2.  
  3. <BODY BGCOLOR=#FFFFFF>
  4.  
  5. <HEAD>
  6.  
  7. <FONT FACE="verdana,arial,helvetica" SIZE=3>
  8.  
  9. <TITLE>Today"s High Tempuratures</TITLE>
  10.  
  11. </HEAD>
  12.  
  13. <BODY>
  14.  
  15. <STYLE>
  16.  
  17. .redPlain    {color:rgb(255,0,0);
  18.  
  19.               font-size:10pt;
  20.  
  21.               font-style:normal;}
  22.  
  23. .redSmall    {color:rgb(255,0,0);
  24.  
  25.               font-size:2pt;
  26.  
  27.               font-style:normal;}
  28.  
  29. .blackPlain  {color:rgb(0,0,0);
  30.  
  31.               font-style:normal;
  32.  
  33.               font-size:16pt;}
  34.  
  35. </STYLE>
  36.  
  37. <H3>The Verentian Valley News</H3>
  38.  
  39. <HR>
  40.  
  41. <TABLE>
  42.  
  43. <TR>
  44.  
  45. <TD WIDTH=200>
  46.  
  47. <P ID=T1 CLASS="redPlain" onmouseover="redP();">Argunk      71
  48.  
  49. <P ID=T2 CLASS="redPlain" onmouseover="redP();">Henders     63
  50.  
  51. <P ID=T3 CLASS="redPlain" onmouseover="redP();">Krikett     69
  52.  
  53. <P ID=T4 CLASS="redPlain" onmouseover="redP();">Lowville    68
  54.  
  55. <P ID=T5 CLASS="redPlain" onmouseover="redP();">Viennes     75
  56.  
  57. <P ID=T6 CLASS="redPlain" onmouseover="redP();">Yinsburgh   75
  58.  
  59. </TD>
  60.  
  61. <TD>
  62.  
  63. <P ID=PG1 CLASS="redSmall">
  64.  
  65. The mayor here, Cora James, announces a new plan for curtailing 
  66.  
  67. the current trend of juvenile delinquency: an evening curfew at 9PM.
  68.  
  69. <P ID=PG2 CLASS="redSmall">
  70.  
  71.  community residents continue to keep a lid on the details of the theme 
  72.  
  73. for this year's Solstice Day Festival yet smile smugly when asked about it.
  74.  
  75. <P ID=PG3 CLASS="redSmall">
  76.  
  77. This year farmers suggest a winter wheat crop may be a good idea.  It has 
  78.  
  79. been 6 years since the last attempt.
  80.  
  81. <P ID=PG4 CLASS="redSmall">
  82.  
  83. Once again, the boy wonder, Jimmy Westen, has made statewide news for his 
  84.  
  85. latest invention.
  86.  
  87. <P ID=PG5 CLASS="redSmall">
  88.  
  89. Our regional professional baseball squad wins its fifth straight and takes 
  90.  
  91. solid hold of second place.
  92.  
  93. <P ID=PG6 CLASS="redSmall">
  94.  
  95. Actress Jennifer Urgent returns home to find community support before 
  96.  
  97. considering her next effort.
  98.  
  99. </TD>
  100.  
  101. </TR>
  102.  
  103. </TABLE>
  104.  
  105. <SCRIPT LANGUAGE=JavaScript>
  106.  
  107. var source
  108.  
  109. function redP() {
  110.  
  111.    source = window.event.srcElement;
  112.  
  113.    T1.className="redPlain";
  114.  
  115.    T2.className="redPlain";
  116.  
  117.    T3.className="redPlain";
  118.  
  119.    T4.className="redPlain";
  120.  
  121.    T5.className="redPlain";
  122.  
  123.    T6.className="redPlain";
  124.  
  125.    PG1.className="redSmall";
  126.  
  127.    PG2.className="redSmall";
  128.  
  129.    PG3.className="redSmall";
  130.  
  131.    PG4.className="redSmall";
  132.  
  133.    PG5.className="redSmall";
  134.  
  135.    PG6.className="redSmall";
  136.  
  137.    source.className="blackPlain";
  138.  
  139.    if (T1.className=="blackPlain")
  140.  
  141.        PG1.className="blackPlain";
  142.  
  143.    if (T2.className=="blackPlain")
  144.  
  145.        PG2.className="blackPlain";
  146.  
  147.    if (T3.className=="blackPlain")
  148.  
  149.        PG3.className="blackPlain";
  150.  
  151.    if (T4.className=="blackPlain")
  152.  
  153.        PG4.className="blackPlain";
  154.  
  155.    if (T5.className=="blackPlain")
  156.  
  157.        PG5.className="blackPlain";
  158.  
  159.    if (T6.className=="blackPlain")
  160.  
  161.        PG6.className="blackPlain";
  162.  
  163. }
  164.  
  165. </SCRIPT>
  166.  
  167. </FONT>
  168.  
  169. </BODY>
  170.  
  171. </HTML>
  172.  
  173.