• 23-02-2010, 15:51:18
    #10
    teknolyo adlı üyeden alıntı: mesajı görüntüle
    arkadaşın dediği arama kutusu olayını

    <input type="text" name="searchText" value="Arama" onfocus="this.value=='Arama' ? this.value='' : this.value=this.value;" onblur="this.value=='' ? this.value='Arama' : this.value=this.value;" >
    kodlarıyla halledebilirsin.
    <form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> <input style="padding:4px; padding-left:6px; margin-top:3px; font: bold 17px arial; color:#777; background: url(http://fobidik.com/stil/img/arama_in.jpg); width: 390px; height: 22px; border:0;" name="s" value="aramak istediğiniz şarkıyı yazın.."
                            onfocus="if(this.value=='Aramak istediğiniz şarkıyı yazın..')this.value='';this.select();" 
                            onblur="if(this.value=='')this.value='aramak istediğiniz şarkıyı yazın..';"  name=s> <input style="cursor:pointer; padding-bottom: 5px; margin-top:3px; width:65px; height:32px; border:0; background:url(http://www.fobidik.com/stil/img/arama_bu.jpg); background-repeat: no-repeat;"	 type="submit" class="kutu" value="<?php esc_attr_e('Search'); ?>" />  
    </form>
    kodlar bu dediğin gibi yaprsam stil gidiyor tam ayarlayamadım
  • 23-02-2010, 16:49:21
    #11
    <form id="searchform" method="get" action="http://fobidik.com">
    	<input style="padding:4px; padding-left:6px; margin-top:3px; font: bold 17px arial; color:#777; background: url(http://fobidik.com/stil/img/arama_in.jpg); width: 390px; height: 22px; border:0;" name="s" value="Aramak istediğiniz şarkıyı yazın.." onfocus="if(this.value=='Aramak istediğiniz şarkıyı yazın..')this.value='';this.select();" onblur="if(this.value=='')this.value='Aramak istediğiniz şarkıyı yazın..';"  name="s">
    	<input style="cursor:pointer; padding-bottom: 5px; margin-top:3px; width:65px; height:32px; border:0; background:url(http://www.fobidik.com/stil/img/arama_bu.jpg); background-repeat: no-repeat;" type="submit" class="kutu" value="Ara" />
    </form>
    şeklinde dener misin?
    Ayrıca class atayıp, style="" içerisindeki değerleri oraya yazsan daha iyi olur
  • 23-02-2010, 18:23:55
    #12
    seemsiyah adlı üyeden alıntı: mesajı görüntüle
    <form id="searchform" method="get" action="http://fobidik.com">
    	<input style="padding:4px; padding-left:6px; margin-top:3px; font: bold 17px arial; color:#777; background: url(http://fobidik.com/stil/img/arama_in.jpg); width: 390px; height: 22px; border:0;" name="s" value="Aramak istediğiniz şarkıyı yazın.." onfocus="if(this.value=='Aramak istediğiniz şarkıyı yazın..')this.value='';this.select();" onblur="if(this.value=='')this.value='Aramak istediğiniz şarkıyı yazın..';"  name="s">
    	<input style="cursor:pointer; padding-bottom: 5px; margin-top:3px; width:65px; height:32px; border:0; background:url(http://www.fobidik.com/stil/img/arama_bu.jpg); background-repeat: no-repeat;" type="submit" class="kutu" value="Ara" />
    </form>
    şeklinde dener misin?
    Ayrıca class atayıp, style="" içerisindeki değerleri oraya yazsan daha iyi olur

    tşker ederim oldu çok sağolun ya