Joomlatools UI has built-in support for AJAX driven navigation to build fast en responsive apps.
Shark alert: Only use the built-in AJAX navigation if you know what you’re doing!
- The first step for using the built-in AJAX navigation is making sure all pages exist.
- The next step is adding an
IDto the element in the markup you want to load the new page content in.
- As a third step make sure that same
IDalso exists on the page you are loading with AJAX.
- As a last step add a
[data-ajax-target]attribute to the anchor linking to the AJAX page and make sure it’s content is the name of the created
Now when clicking the link, the content found in the
<div id="k-ajax"> div on the AJAX page, will get loaded inside the
<div id="k-ajax"> on the main page.
On AJAX load
You’ve got access to the
Let our developers personally assist you. You can ask development related questions in our Support Center. Only for Business or Agency subscribers.