Was just playing around with this today. Not on the Elk codebase, but should be a piece of cake to adapt. I don't really have the time and motivation to do it myself at the moment (would have to learn Elk back end n stuff all over again) but if you think the idea is worth nicking, go for it.
So the plan is to ditch most of the markup, CSS and js for the old page index, and substitute a select. This is nice and clean on desktop, and nice and compact on phones. Phones like selects, going from what the nutters who browse with them tell me.
Keep the previous/next page buttons for convenience, since 99% of the time that's what people will probably use. Select is just for backup if they want some particular page in a hurry, and to give them a clear indication of where they are up to. If there is only one page, no need for the select or the previous/next buttons. It just gives you the page without added crud.
Even with the two remaining buttons, the code is still much simpler overall.
OMG, the avatar! :o :D
Concentrate on the page index. Breathe deeply. You can get through this. :D
I can see that helping on the small screens vs the current buttons.
Hey I've been playing with this some more and have thought of some improvements (PHP, CSS, a11y, etc). Will have it packaged for SMF 2.0.x soon. Most of the XML work will be dealing with moving default crud out of cruddy 2.0.x default templates, so I can put the nifty stuff in without it getting screwed around. ::)
Anywayz, since Elk doesn't have the same template crud to worry about, and IIRC uses basically the same page index function, it should be easy to adapt. As soon as the package is tested for clean installation I'll let you know. Then, if you want to, you can just throw it on a vanilla 2.0.x test site and see what makes it tick.
I'll be licensing the mod as WTFPL, so no dramas with licenses. :)
/me really likes WTFPL. :D
Of course you do, oh Master of Expletives: 😁
ROFL. Well yes, but the other reasons I like it are that anyone can read it before their first coffee of the day, in only a minute, and still manage to comprehend it perfectly.
There's none of this "Herewith be teh license of much awesomeness, and herein will be described, in great detail, what thou shalt and shall not do if thou wanteth thy gonads to stay in their current location."
For items which suit a do-wotcha-like license, I like having one that just says "do wotcha like". No muss. No fuss. :)