| Wayne State University College of Lifelong Learning Interdisciplinary Studies Program Fall, 2000 http://www.cll.wayne.edu/isp/drbowen/inetf00 |
Instructor: David R. Bowen 2311 A/AB Wayne State University Detroit, MI 48202 |
Daytime tel: (313) 577-1498 Evening tel: (248) 549-8518 FAX: (313) 577-8585 Email: d.r.bowen@wayne.edu |
Instructor's
home page (David R. Bowen) at http://www.cll.wayne.edu/isp/drbowen |
||
| eCommerce: Using the Web to Find and Service
Customers AGS 3360 Section 986 Call Number 92073 or ISP 5500 Section 982 Call Number 92136 |
Computers, the Internet, and Society AGS 3340 Section 981 Call Number 96761 or ISP 5990 Section 982 Call Number 99915 |
|
Last updated: 9/13/00
iHTML Project 1
(eCommerce only)
- The elements inside the dotted line can be moved around like letters using spacebar, tab, Enter (new line) etc. You can move the cursor around with the error keys, just as with letters. You can type the labels for the text boxes by putting the cursor just at the left side of the text box and typing the label. You can also put other text and/or pictures in the form.
- To name a form field, right-click on it and select Form Field Properties... and then type in the name and click OK.
- After you have the form and the rest of the web page looking the way you want, save the file. You will have to remember the path and name of the file, so you should write these down. Then there is one last change you must make - tell iHTML what iht file to use to process this information when it is submitted. So, decide at this point on the name of the iHTML file that you will used (for example, project1.iht). With your form still open in FrontPage, click on the HTML tab near the lower left corner of the screen, and find the <form...> tag. You will probably see something like
- Change this as follows:
- In the <form...> tag, inside the quotation marks replace what is there with the name of the iHTML file you will generate. Include the extension .iht
- Delete the comment starting with <!-- and ending with -->. There may be more than one comment. Delete them all.
- Switch back to Normal view and verify that the web page still oooks OK
- Perform a final Save. Switch back to HTML view and verify that these edits have not been changed by FrontPage
- Close FrontPage
Example iHTML file:
<!ihtml>
<!--Inserting the current information into the Plan Table-->
<iHTML DBNAME="aaaDSN"
SQL="insert into bbb (ccc, ddd)
Values(':eee', ':fff')"
ESC="FALSE"
FAILURE="Error: :i_error :i_errortext :i_sqlerrortext<br>">
<!--Display information on the response page-->
<html>
<head>
<title>ggg</title>
</head>
<Body>
<p>Your information, <i>:eee </i>, has been received and will be stored.</p>
<p>Thank you for using our web page.</p>
<p>The email address that you gave us is :fff</p>
</body>
</html>
<!-- Automatic Email generation -->
<iMAIL ADDRESS="fff"
FROM="aaa@www.cll.wayne.edu"
HOST="www.cll.wayne.edu"
SUBJECT="Email confirmation"
OUTPUT="Your confirmation was emailed successfully.<br>"
REPLYTO="aaa@www.cll.wayne.edu"
SENDER="aaa">
Name: :eee
We have stored the information you entered on our web site.
End of message
</iMAIL>