RE: [ILUG] [OT] HTML checkboxes - can they be resized?

From: Justin MacCarthy (macarthy at domain iol.ie)
Date: Mon 08 Jul 2002 - 12:27:15 IST


No the can't be.

What you can't do is something like (untested) :

function changeimage()
{

if ckbox.value ==1
        ckbox.value = 0;
        imagechkbox.src= "uncheckedimage.gif";
else
        ckbox.value = 1
        imagechkbox.src= "checkedimage.gif";
}

<input type="hidden" name="ckbox">

<img src="uncheckedimage.gif" onclick="changeimage()" name="imagechkbox">

Justin

> -----Original Message-----
> From: ilug-admin at domain linux.ie [mailto:ilug-admin at domain linux.ie]On Behalf Of steve
> ryan
> Sent: Monday, July 08, 2002 12:13 PM
> To: ilug at domain linux.ie
> Subject: [ILUG] [OT] HTML checkboxes - can they be resized?
>
>
> Hi all,
>
> OK this is off topic but it is doing my head in...
>
> Can checkboxes on a HTML page be resized?? I can't seem to be
> able to make
> them any bigger than the default size.
>
> Or do you know anything about using an alternative image button for a
> checkbox? You know, a nice graphic which changes to a X or
> something when the
> "checkbox" is clicked. I've been googling for hours for an
> example of this
> but can't find anything...
>
> any help appreciated
>
> thanks,
> steve
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> information.
> List maintainer: listmaster at domain linux.ie
>
>
>



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:43 GMT