According to Ronaye:
>Hi there,
>
>I hope I am posting to the correct listing. I am new to HtDig, let alone
>to the HtDig mail listing. I have a question though...
>
>I would like to have the "restrict" expand to an HTML menu of all the
>available URLs that I identified in my original search page and have it
>default to the last one selected. I don't want to use the "hidden" tag.
>
>For example, the initial search page may provide a choice like:
>
>                <select name="restrict">
>                        <option value="" selected>--- All of BCIT ---
>                        <option
>value="http://www.bcit.bc.ca/Programs/PT_programs/">Part-time studies
>                        <option
>value="http://www.bcit.bc.ca/Programs/FT_programs/">Full-time studies
>                        <option
>value="http://www.bcit.bc.ca/~bookstor/">Bookstore
>                        <option
>value="http://www.bcit.bc.ca/~housing/">Housing
>                        <option
>value="http://www.lib.bcit.bc.ca/">Library
>                </select>
>
>On the search result page I would like to show this same drop down menu,
>but displaying the user's last selected option. Is this possible and if
>so how?
>
>Can anyone steer me in the right direction?
>
>Many thanks
>Ronaye Ireland

Displaying the user's last selected option on the result page requires
modifying the position of the "selected" attribute.  This can only be
achieved through wrapping the htsearch program with SSI, some Perl CGI
or a server-parsed result page (e.g. through PHP).


hth,
  Torsten

--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstra�e 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail: [EMAIL PROTECTED]            Internet: http://www.inwise.de

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to