Last change
on this file since 682 was
80,
checked in by guille, 16 years ago
|
el plugin completo
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Rev | Line | |
---|
[80] | 1 | <BOUCLE_cachearts(ARTICLES){id_rubrique}></BOUCLE_cachearts> |
---|
| 2 | <B_listearticles> |
---|
| 3 | <div id="artinrub" class="listagebloc faq"> |
---|
| 4 | <h2><:questions:></h2> |
---|
| 5 | <ul class="listageconteneur"> |
---|
| 6 | <BOUCLE_listearticles(ARTICLES){id_rubrique}{par num titre}{par titre}{doublons cacher}> |
---|
| 7 | <li> |
---|
| 8 | [(#INCLURE{fond=formatage_logo_liste}{id_article}{conteneur=#ENV{conteneur}})] |
---|
| 9 | <h4 class="listagetitre">[(#TITRE|supprimer_numero)]</h4> |
---|
| 10 | <div class="listagetexte"> |
---|
| 11 | [(#ENV{conteneur}|=={1}|?{' ',''})[(#TEXTE|image_reduire{#LARGEUR_CONTEXTE1,0})]] |
---|
| 12 | [(#ENV{conteneur}|=={2}|?{' ',''})[(#TEXTE|image_reduire{#LARGEUR_CONTEXTE2,0})]] |
---|
| 13 | [(#ENV{conteneur}|=={3}|?{' ',''})[(#TEXTE|image_reduire{#LARGEUR_CORPS,0})]] |
---|
| 14 | </div> |
---|
| 15 | </li> |
---|
| 16 | </BOUCLE_listearticles> |
---|
| 17 | </ul> |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | <script type="text/javascript"> |
---|
| 21 | $(document).ready(function(){ |
---|
| 22 | $(".faq .listagetexte").hide(); |
---|
| 23 | $(".faq .listagetitre").each(function(){ |
---|
| 24 | $(this).css("cursor","pointer"); |
---|
| 25 | $(this).click(function(){ |
---|
| 26 | if ($(this).next(".listagetexte").css("display")=="block") { |
---|
| 27 | $(this).next(".listagetexte").slideUp("slow"); |
---|
| 28 | } else { |
---|
| 29 | $(".faq .listagetexte:visible").slideUp("slow"); |
---|
| 30 | $(this).next(".listagetexte").slideDown("slow"); |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | }); |
---|
| 35 | }); |
---|
| 36 | }); |
---|
| 37 | </script> |
---|
| 38 | </div> |
---|
| 39 | </B_listearticles> |
---|
Note: See
TracBrowser
for help on using the repository browser.