[ic] Image as a button in results.html

Hans-Joachim Leidinger jojo@leidinger.net
Fri, 23 Feb 2001 21:03:06 +0100


petri.pietola@nokia.com wrote:
> 
> Hi
> 
> I have tried to replace Buy Now button with an image as a button in
> results.html page with no luck.
> I have searched archives but haven't found solution, I've also tried
> [button] tags with several different parameters.
> 
> So how do I have to modify this row to get buy.gif to act like buy button in
> results.html ?
> <td valign=top width=30><FONT __FFACE__ size=2><input type=submit value=Buy
> onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td>

An example from a real catalog....

<A HREF="[area form="
                    mv_order_item=[item-code]
                    mv_order_quantity=1
                    mv_todo=refresh"]"
                    onMouseOver="window.status='[L]ORDER NOW[/L]';
return true;"
                    onMouseOut="window.status=''; return true;"> 
<IMG BORDER=0 SRC="men/buy.gif" ALT="[L]ORDER NOW[/L]" HEIGHT=33
WIDTH=33></A>


Joachim

-- 
-------------Hans-Joachim Leidinger---------------------