I'm in the process of designing a portfolio website and have decided to incorporate modals to showcase my projects. I've opted to use the W3.CSS framework for this purpose.
The issue I'm currently facing is that only the first slideshow seems to be functioning correctly. For the subsequent ones, all I can see are the navigation arrows. I suspect that the problem lies in needing to reset my Javascript function for each modal individually. However, despite my attempts at various solutions based on my limited understanding of Javascript, nothing seems to be working as expected.
Any assistance would be greatly appreciated!
Here's a snippet of my HTML:
<!-- Code snippet here -->
This is the CSS used:
.mySlides
{
display: none;
}
.w3-left, .w3-right, .w3-badge
{
cursor: pointer;
}
.w3-badge
{
height: 13px;
width: 13px;
padding: 0;
background-color: transparent;
}
And here's the included Javascript:
// JavaScript code here