I finally got pjax working, but I have another question.. How do I add some jquery animation like fadeout/slideup old content and fadein/slidedown new content?
By default pjax just changes the content without any good looking effects..
Any help would be much appreciated.
Best Regards
Basically, you have a bunch of events to latch on to and do as you like. Here’s a basic
fadeInandfadeOutversion using thepjax:startandpjax:endas triggers.Obviously you would swap
#mainfor the container element you’re swapping content in and out of.