Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2003
    Location
    West Virginia
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Search box top frame; results bottom??

    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:
    Code:
    <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...
    Reno CF

  • #2
    Regular Coder
    Join Date
    Jun 2004
    Posts
    565
    Thanks
    0
    Thanked 18 Times in 18 Posts
    Code:
    <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

  • #3
    Regular Coder
    Join Date
    Jan 2003
    Location
    West Virginia
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks dumpfi -- that certainly couldn't have been any simpler! I was thinking it needed an onClick js event handler ... I appreciate your prompt feedback...
    Reno CF


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •