i am trying to have on side full of different images, each in a separate div. Most of them are laying on top of the other one. I understand how z-index works, but the problem is that if the user does not click on the images in order, he will not be able to see all the images that have a smaller z-index than the current one. So, I am looking for a code that lets any div that is clicked to come forward at any time. Does someone know what I am talking about and how to do this?