CASE 2 (Due: November 3, 2004)

 

1.      Create a folder on your computer/diskette (if you are in the lab, create this folder in the My Documents folder) 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 My Documents folder) called xxxx where xxxx is your full name.

 

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 2) 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-18719-0

4.      Click the 2. Data Files (HTML Tutorial 10 and Additional Cases)  ( 6.39 MB) link under Data Files for Students (Windows).

 

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.   Change gproduct.htm’s 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 order.htm’s title to "XXXX's Product Order Form", where XXXX is your full name.

16.   Change the text “Product Order Form” in order.htm’s page heading to “Gloves and Mitts Order Form”.

17.   Change the text "Product page" in order.htm’s initial paragraph to "Gloves and Mitts Page", and link it to the gloves.htm.

18.   Complete tasks 21-25. [Note: for task 23, create a JavaScript function named “Calculate()” within the head section of the order.htm file]

19.   Copy the shopping cart program from http://locker.uky.edu/~dsianita/cart.html.

20.   Create an html file called gorder.htm that uses a hidden frame for cart.html and the main frame for order.htm.

21.   Create a JavaScript function named "PlaceOrder()" within the head section of the order.htm file so that the details of the order will be added to the shopping cart. [Hint: if you do not want to modify the shopping cart code, you may consider concatenating items 2 to 5 as the “desc” parameter for the addcart function; and pass the value in the “total” input box as the “price” parameter for the addcart function.]

22.   Modify the Add to Shopping Cart button so that it runs the PlaceOrder() function when clicked.

23.   Add a View my Shopping Cart button next to the Add to Shopping Cart button.

24.   Modify the View my Shopping Cart button so that it displays the content of the shopping cart when clicked.

25.   Save your answer to the following questions as improve.doc:

         (a)     What are some of the problems you see with the way orders are currently processed at FrostiWear?

        (b)     What improvements could be made to resolve the problems identified above?

26.   Save a zip version of your ####HW2 folder.

27.   Submit your ####HW2.zip through the BlackBoard.