Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //pjax
- $(document).pjax('a', '.pjax-container', {fragment: '.pjax-container'});
- $(document)
- .on('pjax:start', function() { $('.pjax-container').fadeOut(200); })
- .on('pjax:end', function() { $('.pjax-container').fadeIn(200); })
- $('.pjax-container')on('pjax:succes', function(){
- $.pjax({
- url: window.location.href,
- container: '.box-mnu',
- fragment: '.box-mnu'
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement