We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

toggle between images (basic logic question)

Home Forums General Questions toggle between images (basic logic question)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33872
    cfxs
    Customer

    This is more of a basic logic question I think.

    I have 5 buttons and 5 images. How I toggle between them now is like this:

    if Button 1 is clicked
    Image 1 = show
    Image 2 = hide
    image 3 = hide
    etc

    if button 2 is clicked
    image 1 = hide
    image 2 = show
    image 3 = hide
    etc

    is this the correct approach? or is there a more efficient way?

    #33873

    Hi,

    yes this should work. You can also put all your images in a group, and hide the entire group, and then show only the image in question.

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.