Forum Moderators: open

Message Too Old, No Replies

Turning an image link into a text link

The problem is the image isn't using an anchor tag

         

Jeremy_H

11:51 pm on Oct 10, 2005 (gmt 0)

10+ Year Member



Currently I have an image that takes the user to another page, and I’m trying to make that into a text link.

The problem is that the image code looks like this:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="store@example.com">
<input name="submit" type="image" src="cart.gif">
<input type="hidden" name="display" value="1">
</form>

Any ideas on how I can do that?

Thanks

g butler2000

12:03 am on Oct 11, 2005 (gmt 0)

10+ Year Member



To make things easy just make your text into a gif using a graphics editor or using flash text and then link the image in the code. Easiest way I would think.

Dijkgraaf

12:44 am on Oct 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A text link? Or do you mean a standard submit button?
If you mean a standard submit button replace
<input name="submit" type="image" src="cart.gif">
with
<input name="submit" type="submit" value="submit">

Jeremy_H

3:14 pm on Oct 11, 2005 (gmt 0)

10+ Year Member



Thanks GB and Dijkgraaf for your input!

I thought there was a way to make it into standard text, but when I tried it, the link didn't work.

I tried it again this morning, and I guess I must have typed something wrong the first time, because now I've gotten it to work.

<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_cart&business=store@example.com&display=1">text</a>

Thanks