List of basic properties accepted by the ajaxNavigation() method.
areas
Type String
null
One or multiple IDs, which will contain the content you want to change. |
charset
Type String
application/x-www-form-urlencoded; charset=UTF-8
When sending data to the server, use this content type. Default is "utf8", which is fine for most cases. |
highlightActiveLinks
Type Boolean
true
If set true, Ajax.Navigation will search for links, which are equal to the current URL. |
classActiveLinks
Type String
ajax_active
This class will be added to all matching links. |
loader
Type Boolean
true
If set true, a loading sign will be shown, while loading the new content. |
loaderLayout
Type String
<div class="ball"></div><div class="ball1"></div> HTML Markup of the loading sign. |
loaderTimeout
Type Int
1500
Delay before loading sign is shown (in milliseconds). |
fetchContent
Type Boolean
true
If set to true, Ajax.Navigation prefetchs a link's content on hover, which drastically improves the performance. |
cacheSize
Type Int
10
Amount of pages that are getting cached. |
transitionDefault
Type String
default
Default transition effect. If no "data-ajax-effect" attribute is set, this one will be used. |
transitionDuration
Type Integer
400
Amount of time effects take to complete (in milliseconds). |
transitionEasing
Type String
ease-out
Kind of timing function. |
reloadOnDoubleTrigger
Type Boolean
true
If another anchor is clicked while the last page is not finished loading yet, the page performs a reload. |
timeout
Type Integer
10000
Amount of time (in milliseconds) Ajax.Navigation waits for the ajax call to be completed until it performs a normal page load. |