Click to See Complete Forum and Search --> : Problem using two frames, multiple tables, and a submit button


hende
04-02-2006, 04:08 PM
I'm trying to use Dreamweaver to create a wedding website for my brother, and have to custom build a wedding registry for them.

I've split the website into two frames, the left is a table with a list of gifts, and the right is just a frame for each gift to be linked to.

I won't post the whole table (it's quite long), but here is an example:
<body>
<table width="100" border="0">
<tr>
<td width="94"><a href="Test1.html" target="mainFrame">Pillow</a></td>
</tr>

This links to another table (Test1.html) that contains the gift information:

<body>
<table width="332" height="215" border="0">
<tr>
<td height="56">
<strong>Item Description:</strong>
<br /> <a href="http://www1.macys.com/catalog/product/index.ognc?ID=177666&amp;PseudoCat=se-xx-xx-xx.esn_results" target="_blank">Down Covered Memory Pillow - Charter Club</a></td>
</tr>
<tr> <td><strong>Vendor:</strong><Br />Macy's</td> </tr>
<tr> <td><strong>Price:</strong><br />59.98</td> </tr>
<tr> <td><strong>Quantity Needed:</strong><br />1</td> </tr>
<tr> <td> </td> </tr>
</table>
</body>

This is where my problem is. The last empty row needs to be a submit button. I need that submit button to:
1) e-mail me a copy of the table. I think I can figure this out.
2) I also need the submit button to delete the table entry "pillow" in the gift registry that is in the left frame's table. I need this to be done so that we don't have multiple people ordering the same item.

I'm really struggling to get this part done, so any help that could be offered would be greatly appreciated.

Thanks,
-Drew

Compguy Pete
04-03-2006, 03:21 PM
Why not just post a link to the page on the web...

You cannont do your #2 question with just HTML... Your best bet would be to scrap this whole idea and do some type of modified shopping cart

Where you can set an inventory and then show when it's been taken care of "amount needed" would go from that amount to 0.

hende
04-03-2006, 08:14 PM
Well, that is a good question you've asked of me, and a very good answer to my problem. I think I will use that idea.

Thanks a lot for you response,
-Drew