Para adicionar uma caixa de busca la Colivre em uma web qualquer adicione:

%INCLUDE{"Main.ColivreSearch" LANG="[pt,en]"}%


%STARTINCLUDE%<form action="%SCRIPTURL{view}%/%INCLUDINGWEB%/WebSearch" method="get" id="busca" class="clean">
    <input name="search" size="15" value="%IF{"$'LANG'='pt'" then="Busca..."}%%IF{"$'LANG'='en'" then="Search..."}%" \
      onfocus="this.form.className='focused'; if(this.value==this.origVal){this.value=''}" \
      onblur="this.form.className=''; if(/^\s*$/.test(this.value)){this.value=this.origVal; this.form.className='clean'}" />
    <div>%IF{"$'LANG'='pt'" then="Pressione <strong>Enter</strong> para enviar a busca."}%
    %IF{"$'LANG'='en'" then="Press <strong>Enter</strong> to run the search."}%</div>
    <script type="text/javascript">
      var searchField = document.getElementById("busca").search;
      searchField.origVal = searchField.value;
    </script>
</form>%STOPINCLUDE%
Topic revision: r1 - 20 Aug 2009, AurelioAHeckert
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki-Colivre? Send feedback