SIG figos Home PageSIG figos NewsfeedSIG figos por e-mailSIG figos lugares mais populares
Números significativos
Helping you, by helping myself with blogging, browsing, and tech tips Para o ajudar, por ajudar a mim próprio blog, navegando, dicas e tecnologia

Infuriating Search Result Exasperante resultado de pesquisa

April 17th, 2007 · by David Bradley 17 de abril de 2007 por David Bradley

One of the most infuriating phenomena on the net isn’t sites that crash your browser or blogs that never update, it is not even news sites that don’t seem to have a newsfeed. Um dos fenômenos mais irritante sobre o líquido não é sites que crash seu navegador ou atualizar blogs que nunca, não é sequer notícias locais que não parecem ter um newsfeed. No, it is those little search boxes that webmasters see fit to include the word “search” smack in the middle of the form that don’t disappear when you click the search box to enter your search terms. Não, é uma dessas poucas caixas de pesquisa que webmasters entenderem a fim de incluir a palavra "search" isso cheira a meio do formulário que não desaparece quando você clicar na caixa de pesquisa para inserir suas pesquisas.

Why are they infuriating? Por que eles estão exasperante? Well, as soon as you realize that the form is not self-clearing, you have to then select the word that is already there (”search”) and either delete it before you add your own terms, or else select and type or paste over the top of it. Pois bem, logo que você perceber que a forma não é auto-limpeza, então você tem que selecionar a palavra que já está lá ( "pesquisa") e excluí-la antes que você quer adicionar seus próprios termos, ou então, selecionar e digite ou cole durante o início da mesma. If you slip with your mouse you’ll occasionally end up with the word “search” at the start or finish, or even in the middle of your keywords - eg signifsearchicant figures. Se você talão com o mouse, você ocasionalmente acabar com a palavra "search" no início ou terminar, ou até mesmo no meio de suas palavras-chave - por exemplo signifsearchicant números.

There is a solution, but it has to be implemented by the webmaster, there is no quick fix from the browser’s perspective (unless you know different). Não existe uma solução, mas tem que ser implementada pelo webmaster, não existe uma rápida a partir da perspectiva do navegador (a menos que você sabe diferente). So, with thanks to Portanto, com graças a Urban75 , webmasters please embed the following in your search form as appropriate: , Webmasters queira inserir o seguinte no seu formulário de pesquisa conforme o caso:

<FORM> <Form>
Search: <INPUT TYPE=text VALUE=”Search Text” ONFOCUS=”clearDefault(this)”> Pesquisa: <INPUT TYPE=text VALUE="Search Text" ONFOCUS="clearDefault(this)">
</FORM> </ FORM>

(Similarly, if you insist on including the word “email” in your email subscription form then use (Do mesmo modo, se insistir na inclusão da palavra "e-mail" no seu formulário de inscrição, então, usar e-mail

Email: <INPUT TYPE=text VALUE=”E-Mail Address” ONFOCUS=”clearDefault(this)”> Email: <INPUT TYPE=text VALUE="E-Mail Address" ONFOCUS="clearDefault(this)">

in there instead. em vez lá.

There is an additional step to make it work and it requires a wee script in the head section of your page: Há um passo adicional para que ele funcione e que exige um script Wee na cabeça da sua página:

<script type=”text/javascript”> <script type="text/javascript">
<!– <! --
function clearDefault(el) { função clearDefault (el) (
if (el.defaultValue==el.value) el.value = “” if (el.defaultValue == el.value) el.value = ""
} )
// –> / / ->
</script> </ script>

It’s all very easy and it saves a lot of infuriation (is that a word?). É tudo muito fácil e permite poupar uma grande quantidade de infuriation (que é uma palavra?). There is of course a much simpler solution that involves a serious assumption. Existe naturalmente a solução mais simples e que envolve uma hipótese séria. You could simply assume that your readership knows what a search box is and will use it to search or if you have an email subscription box they will know to type their email address in order to subscribe, so you could just as easily leave out that “search” and “email” from the boxes’ startup settings in the first place. Você poderia simplesmente assumir que seus leitores sabe o que é uma caixa de pesquisa e irá utilizá-lo para pesquisa ou se você tiver uma caixa de e-mail eles vão conhecer a sua natureza e-mail, a fim de assinar, assim você que poderia deixar de fora que " pesquisa "e" e-mail "a partir de caixas" startup configurações, em primeiro lugar. It looks slicker too. Ao que parece demasiado slicker.

1 response so far ↓ 1 resposta até agora ↓

Leave a Comment Deixe um comentário

Comments are checked for spam before appearing, no need to post it twice. Os comentários são controlados por envio de spam antes de serem exibidos, não há necessidade de pós-lo duas vezes.

Related Posts Posts relacionados