Changeset 89667 in spip-zone
- Timestamp:
- May 26, 2015, 3:45:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_galaxie_/plugins-spip-net/svp2010/content/plugin.html
r74035 r89667 44 44 $(function(){ 45 45 $('.paquet .descriptif').hide(); 46 $('.paquet .bouton_descriptif'). toggle(function(){47 $(this).text('<:pluginspip:bouton_masquer_description|texte_script:>').toggleClass('deplie').siblings('.descriptif').slideToggle();48 return false;49 }, function(){50 $(this).text('<:pluginspip:bouton_ afficher_description|texte_script:>').toggleClass('deplie').siblings('.descriptif').slideToggle();51 return false;52 }53 );46 $('.paquet .bouton_descriptif').click(function(){ 47 if ($(this).hasClass('deplie')) 48 $(this).text('<:pluginspip:bouton_afficher_description|texte_script:>'); 49 else 50 $(this).text('<:pluginspip:bouton_masquer_description|texte_script:>'); 51 $(this).toggleClass('deplie').siblings('.descriptif').slideToggle(); 52 return false; 53 }); 54 54 }); 55 55 })(jQuery);
Note: See TracChangeset
for help on using the changeset viewer.