I want to determine the width of the captions of the different slides. Actually, it's not a huge problem I thought as the procedure is quite clear for me. Nonetheless, I came across an obstacle. That is to say: I can only calculate the width of the current active slide. The width of the inactive slides will always be 0. Is there a way to calculate the width of the inactive slides? Here is a demo When setting the active class to a different item manually, then the width of this item will be calculated. Just have a look at the console.
Asked
Active
Viewed 53 times