Hi people
Let see if I can get some help here.
Let’s assume that I have 3 products cards showing one at the top following the second in the middle and after a third one.
I need to do every time that I click on the first product card to show the rest of the card with details of it, it must hide the second and the third, showing in it’s place the rest of the same card with details of the first product.
If I click on the second, must hide the third and shows in it’s place the rest of details of the SECOND product, and so on.
The way I did it, it shows the rest of details of the ANY product at the same position (the top) despite the fact be clicked in any product card..
In the attachment is the code:
I manage to do the code that I present. But so far dos not do what do I want to do. the question is: How can I do it? What is wrong in my code to achive what I want? To open the rest of the product card details just under hidden the other products cards?
Attached:
example nº1 shows the cards
example nº2 shows extension of card nº1 that drops over the hidden card nº2
Bookmarks