...

View Full Version : Search box top frame; results bottom??



Reno CF
08-07-2004, 01:56 AM
Is there a way to put a search box in a narrow top frame, and make the search results page load into the large bottom frame after the visitor clicks the "Search" button?

For example:

top frame name="top_nav" ; bottom frame name="bottom_main"

Search code to be placed in top frame:

<form METHOD="POST" ACTION="search.php">
<input type="hidden" value="search" name="searchfield">
<input type="hidden" value="ascending" name="sortorder">
Search for: <input NAME="name" SIZE="20"> <input TYPE="SUBMIT" VALUE="Search">
</form>

Thanks for any feedback...

dumpfi
08-07-2004, 02:47 AM
<form METHOD="POST" ACTION="search.php" target='bottom_main'>
<input type="hidden" value="search" name="searchfield">
<input type="hidden" value="ascending" name="sortorder">
Search for: <input NAME="name" SIZE="20"> <input TYPE="SUBMIT" VALUE="Search">
</form>dumpfi

Reno CF
08-07-2004, 07:23 PM
Thanks dumpfi -- that certainly couldn't have been any simpler! :thumbsup: I was thinking it needed an onClick js event handler ... I appreciate your prompt feedback...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum