Dynamic Navigation Bar
am 22.12.2005 16:27:33 von dpgirago
Results from full-text searches on a documents database are returning
sometimes 300-400 hits, so I'm gonna need to implement a dynamic navigation
bar. Perhaps this a stupid question, but it seems from a brief googling
that navigation bars - dynamic or not - operate by appending variables and
values to the URL within the link>, which are then grabbed
from the $_GET array. Can someone shed some light on whether this the only
method used?
And, yes, I know that there is a Pear package that does this, but I'm more
inclined to implement my own at present.
Thanks very much.
David
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Dynamic Navigation Bar
am 22.12.2005 16:29:30 von Bastien Koert
No, you could try keeping that data in sessions or in hidded form fields in
the page...note that the latter requires that you do a page submit with the
onclick of the link / button
Bastien
>From: dpgirago@mdanderson.org
>To: php-db@lists.php.net
>Subject: [PHP-DB] Dynamic Navigation Bar
>Date: Thu, 22 Dec 2005 09:27:33 -0600
>
>Results from full-text searches on a documents database are returning
>sometimes 300-400 hits, so I'm gonna need to implement a dynamic navigation
>bar. Perhaps this a stupid question, but it seems from a brief googling
>that navigation bars - dynamic or not - operate by appending variables and
>values to the URL within the link>, which are then grabbed
>from the $_GET array. Can someone shed some light on whether this the only
>method used?
>
> And, yes, I know that there is a Pear package that does this, but I'm
>more
>inclined to implement my own at present.
>
>Thanks very much.
>
>David
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Dynamic Navigation Bar
am 22.12.2005 16:38:01 von dpgirago
Thanks for the quick response, Bastien.
I was thinking that using hidden fields may be another way to go. But how
would I assign a value to a form variable via clicking on a link?
>No, you could try keeping that data in sessions or in hidded form fields
in
>the page...note that the latter requires that you do a page submit with
the
>onclick of the link / button
>
>Bastien
>>From: dpgirago@mdanderson.org
>>To: php-db@lists.php.net
>>Subject: [PHP-DB] Dynamic Navigation Bar
>>Date: Thu, 22 Dec 2005 09:27:33 -0600
>>
>>Results from full-text searches on a documents database are returning
>>sometimes 300-400 hits, so I'm gonna need to implement a dynamic
navigation
>>bar. Perhaps this a stupid question, but it seems from a brief googling
>>that navigation bars - dynamic or not - operate by appending variables
and
>>values to the URL within the link>, which are then
grabbed
>>from the $_GET array. Can someone shed some light on whether this the
only
>>method used?
>>
>> And, yes, I know that there is a Pear package that does this, but I'm
>>more
>>inclined to implement my own at present.
>>
>>Thanks very much.
>>
>>David
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Dynamic Navigation Bar
am 22.12.2005 16:39:19 von Bastien Koert
javascript
Bastien
>From: dpgirago@mdanderson.org
>To: php-db@lists.php.net
>Subject: RE: [PHP-DB] Dynamic Navigation Bar
>Date: Thu, 22 Dec 2005 09:38:01 -0600
>
>
>
>Thanks for the quick response, Bastien.
>I was thinking that using hidden fields may be another way to go. But how
>would I assign a value to a form variable via clicking on a link?
>
> >No, you could try keeping that data in sessions or in hidded form fields
>in
> >the page...note that the latter requires that you do a page submit with
>the
> >onclick of the link / button
> >
> >Bastien
>
>
> >>From: dpgirago@mdanderson.org
> >>To: php-db@lists.php.net
> >>Subject: [PHP-DB] Dynamic Navigation Bar
> >>Date: Thu, 22 Dec 2005 09:27:33 -0600
> >>
> >>Results from full-text searches on a documents database are returning
> >>sometimes 300-400 hits, so I'm gonna need to implement a dynamic
>navigation
> >>bar. Perhaps this a stupid question, but it seems from a brief googling
> >>that navigation bars - dynamic or not - operate by appending variables
>and
> >>values to the URL within the link>, which are then
>grabbed
> >>from the $_GET array. Can someone shed some light on whether this the
>only
> >>method used?
> >>
> >> And, yes, I know that there is a Pear package that does this, but I'm
> >>more
> >>inclined to implement my own at present.
> >>
> >>Thanks very much.
> >>
> >>David
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php