three states checkbox

Discussion in 'Javascript' started by Bob Bedford, Jul 1, 2004.

  1. Bob Bedford

    Bob Bedford Guest

    I've been able to disable a checkbox when needed. This is fine, but on my
    website, you don't really see that the checkbox is disabled. Does it exist a
    way to show a red X in the middle of the checkbox instead of disable it, and
    also avoid a user to click on it ?

    I've looked around, but couldn't find any help.

    Bob Bedford, Jul 1, 2004
    1. Advertisements

  2. Bob Bedford

    Mick White Guest

    Your browser should give you some clue that an element is disabled,
    usually the element is "greyed" out.
    Mick White, Jul 2, 2004
    1. Advertisements

  3. Bob Bedford

    Bob Bedford Guest

    I know, but since the background is grey, it doesn't look very well !!!! and
    the purpose is also to show the disabled buttons.
    Bob Bedford, Jul 2, 2004
  4. Bob Bedford

    Ivo Guest

    Overlay a transparant image with a big red X over the checkbox using
    position:absolute. This way the image will be clicked, not the checkbox.
    Ivo, Jul 2, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.