On Mon, Sep 16, 2013 at 10:51 AM, Arthur Richards
<arichards(a)wikimedia.org>wrote:
> If we still want to explore dynamically loading article sections (which we
> all seemed to be in favor of when we did annual planning back in June),
> it's hard for me to imagine how we could realistically pull that off if we
> display sections uncollapsed as default.
>
We could rig up an "infinite scroll" type of situation, where we basically:
* load section 0 and section 1
* leave placeholder <div>s for sections 2 and beyond
* when the user scrolls down into section 1, start loading section 2 in the
background
** prepare the same thing for the bottom of section 2 load section 3, etc...
Of course a problem with this setup is that if you go offline partway
through reading the article, the later sections might be unavailable when
you scroll down to them.
-- brion