source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/galeries/incgal-image-diaporama-popup.html @ 229

Last change on this file since 229 was 80, checked in by guille, 16 years ago

el plugin completo

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#SET{critere_in,#ARRAY{0,0}}
2<BOUCLE_recup(ARTICLES){id_article}>
3<BOUCLE_docart(DOCUMENTS){id_article}{extension==gif|png|jpg}{mode=document}>
4#SET{critere_in,#GET{critere_in}|array_merge{#ARRAY{#COMPTEUR_BOUCLE,#ID_DOCUMENT}}}
5#SET{vers,id_article=#ID_ARTICLE}
6</BOUCLE_docart>
7</BOUCLE_recup(ARTICLES)>
8<BOUCLE_docrub(DOCUMENTS){id_rubrique}{extension==gif|png|jpg}{mode=document}>
9#SET{critere_in,#GET{critere_in}|array_merge{#ARRAY{#COMPTEUR_BOUCLE,#ID_DOCUMENT}}}
10#SET{vers,id_rubrique=#ID_RUBRIQUE}
11</BOUCLE_docrub>
12<//B_recup>
13<B_doc>
14<div id="galerieimg">
15<h2><:galerie_image:></h2>
16<script type="text/javascript">
17jQuery(document).ready(function(){
18  jQuery(".diaporama-popup").click(function() {
19    url = jQuery(this).attr("href");
20    window.open(url, '<:diaporama:>', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=750,height=550,left=290,top=100');
21    return false;
22  });
23});
24</script>
25<ul><li>
26<BOUCLE_doc(DOCUMENTS){id_document IN #GET{critere_in}}{par num titre,id_document}>
27<a href="#URL_SITE_SPIP?page=galerie-diaporama-popup&#GET{vers}&id_document=#ID_DOCUMENT" target="_blank" alt="[(#TITRE|texte_script)]" title="[(#TITRE|texte_script)][ - (#DESCRIPTIF|texte_script)]" class="diaporama-popup">[(#INCLURE{fond=formatage_vignette}{id_document}{conteneur=#ENV{conteneur}})]</a>
28</BOUCLE_doc>
29</li></ul>
30</div>
31</B_doc>
Note: See TracBrowser for help on using the repository browser.