HTML and CSS Reference
In-Depth Information
To add the remaining e-mail addresses:
◗
1.
Return to the
mpl.htm
file in your text editor.
◗
ing
script
element to the empty table cell that directly follows the Michael Li entry:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“mikeli”,”mpl.gov”);
</script>
◗
element in the empty table cell for her entry in the staff directory:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“khoward”,”mpl.gov”);
</script>
Trouble?
You can use the copy and paste feature of your text editor because the
additions you'll make to the file in these steps are so similar. If you're not sure
where to place these script elements, refer to Figure 10-19.
◗
ment for his entry:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“rhope”,”mpl.gov”);
</script>
◗
ment in the empty table cell for his entry:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“wlewis”,”mpl.gov”);
</script>
◗
empty table cell for his entry:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“bforth”,”mpl.gov”);
</script>
Figure 10-19 shows the revised code in the mpl.htm file.