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.
2. Locate the entry for Michael Li. His e-mail address is mikeli@mpl.gov . Ad d the follow-
ing script element to the empty table cell that directly follows the Michael Li entry:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“mikeli”,”mpl.gov”);
</script>
3. Kate Howard's e-mail address is khoward@mpl.gov . In sert the following 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.
4. Robert Hope's e-mail address is rhope@mpl.gov . En ter the following script ele-
ment for his entry:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“rhope”,”mpl.gov”);
</script>
5. Wayne Lewis's e-mail address is wlewis@mpl.gov . En ter the following script ele-
ment in the empty table cell for his entry:
<scriptƒtype=”text/javascript”>
ƒƒƒshowEM(“wlewis”,”mpl.gov”);
</script>
6. Bill Forth's e-mail address is bforth@mpl.gov . En ter the following code in the
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.
Search WWH ::




Custom Search