QUOTE(Brian Chandler @ May 6 2009, 05:42 AM)

QUOTE
um...Actually, I need to use Javascript to create the page that can read the content from the .txt file...and display on the .htm page...
Right, well, look. If you can explain *why* you "need" to use Javascript for this, maybe things will become clearer. Is this homework of some sort?
It is because the mark contribution guide of the homework is shown as:HTML + CSS + JS, so I think using JS is a must...
Also, the requirement of this section is shown as below and I can only understand I need to show the specific images with related details from the .txt file. Am I right@@...?
Actually, I am willing to learn more about the HTML, even JS. However, I don't have too much time to understand the coding in the short time...(Since the deadline is the coming Sat.)So that's why I am so hurry for this...
I know that my request is unreasonable...but would you mind to provide some coding for this part...?
This is a single “prototype” catalogue page that contains a table (or tables) of all the product items
from one of the categories on offer. (In the second assignment, the content will be generated using
database information and server-side programming allowing all of the categories to be included!)
• For each product item show the thumbnail image and basic details: item name and cost.
o The file details.txt has all the details available. The details are separated by commas.
Hint: It may be worth “importing” and then “exporting” the text file with Excel, but make sure you
clean up the resulting HTML!
• There are many products available, but you only need to show the products for your chosen
category.
• If the visitor clicks on an image we would want to show them more details,
o This is just a prototype site and we don’t have all the images and details yet.
o Make all of the items (the text and/or images) as link to the “details_1.shtml” prototype
page. i.e. no matter which category the user selects the same product will show.
(Assignment 2 will extend this so that the selected product will show)
• You can use a table to present the catalogue data (+CSS), but you must use <th> (heading)
elements for heading cells, and provide a suitable caption and summary for the table