Hi
Is there a way to load a resource into a popup modal overlay on Click?
I currently have the content permanently loaded in the footer and hidden until a button is clicked but there are a few and it's costing me valuable load times as each one calls a third party script.
I thought if each was in a separate resource the the scripts will only load when needed?
Thanks
Andy
Use AJAX to pull the content in
TinymceWrapper: Complete back/frontend content solution.
Harden your MODX site by
passwording your three main folders:
core, manager, connectors and renaming your
assets (thank me later!)
5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
Yeah thanks, sorry I realise I need to call in with Ajax, but don't know how to go about this.
which modal do you have in mind?
Bootstrap or something else?
you would call the url of the resource with an ajax-request and load that content into the modal. See
http://api.jquery.com/load/