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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to