Home > Fluid Dynamics Search Engine > Help > 1076

Advanced Search: Opening search results in a new window or frame

To open the search results in a specific frame, first locate the HTML source for a basic search form. This is found at "Admin Page" => "User Interface" => "HTML Form for Searching".

Replace the opening FORM statement, which looks like this:

<form method="get" action="http://www.xav.com/search.pl">

With something like this:

<form method="get" action="http://www.xav.com/search.pl" target="main">

Where "main" is replaced with the desired frame name. To open the search results in a new window, use "_blank" instead of "main".

These instructions apply only to standalone search forms that you create. The search forms that are returned by the search script itself -- at the top of the search tips and at the bottom of the search results -- will always use a normal FORM tag without a TARGET attribute. If you need to modify this underlying behavior, edit the subroutine "sub str_search_form" in the file "searchmods/common.pl". That subroutine includes the FORM declaration, which can be edited as described above.

See also: Using frames in search results


    "Advanced Search: Opening search results in a new window or frame"
    http://www.xav.com/scripts/search/help/1076.html