jockrocker
08-03-2004, 03:53 PM
Hi folks, my first post :D
I am creating a Shopping Cart for my Uni exam and I have it just about finished except there's one problem that's bugging me!
My page is split into frames. I have my products in one frame and when you click the ADD TO CART button it sends the product info like so :
<A href="javascript:additem('Nikon D70', 6.1, 545.00, 1);">
Now this displays neatly in a little table on the left hand frame. My problem is I want to display a small image of the product before the description but am struggling to figure how it works!
e.g. I want to be able to pass ...
<A href="javascript:additem(IMAGE URL, 'Nikon D70', 6.1, 545.00, 1);">
Any ideas how this is done
:confused:
"That's what dreams are made of" Sammy Hagar
I am creating a Shopping Cart for my Uni exam and I have it just about finished except there's one problem that's bugging me!
My page is split into frames. I have my products in one frame and when you click the ADD TO CART button it sends the product info like so :
<A href="javascript:additem('Nikon D70', 6.1, 545.00, 1);">
Now this displays neatly in a little table on the left hand frame. My problem is I want to display a small image of the product before the description but am struggling to figure how it works!
e.g. I want to be able to pass ...
<A href="javascript:additem(IMAGE URL, 'Nikon D70', 6.1, 545.00, 1);">
Any ideas how this is done
:confused:
"That's what dreams are made of" Sammy Hagar