[Typo3-shop] zk_products : strange button behaviour

Toni Wenzel toni.wenzel at exsportance.de
Wed Jun 29 16:37:00 CEST 2005


Hi,

try this:

<button name="products_info"
onClick="document.getElementsByName('basketform')[0].action='###FORM_URL_INF
O###';"
><img src="fileadmin/template/shop/proceed.jpg" alt="proceed" /></button>


"Rob De Vries" <spam_this at pandora.be> schrieb im Newsbeitrag
news:mailman.1.1120048682.29388.typo3-project-tt-products at lists.netfielders.de...
> This may not be the right place to ask this (and maybe my html knoldege
> fails here):
>
> I have the following buttons in my shop:
> an image button:
>
> <input name="products_info" type="image"
> src="fileadmin/template/shop/proceed.jpg" alt="proceed"
>
onClick="document.getElementsByName('basketform')[0].action='###FORM_URL_INF
O###';"
> />
>
> and a regular button
>
> <input type="Submit" name="products_info" value="Proceed"
>
onClick="document.getElementsByName('basketform')[0].action='###FORM_URL_INF
O###';"
> />
>
> now the regularbutton works fine in Firefox but the image buttons fail
> to work in IE, Opera, Netscape etc ...
>
> can anyone give a clue what is going on here? what am I doing wrong?
>
> tnx
>
> rob





More information about the TYPO3-project-tt-products mailing list