NAVIGATION
This shows you the differences between two versions of the page.
|
english:other-enhancements:infinite_scolling [2014/01/11 14:16] Claus |
english:other-enhancements:infinite_scolling [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Infinite Ajax Scroll (IAS)===== | + | ====== Infinite Ajax Scroll (IAS) ====== |
| Author:adamderesz | Author:adamderesz | ||
| Line 33: | Line 34: | ||
| </script> | </script> | ||
| </code> | </code> | ||
| + | Above call (if in-page) shall be placed after the posts area so it hides the original pagination block, if it's before - the block will be visible until first ias function trigger. | ||
| ===Step 3=== | ===Step 3=== | ||
| + | Set up the article nodes of my site to use pagination and show 5 elements per page... | ||
| + | And it works like a gem :) | ||
| + | |||
| + | I'm quite sure it will work as good if used for article content pagination... so one can do a fancy self expanding article with just few clicks, literally. | ||
| + | |||
| + | ===addendum=== | ||
| + | In administration, for sections that have many articles (news, events, blog name it any way you want) one must enable pagination and set it to required number of elements per page. | ||
| + | |||
| + | I believe it could be implemented for ContentParts pagination - when it's set with the nextpage/prevpage options. It's just so it has 'findable' next button - with special class or ID, so we can tell the IAS script what to look for. | ||
| + | As regards howto - it's just to figure out where it's the best to include necessary JS. In my opinion it would be the 'paginate version' of standard article template... I would not mess with other places for sake of general code 'purity'. | ||
| + | |||
| + | ===addendum 2=== | ||
| + | |||
| + | Yes, it's working with content part pagination as well in (almost) the same manner. | ||
| + | |||
| + | ===License=== | ||
| + | When do I need a commercial license? | ||
| + | You need a commercial license if you want to use this plugin on a website that sells anything | ||
| + | [[http://infiniteajaxscroll.com/download.html|License and download]] | ||