Results 1 to 2 of 2
  1. #1

    Multiple Search Engines Script

    How can the script at: http://www.mediacollege.com/internet...ti-search.html be edited so that the search box is initially selected, like Google's (ie. in Google you can just start typing without having to click in the search box)?

  2. #2
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,959
    Blog Entries
    79
    Add the following code to your body tag (assuming your form is called "searchform" and text field is called "searchterms"):

    Code:
    <body OnLoad="document.searchform.searchterms.focus();">
    Dave Owen
    MediaCollege.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Subscribe to us on YouTube