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

Home Forums JavaScript display image on user click

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #34393

    can anyone please help me with this. i want to create buttons, on which when clicked, an image should appear and when clicked on another the image should disappear.


    Hello amyth91,

    I would like to help, but your explanation was a little unclear.
    Is this feature for a menu or navigation?

    Please let me know if this is what you wanted.
    Load state: graphic btn
    OnClick state: change the color of a the btn or another graphic appears

    How many images will be displayed? That will determine how many states you need for each click.

    Please look at my resume website, and click on the game board to hide and show content.

    When you reply, can you provide more details, such as state one, state two, etc.

    Thanks :o)


    jguery toggle perhaps

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