Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS on off buttons

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #45211
    jasemilly
    Member

    I would like to have an array of buttons where if one is in the ‘on’ state the rest are ‘off’

    When I select a different button that becomes ‘on’ and all the others are ‘off’

    I have seen examples for radio buttons but I would like a more traditonal button.

    I can’t find a tutoria on this if someone could point me in the right direction that would be great!!!!

    thanks
    Jasemilly

    #137151
    Paulie_D
    Member

    It sort of depends on what you want them to do.

    You can style radio buttons anyway you want with CSS….I think.

    http://www.andreapinchi.it/how-to-style-radio-buttons-with-pure-css/

    or

    http://www.inserthtml.com/2012/06/custom-form-radio-checkbox/

    #137152
    jasemilly
    Member

    Will check that out I didn’t think you could, fire different Jquery functions on the click event.

    #137153
    Paulie_D
    Member

    @jasemilly This has nothing to do with JQuery and my links didn’t mention it (on a cursory read).

    What the OP seems to be after is the styling of radio buttons..so that’s what I gave him.

    #137211
    jasemilly
    Member

    Thanks guys they look like what I can use :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.