Skip to content
Advertisement

JavaScript wont hide text, just images

I am having problems with my JavaScripts which is meant to make a tab gallery display. It hides the images when I choose another gallery, but I also have a presentation text -called “text-poze” and that is not hide when I am choosing another gallery , so the text from Album 1 will be seen when Album 2 is chosen. How can I Fix that?

JavaScript
JavaScript

Advertisement

Answer

It seems your code is not doing what you expect and also not what you describe

I advice you to delegate and you likely wanted to do this:

JavaScript
JavaScript
JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement