3 ms·
What exactly does it do? I'm not sure if I follow completely.
by prezjordan 14y ago
What exactly does it do? I'm not sure if I follow completely.
- vdemedes 14y agoIt allows loading pages without refreshing browser window. User will not notice any loading indicator/progress, pages will instantly "replace" each other.
- pygorex 14y ago> User will not notice any loading indicator/progress, pages will instantly "replace" each other Um, no. The pages won't "instantly" load - the browser still has to make a round trip to load the page content. A loading or progress indicator should still be shown letting the user know that this round trip is taking place - especially important if you're on a slow US cell network. If a user is on a slow connection and no visual feedback is given they may end up mashing a link, making the load time worse - or, worse yet, assume the site is broken.
- vdemedes 14y agoAgree, I will add "before" and "after" events to the Joconut, so that developer can listen to them and display progress indicator he likes.
- pygorex 14y agoLoads pages via AJAX and updates the browser history using `pushState`. This is an alternative to the PJAX library: https://github.com/defunkt/jquery-pjax https://github.com/defunkt/jquery-pjax Use either if you have an irrational aversion to page reloads. Snark aside - jQuery Mobile uses a similar technique to cache entire pages in the DOM and for page transitions.
- chrischen 14y agoOr use if your site plays music :).
- DigitalSea 14y agoBeverly Hills Cop MIDI track? Yes.