splitting up search results, need som ideas. have done < 1 2 3 4 5 6 7 8 9 10 11 12 > stuff ..
| From: | Nicklas Bondesson | Date: | Fri, 26 Oct 2001 08:55:34 +0000 |
| Subject: | splitting up search results, need som ideas. have done < 1 2 3 4 5 6 7 8 9 10 11 12 > stuff .. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72415@lists.php.net to get a copy of this message | ||
hi everybody!
have done a function that splits up the search results into multiple pages
and are displayed using a "scroll bar" like this:
< 1 2 3 4 5 6 7 8 9 10 11 12 >
what i need (when the database grows) is a function that limits the
scrollbar to only show like 10 pages at a time. i can't have a scrollbar
that looks like < 1 2 3 4 5 6 7 8 9 10 --> 1000 >
i hope you understand what i mean here. otherwise i will try to explain it
to you now.
imagine that the search returns 30 pages. when i'm looking at page 1-5 i see
a scrollbar that looks like < 1 2 3 4 5 6 7 8 9 10 >. the higher page number
i reach the scrollbar should change and show me like < 8 9 10 11 12 13 14 15
16 17 18 19 20 21 >. are you with me now? :)
all ideas are very welcomed ! if you want to see the code for the scrollbar
so far, just send me an email and i will send it to you.
i hope anyone have a simple solution for this !
best regards,
nicke