Results 1 to 4 of 4

Thread: Looking For A specific Cursor Code

  1. #1
    Join Date
    Aug 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Looking For A specific Cursor Code

    Does anyone know a script that will command my cursor to start @ a certain point on the page when someone visits?

    ie, yahoos home page automatically starts the cursor at the search box

    thank you!

    www.yahoo.com

  2. #2
    Join Date
    Aug 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry, it is not the cursor, it is the blinking vertical line that we see when we type everything...what is that called anyway? lol

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Code:
    <script type="text/javascript">
    document.onload = focusit;
    function focusit(){
    document.getElementById('focus').focus();
    }
    </script>
    Place the above code in the <head> of the document. Make sure to add an id focus to the text box in question. For example
    Code:
    <input type="text" id="focus">

  4. #4
    Join Date
    Aug 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thank you however....

    thank you so very much for replying...

    i put the code in the head of the page and then added the other code to the actually search box (freefind.com-internal search engine)

    unfortuanately it only produced another search box...

    i would appreciate help so much! thank you!

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
  •