[PHP] splitting up search results, need som ideas. have done 1 2 3 4 5 6 7 8 9 10 11 12 stuff ..

2001-10-26 Thread Nicklas Bondesson

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]




RE: [PHP] splitting up search results, need som ideas. have done 1 2 3 4 5 6 7 8 9 10 11 12 stuff ..

2001-10-26 Thread Polleunus Pascal

Hi,

I'm currently working on something like that.
I had already done this but I need to find the file!
I don't have time right now but I'll send you another email later :o)

What do you think about using a form: input for max rows and drop-down for
the 1 2 3... (for example: max rows=10; drop-down: 1, 11, 21, 31, ...)

See you,
Pascal


-Original Message-
From: Nicklas Bondesson
To: [EMAIL PROTECTED]
Sent: 26/10/01 10:55
Subject: [PHP] splitting up search results, need som ideas. have done  1 2
3 4 5 6 7 8 9 10 11 12  stuff ..

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]

-- 
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]