Skip to main content
Topic: Some useful expand pages (Read 2724 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Some useful expand pages

The pagination is stupid.
The expand expands only starting from the lower page numbers, so if you are at page 1 and want to go to page 140 of a topic with 250 pages you have to click on expand several times.

The first approach I tried was a rolling pagination, but apparently it was not so friendly.

I remember vB or IPB se a dropdown allowing you to insert the page number, but I think the days of "type" are gone, so I think the best alternative is a way to let the user scroll or something the pages until he reaches the one he needs.
Bugs creator.
Features destroyer.
Template killer.

Re: Some useful expand pages

Reply #1

What would you think about something like the attachment?
Drawback: the slider requires jQueryUI... :-\
Bugs creator.
Features destroyer.
Template killer.

Re: Some useful expand pages

Reply #2

Hm... I think the slider is not wide enough to be exact enough to handle it when you have a lot of pages. Or will it get wider and wider?

What about simply make the dots (...) as button too and when you click it you get a list of site numbers (in blocks of ten sites)?

Re: Some useful expand pages

Reply #3

Quote from: emanuele – I remember vB or IPB se a dropdown allowing you to insert the page number, but I think the days of "type" are gone, so I think the best alternative is a way to let the user scroll or something the pages until he reaches the one he needs.
I don't think anything can give the flexibility and practicality of typing in the page number. So I would still go with that option.

Re: Some useful expand pages

Reply #4

I just found a couple of nice things:
http://www.developerdrive.com/2012/07/creating-a-slider-control-with-the-html5-range-input/
http://html5tutorial.info/html5-range.php
That is actually pretty interesting also for other things I think. Not as flexible as jQueryUI, but much less bloated either.

Yep, I agree the typing should be there.
Bugs creator.
Features destroyer.
Template killer.

Re: Some useful expand pages

Reply #5

@emanuele Why not simply pop out the UI you have shown in attachment using JS, and when user submits the pop up, pass on the values to PHP...

A simple slider script to mesh up with jQuery - http://loopj.com/jquery-simple-slider/

Re: Some useful expand pages

Reply #6

Yep, that's the general idea, at the moment I'm just too lazy to code it. :P (I found a sudoku game and started playing it. lol)
Bugs creator.
Features destroyer.
Template killer.

Re: Some useful expand pages

Reply #7

Quote from: emanuele – Yep, that's the general idea, at the moment I'm just too lazy to code it. :P (I found a sudoku game and started playing it. lol)
Lol try this one 2048

Re: Some useful expand pages

Reply #8

Done, done. :P
Bugs creator.
Features destroyer.
Template killer.