CASE 2 (Due:
1. Create a folder on your
computer/diskette (if you are in the lab, create this folder in the D: drive)
called ####HW2 where #### is the last four digits of your student number.
2. Create another folder on
your computer/diskette (if you are in the lab, create this folder in the D:
drive) called xxxx where xxxx
is your full name.
If your last name starts
with A-D, then do these:
If
you have the CD that comes with your HTML text, then:
3. Insert the CD that comes
with your HTML text in the CD-ROM drive.
4. Open the readme.htm file
from the CD and click the Data Files link then the Level III (Part
II) Data Files link.
If
you do not have the CD that comes with your HTML text, then:
3. Start your browser and enter
the URL http://www.course.com/catalog/downloads.cfm?isbn=0-619-10114-8
4. Click the Data Files
(HTML Tutorial 10 and Additional Cases) link.
5. Save the file 10114-8d2.exe
onto the folder bearing your full name (i.e., folder xxxx).
6. Double click the file
10114-8d2.exe and unzip the files onto the folder xxxx.
7. Double click the Tutorial.add folder then the Case1 folder from the folder xxxx.
8. Copy all the 17 files from
the Case1 folder onto the folder bearing your student number (i.e., ####HW2).
9. Rename the file Frosti.txt
in the folder ####HW2 to Gloves.htm.
10. Start your text editor and
open the file Gloves.htm and change the title of the Web page to "XXXX's FrostiWear Gloves",
where XXXX is your full name.
11. Complete tasks 3-8 of
Additional case 1 on pg.ADD1.01 of your HTML text using files from the folder
####HW2.
12. Complete task 9(a): Change
the Web page (gproduct.htm) title to "XXXX's FrostiWear Glove Products", where XXXX is your full
name.
13. Complete tasks 10-18.
14. Open order.txt and save it
as order.htm.
15. Change the Web page (order.htm)
title to "XXXX's Product Order Form", where
XXXX is your full name.
16. Change the text
"Product page" in the initial paragraph to "Gloves and Mitts
Page", and link it to the Gloves.htm file.
17. Complete tasks 21-25.
18. Copy the shopping cart
program from http://locker.uky.edu/~dsianita/cart.html
and modify the code to suit the purpose of your task.
19. Create an html file called gorder.htm
that uses a hidden frame for cart.html and the web page frame for order.htm.
20. Create a JavaScript function
named "AddtoCart()" so that the details of the order (items 1-6) will
be added to the shopping cart.
21. Modify the Add to
Shopping Cart button so that it runs the AddtoCart() function when
clicked.
22. Add a View my Shopping
Cart button next to the Add to Shopping Cart button.
23. Modify the View my
Shopping Cart button so that it displays the content of the shopping cart
when clicked. The overall subtotal,
discount, and total should also be displayed.
24. Complete tasks 28 and 29.
25. Turn in BOTH your printout
and your ####HW2 folder (see instructions below).
CASE 2 (Due:
If your last name starts with E-Z, then do these:
If
you have the CD that comes with your HTML text, then:
3. Insert the CD that comes
with your HTML text in the CD-ROM drive.
4. Open the readme.htm file
from the CD and click the Data Files link then the Level III (Part I)
Data Files link.
If
you do not have the CD that comes with your HTML text, then:
3. Start your browser and enter
the URL http://www.course.com/catalog/downloads.cfm?isbn=0-619-10114-8
4. Click the Data Files
(HTML Tutorial 1-9) link.
5. Save the file 10114-8d1.exe
onto the folder bearing your full name (i.e., folder xxxx).
6. Double click the file
10114-8d1.exe and unzip the files onto the folder xxxx.
7. Double click the Tutorial.09
folder from the folder xxxx.
8. Copy all the 3 files from
the review folder onto the folder bearing your student number (i.e., ####HW2).
9. Rename the file ordertxt2.htm
in the folder ####HW2 to order.htm.
10. Start your text editor and
open the file order.htm and change the title of the Web page to "XXXX's GPS-ware Order Form", where XXXX is your full
name.
11. Complete tasks 2-9 and 11 of
the review assignments on pg.9.48 of your HTML text using files from the folder
####HW2.
12. Change the Submit Order
button to Add to Shopping Cart button.
13. Copy the shopping cart
program from http://locker.uky.edu/~dsianita/cart.html
and modify the code to suit the purpose of your task.
14. Create an html file called
order2.htm that uses a hidden frame for cart.html and the web page frame for
order.htm.
15. Modify the chekform()
function so that the details of the order (i.e., product, product price,
quantity, and shipping charges) will be added to the shopping cart.
16. Modify the Add to
Shopping Cart button so that it runs the checkform() function when
clicked.
17. Add a View my Shopping
Cart button next to the Add to Shopping Cart button.
18. Modify the View my
Shopping Cart button so that it displays the content of the shopping cart
when clicked. The overall sales tax and
total should also be displayed.
19. Print a copy of the HTML and
JavaScript codes for all the pages you created.
20. Turn in BOTH your printout
and your ####HW2 folder (see instructions below).
NOTE:
– Copy the folder ####HW2 to
my homework folder on our BEIC server:
·
Locate the homework folder by clicking the following icons:
o
UK_Class ŕ B&
·
Locate your folder ####HW2 from your diskette or your locker
·
Drag your folder ####HW2 to the Homework window
– It is considered late if I
do not receive your work by
– Late penalty is 10% per day,
– It is each student’s
responsibility to ensure a functional and clearly labeled copy has been
submitted before the beginning of class on the due day,
– It is an individual work
(i.e., no copying from others or group work).