Difference between revisions of "Team:Pasteur Paris/test"
Line 1: | Line 1: | ||
{{Pasteur_Paris}} | {{Pasteur_Paris}} | ||
+ | <head> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | /** Fonction basculant la visibilité d'un élément dom | ||
+ | * @parameter anId string l'identificateur de la cible à montrer, cacher | ||
+ | */ | ||
+ | function toggle(anId) | ||
+ | { | ||
+ | node = document.getElementById(anId); | ||
+ | if (node.style.visibility=="hidden") | ||
+ | { | ||
+ | // Contenu caché, le montrer | ||
+ | node.style.visibility = "visible"; | ||
+ | node.style.height = "auto"; // Optionnel rétablir la hauteur | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | // Contenu visible, le cacher | ||
+ | node.style.visibility = "hidden"; | ||
+ | node.style.height = "0"; // Optionnel libérer l'espace | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | jQuery(".chosen-select").chosen({ | ||
+ | disable_search_threshold:10, | ||
+ | no_results_text: "Oops, nothing found!", | ||
+ | width: "95%" | ||
+ | }); | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | $("#filters").chosen().change(function(event) { | ||
+ | alert(test); | ||
+ | //console.log('select2 change', event, $(event.target).val()); | ||
+ | }); | ||
+ | </script> | ||
+ | </head> | ||
<html> | <html> | ||
Line 6: | Line 43: | ||
<div class="contenu"> | <div class="contenu"> | ||
+ | <form id="filters"> | ||
Search for a content: | Search for a content: | ||
<!-- multiple dropdown --> | <!-- multiple dropdown --> | ||
Line 15: | Line 53: | ||
<option selected="selected">Dojo Toolkit</option> | <option selected="selected">Dojo Toolkit</option> | ||
</select> | </select> | ||
− | < | + | </form> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<ul> | <ul> | ||
<li> June : </li> | <li> June : </li> |
Revision as of 08:35, 17 July 2015
/** Fonction basculant la visibilité d'un élément dom
- @parameter anId string l'identificateur de la cible à montrer, cacher
- /
function toggle(anId) { node = document.getElementById(anId); if (node.style.visibility=="hidden") { // Contenu caché, le montrer node.style.visibility = "visible"; node.style.height = "auto"; // Optionnel rétablir la hauteur } else { // Contenu visible, le cacher node.style.visibility = "hidden"; node.style.height = "0"; // Optionnel libérer l'espace } } </script> <script type="text/javascript"> jQuery(".chosen-select").chosen({
disable_search_threshold:10, no_results_text: "Oops, nothing found!", width: "95%"
}); </script> <script type="text/javascript"> $("#filters").chosen().change(function(event) {
alert(test); //console.log('select2 change', event, $(event.target).val());
}); </script> </head>
Notebook
- June :
- July :
- August :
- September :
06/01 - 06/05 :
06/08 - 06/12 :
06/15 - 06/19 :
06/22 - 06/26 :
06/29 - 07/03 :
07/06 - 07/10 :
07/13 - 07/17 :
07/20 - 07/24 :
07/27 - 07/31 :
08/03 - 08/07 :
08/10 - 08/14 :
08/17 - 08/21 :
08/24 - 08/28 :
08/31 - 09/04 :
09/07 - 09/11 :