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

Thread: Link help

  1. #1
    New to the CF scene
    Join Date
    Mar 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Link help

    Hi this code is for a search button and when you click it a search box drops down. Instead of clicking an image to drop down the search I would like them to just click the words Search, can anyone show me how to modify this code to do that.

    <div style=\"cursorointer; position:relative;\" onmouseover=\"changebuttonstatus('11','searchbutton')\" onmouseout= \"changebuttonstatus('12','searchbutton')\" name=\"searchbutton\"><img name=\"searchbutton\" src=\"".$mosConfig_live_site."/components/com_seyret/themes/".$theme."/images/".$image_lang_dir."/search.png\" border=\"0\" onclick=\"showsearchbox()\">

  • #2
    New Coder
    Join Date
    Jul 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That would be more on the javascript side than php. You might get more help going to the client side development part of codingforums.
    PHP and MYSQL
    $string = "3Ip*hKEpanKI#8dmUys&*KqlIJ*P8D";
    $new_string = ereg_replace("[^a-z]", "", $string);
    echo "<a href=http://www.$new_string.org>$new_string</a>";


  •  

    Posting Permissions

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