3,14 → 3,14 |
// Function pour cacher / afficher les options de recherche |
$(document).ready(function() { |
$("#col-rech-opt").hide(); |
$("#col-rech-opt-toggle").html("Afficher l'aide"); |
$("#col-rech-opt-toggle").html("Afficher la recherche avancée"); |
$("#col-rech-opt-toggle").toggle( |
function() { |
$("#col-rech-opt-toggle").html("Cacher l'aide"); |
$("#col-rech-opt-toggle").html("Cacher la recherche avancée"); |
$("#col-rech-opt").toggle("slow"); |
}, |
function() { |
$("#col-rech-opt-toggle").html("Afficher l'aide"); |
$("#col-rech-opt-toggle").html("Afficher la recherche avancée"); |
$("#col-rech-opt").toggle("slow"); |
} |
); |
23,7 → 23,7 |
<label id="col-rech"for="recherche">Rechercher</label> |
<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/> |
<input id="col-rech-ok" type="submit" value="OK" /> |
<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à l'aide</a> |
<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à la recherche avancée</a> |
</form> |
<div id="col-rech-opt"> |
<h2 id="col-rech-opt-titre">Options de recherche</h2> |