modAjaxify a simple ajax page loader

By Dimitris Halvatzaras (halvid)

What it does:

  • Any link within a designated container (default is body) will function as an ajax link.

  • It can load the content of the links in different containers with simple html annotation (eg. any link with the property context will load the content in the container with id as provided through this property)

  • It preloads images before rendering the content

  • It provides callbacks for custom renderer

  • It provides callbacks for custom loaders

  • Supports ajax submit for forms

  • Supports different menus by placing the ‘active’ class in the clicked menu option

  • Supports callbacks for handling preloading when a page url is called directly (not through ajax)

  • Supports retina images preload for boosting performance

  • Supports image lazy loading, using separate tiny images as preloaders 

  • Build in Google Analytics support

  • The MODX plugin makes sure that will output only the necessary content of the page striping out everything else. This technique boosts the performance of the website.

Dimitris Halvatzaras

New in modAjaxify a simple ajax page loader 1.3.7-beta

Changelog for modAjaxify MODx Revolution.

modAjaxify 0.8


- First beta version

Test it on Safari, Firefox, Internet Explorer, Android, iOS 

2015.7.9 modAjaxify 1.0.0-beta


-Added param for excluding links from been ajaxed based on the extention of the url. This takes care for links that include attachments

-Added jquery existance check

-Added sample css spiner

2015.9.24 modAjaxify 1.2.0-beta


-Added handling for first page loading

-Added retina image preload

-Fixed bug regarding missing images in ajax loaded pages

-Fixed bug on links without href

2015.12.16 modAjaxify 1.3.0-beta


-Bug fixed related to the automated activation of menu items. In some cases was failyng whenver full paths were used.

2015.12.24 modAjaxify 1.3.1-beta


-Bug fixed for handler onSuccess, the 'this' reference was null now it refers to the container that will render the loaded content.

2016.1.7 modAjaxify 1.3.1-beta


-Bug fixed for handling non-friendly urls

2016.2.9 modAjaxify 1.3.1-beta


-Minor bug fixes

-Easy google analytics support

2016.6.24 modAjaxify 1.3.5-beta


-Minor bug fixes concerning images with undefined src

-Added disable option for omiting forms during ajax calls

-Easy google analytics support

2016.12.29 modAjaxify 1.3.6-beta


-Minor bug fixes concerning images with wrong src

-Changed name of demo chunk so that you will not loose any changes that you may have done in the previos instalation.

2018.3.16 modAjaxify 1.3.7-beta


-Major bug fixe concerning jquery.history.js CDN

-Add image lazy loading capability with deticated small images as preloaders



March 16, 2018
Supported Versions
2.4 – Current

Previous Versions

December 29, 2016
2.4 – Current
June 24, 2016
2.4 – Current
February 9, 2016
2.4 – Current
December 24, 2015
2.4 – Current
December 16, 2015
2.4 – Current
October 1, 2015
2.4 – Current
September 17, 2015
2.2 – Current
September 10, 2015
2.2 – Current