Posted by Rik Wasmus on 10/18/07 14:43
On Thu, 18 Oct 2007 16:39:39 +0200, <crazychrisy54@hotmail.com> wrote:
> Hi there
>
> I just wondered if there is any way using GD to insert a clickable
> button or some clickable text into a image? It is possible to create
> images for buttons but what if you want a clickable button *inside*
> another image.
>
> I don't know if this is along the right lines but the following code
> puts a image inside another image. Perhaps I could then make im2
> clickable or is it just not possible? Any help would be very much
> appreciated!
Please read up on your html. An image will always be just an image. Any =
=
'click'-detection has to come from something else. In html <input =
type=3D"image"> and imagemaps come to mind.
Also, with HTML, it would be a nightmare to maintain/update images with =
=
fixed button images inside on an update. Just use CSS positioning, which=
=
is most userfriendly and portable.
-- =
Rik Wasmus
[Back to original message]
|