|
|
Add the
following points to web page
Notes
|
 |
|
1. |
at HTML
Source of web page add this Javascript text
<SCRIPT
language=JavaScript type=text/javascript> //Show
date, var d=new Date(); var monthname=new
Array("January","February","March","April","May","June","July","August","September","October","November","December"); var
dayname=new
Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); //Ensure
correct for language. English is "January 1, 2004" var
TODAY = dayname[d.getDay()] + ", " + monthname[d.getMonth()] +
" " + d.getDate() + ", " +
d.getFullYear();
</SCRIPT> |
2. |
- at Normal Source of web page,
right click the
specific cell, on the shortcut menu
click Cell Proprieties, the Cell Proprieties
dialog box appears, select the Horizontal
alignment combo box to value
Center, and then click ok
- at Normal Source, into this
cell, type 'A' and select it
- at HTML source, appears the
place selected at the previous point ( letter 'A'
typed and selected at Normal Source)
<td width="25%"
align="center">A</td>
- at HTML source, replace the
previous HTML text by the following HTML
text. (color of old text - red, color of new text - black)
<td width="25%"
align="center"> <FONT face="Times New
Roman" size=2> <SCRIPT language=JavaScript
type=text/javascript> document.write(TODAY); </SCRIPT> </FONT></td> | |
|
| | |