I'm fairly new to JavaScript, so please bear with me if this question seems a bit confusing. I'm curious to know if it's achievable to create a gallery that doesn't require the page to refresh when navigating between already loaded images.
For instance, consider this gallery:
In the scenario mentioned above, is there a way to enhance the image loading process for a smoother transition, avoiding the appearance of a completely new page each time the next/previous buttons are clicked?
Please note that I am operating under the constraint of not being able to modify the HTML or backend structure. Hence, all modifications need to be made within the existing markup.
Any suggestions or insights on this matter?