This is what it looks like with jQuery:
Apply to any content elements
- Set requestDelay: 100 option (must be the same value as in the first animation phase below)
- Include the snippet (below)
- Customise it (change values or substitute
fadeOut/fadeIn
with e.g. a more complexanimate
)
//Please set requestDelay in settings to the same value as in fRequest below, and use this code jQuery(window).on("pronto.request", fRequest) .on("pronto.render", fRender); function fRequest() { jQuery("#content").fadeOut(100); // requestDelay setting must be same as this animation duration } function fRender() { jQuery("#content").stop(true, false).fadeIn(500); }