[ic] 2 Button tag quesions

ffire interchange-users@icdevgroup.org
Mon Jul 15 13:22:01 2002


On Tuesday 16 July 2002 00:17, you wrote:
> At 12:55 PM 07/15/2002 +0800, you wrote:
> >2 questions:
> >
> >1) The image source specified in the [button] tag was never
> > called. I'm quite sure I've got the pathname/filename correct,
> > I've tried using:
> >
> ><input type="image"
> >src="__THEME_IMG_DIR__shoppingbag.gif" alt="Add To Shopping Bag">
> >
> >and it worked.  But using:
> >
> >[button
> >        text="Add To Shopping Bag"
> >             src="__THEME_IMG_DIR__shoppingbag.gif"
> >        hidetext=1
> >       ]
> >       mv_nextpage=ord/checkout
> >       mv_todo=submit
> >[/button]
> >
> >...does not display the image file, instead, showing the text.
> >What's wrong?
>
> Is this on a secure (https://) page?
>
> - Ed L.

No, not using secure pages at all.
Is there a difference?


> >2) Is there a way to make a button of a link?
> >I would like to achieve the effect of:
> >
> ><a href="[area ord/checkout]"><font
> >class="my_button">Checkout</font></a>
> >
> >...which would look like a button, where "my_button" is a css
> > class similar to that of "input".  Currently, if I do that, the
> > link button is one pixel off from the top and left, so that if I
> > were to place this together next to a button, they look uneven.
> >
> >In an attempt to make them look "even", I've used:
> >
> ><input type="image" src="__THEME_IMG_DIR__shoppingbag.gif"
> > alt="Add To Shopping Bag">
> >&nbsp;&nbsp;
> ><a href="[area ord/checkout]"><img alt="Checkout"
> >src="__THEME_IMG_DIR__checkout.gif" class="my_button"></a>
> >
> >
> >But this would require the creation of so many images.
> >Essentially, I do not want to create my own images, that's why I'm
> >seeking help to make the [button] tag work (question 2).
> >
> >In case I really cannot make a button of a link, I'll have to fall
> >back on creating images.  I know I don't have to use the [button]
> > tag to use images (ie, can use <input type="image" ...), but I'm
> > just wondering why using [button] tag cannot display images
> > (question 1). _______________________________________________
> >interchange-users mailing list
> >interchange-users@icdevgroup.org
> >http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
> ===============================================================
> Increase profits from your Interchange store...
> http://www.newmediaems.com/cgi-bin/nm/software_fus.html
> ===============================================================
> New Media E.M.S.               Software Solutions for Business
> 463 Main St., Suite D          eCommerce | Consulting | Hosting
> Placerville, CA  95667         edl@newmediaems.com
> (530) 622-9421                 http://www.newmediaems.com
> (866) 519-4680 Toll-Free       (530) 622-9426 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users