I have a search button. When you hover it textarea slides to the left. If you click it, it searches the term. Anyway, how can I optimize it for touch devices?
I tried making it slide on first touch and search in second touch but I wasn't able to do it.
<input type="text" onBlur="if (this.value == '')
this.value = this.defaultValue;" onFocus="if (this.value == this.defaultValue)
this.value = '';" value="Arama" name="s" class="search-text">
<input type="submit" value="" name="submit" class="search-submit">
If you can help me, that would be great! Best.