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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Location
    Europe
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS & Js experts, a question for You

    how can i keep the search box dark-gray while i'm writing a search term ?

    (at the moment not so many words in the DB, try words starting with letter T or L or S)

    http://www.dbwebserver.com/semeraro/01/index.html


    thank you for your help

    dario

  • #2
    New to the CF scene
    Join Date
    Mar 2009
    Location
    Europe
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok fixed with this

    <input id="search" type="text" onblur="this.parentNode.parentNode.className = 'ricerca';this.value=!this.value?'Cerca prodotto':this.value;" onfocus="this.select();this.parentNode.parentNode.className = 'ricercahover';" onclick="this.value='';" onkeyup="ajax_showOptions(this,'getProdottoByLetters',event)" value="cerca prodotto" size="20" name="search"/>

    thank you anyway


  •  

    Tags for this Thread

    Posting Permissions

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