Mass Modal Popups generated

By: Rudi JvR | Asked: 12/29/2023
ForumsCategory: General questionsMass Modal Popups generated
Rudi JvR asked 5 months ago
I'm hoping someone can advise on how I can have better control over how modal popups are generated on page load.
I load a table from a SQL data source with potentially thousands of rows. Each row has a custom URL/Link which opens a modal popup with more details pertaining to the row.
My problem is that it appears as if all possible Modal Popups related to the data table are generated and loaded when the page is loading. This results in very slow page load. Not only is it slow on first page load, but the modal popups (index) also get scrambled when the data table is filtered and reordered...
My question is then, is there a way to NOT pre-generate and load ALL the Modal Popups on page load, but rather generate each popup on Click of the link?
Thanks in advance - I really hope you can advise and help me resolve this.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right