Re: htdig: htsearch and frames


webmaster@www.nisu.flinders.edu.au
Thu, 17 Sep 1998 14:53:06 +0930 (CST)


On 17 Sep, John Banbury wrote:
> Does anyone know how to direct the results of a search into another frame?
> For example;
>
> ---------------------------------------------
> | | |
> | | |
> | search here | results displayed here |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> ---------------------------------------------
>
> regards
> John

Hi - across the road!

You might try (and I haven't tested it!) adding a TARGET to the FORM
ACTION line in your search.html thus

<form method="post" action="/cgi-bin/htsearch" TARGET="targetname">

This will almost certainly work for the first search; I think you will
then have to go to your 'header.html' and rip out all the search form
stuff therein, otherwise you'll have a search form in each frame after
the first search.

Let me know if you need some more help on this.

Cheers

-- 
David Robley

WEBMASTER | Phone +61 8 8374 0970 RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA Visit the PHP mirror at http://au.php.net:81/

---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu containing the single word "unsubscribe" in the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:48 PST