JavaScript for E-Commerce

Back | Contents | Next

Framework - item-0001.html, ...

The item-0001.html, item-0002.html, ..., item-0983.html files contain the actual item name, description and picture for each item. The name of the file consists of the string "item-" followed by the item's unique identifier number padded out to four digits.

Source

<html>

<body>

<table border="0" cellpadding="1" cellspacing="1">
    <tr>
        <td><b>Penyon - Some People</b></td>
        <td align="right">$10.00</td>
    </tr>
    <tr>
        <td colspan="2">

            <img src="images/0001.jpg" width="128" height="128"
                border="0" align="left" hspace="8" vspace="4">

            <p><i>Penyon</i> is an independent
            rock band based in Melbourne, Australia.</p>

            <p><i>Some People</i> is their first EP.  Sample MP3 files
            can be downloaded from their
            <a href="http://www.penyon.com/" target="_blank">web site</a>.</p>

            <ol>
                <li>Resolution
                <li>My Way
                <li>Break Away
                <li>Y.P.D. Bikini
                <li>Shweet
                <li>Sleazy
            <ol>

        </td>
    </tr>
</table>

</body>

</html>
			

Description

Only the source of item-0001.html is listed here.

These files are straight HTML. They will be loaded into the content frame when the user selects the respective item in the item frame.


Back | Contents | Next

If you find this tutorial useful and want to show your apprectiation, a small donation is most welcome.