JavaScript for E-Commerce

Back | Contents | Next
Please note that this tutorial was first published in the year 2000, and is based on work conducted between 1997 and 2000. While we trust that it still constitutes useful tutorial material, it should not necessarily be construed as to impart best practice in the year 2019. For more details please see this blog post.

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.




<table border="0" cellpadding="1" cellspacing="1">
        <td><b>Penyon - Some People</b></td>
        <td align="right">$10.00</td>
        <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="" target="_blank">web site</a>.</p>

                <li>My Way
                <li>Break Away
                <li>Y.P.D. Bikini





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

This tutorial has been translated to Serbo-Croatian language by Jovana Milutinovich from

This tutorial has been translated to Slovak by Juraj Rehorovsky from Coupofy team.

If you find this tutorial useful and want to show your apprectiation, a small donation is most welcome, either in Bitcoins to 19QpWDmZPmTqawcr8VsXcbdc4Znq1ecrza, or via PayPal.