source: spip-zone/_plugins_/sjcycle/trunk/modeles/sjcycle.html @ 82430

Last change on this file since 82430 was 82430, checked in by chankalan@…, 7 years ago

nouvelle version en développement basée sur la nouvelle librairie Cycle2

File size: 2.3 KB
Line 
1
2[(#SET{timeout,         [(#ENV{timeout,         #CONFIG{sjcycle/timeout}})]})]
3[(#SET{speed,           [(#ENV{speed,           #CONFIG{sjcycle/speed}})]})]
4[(#SET{pauseonhover,    [(#ENV{pauseonhover,    #CONFIG{sjcycle/pauseonhover}})]})]
5[(#SET{random,          [(#ENV{random,          #CONFIG{sjcycle/random}})]})]
6[(#SET{fx,              [(#ENV{fx,              #CONFIG{sjcycle/fx}})]})]
7[(#SET{largeurmax,      [(#ENV{largeurmax,      #CONFIG{sjcycle/largeurmax}})]})]
8[(#SET{backgroundcolor, [(#ENV{backgroundcolor, #CONFIG{sjcycle/backgroundcolor}})]})]
9[(#SET{prev,            [(#ENV{prev,            #CONFIG{sjcycle/prev}})]})]
10[(#SET{next,            [(#ENV{next,            #CONFIG{sjcycle/next}})]})]
11[(#SET{paused,          [(#ENV{paused,          #CONFIG{sjcycle/paused}})]})]
12[(#SET{pager,           [(#ENV{pager,           #CONFIG{sjcycle/pager}})]})]
13[(#SET{caption,         [(#ENV{caption,         #CONFIG{sjcycle/caption}})]})]
14[(#SET{captiontemplate, [(#ENV{captiontemplate, #CONFIG{sjcycle/captiontemplate}})]})]
15
16[(#ENV{align}|match{left|right}|=={left}|?{ #SET{marginfl,"margin-right"}, #SET{marginfl,"margin-left"}})]
17[(#SET{style,   [float:(#ENV{align}|match{left|right});#GET{marginfl}:1em;margin-top:0;][background-color:(#GET{backgroundcolor});][max-width:(#GET{largeurmax})px;]    })]
18
19<B_img>
20
21<div class="cycle-slideshow"[ style="(#GET{style})"][ 
22        data-cycle-speed="(#GET{speed})"][ 
23        data-cycle-timeout="(#GET{timeout})"][ 
24        data-cycle-pause-on-hover="(#GET{pauseonhover})"][ 
25        data-cycle-random="(#GET{random})"][ 
26        data-cycle-paused="(#GET{paused})"][ 
27        data-cycle-prev="(#GET{prev})"]][ 
28        data-cycle-next="(#GET{next})"]][ 
29        data-cycle-fx="(#GET{fx})"][
30        data-cycle-pager="(#GET{pager})"][
31        data-cycle-caption="(#GET{caption})"][
32        data-cycle-caption-template="(#GET{captiontemplate})"]>[(#GET{prev}|=={.cycle-prev}|oui)
33        <div class="cycle-prev"></div>][(#GET{next}|=={.cycle-next}|oui)
34        <div class="cycle-next"></div>][(#GET{pager}|=={.cycle-pager}|oui)
35        <div class="cycle-pager"></div>][(#GET{caption}|=={'.cycle-caption'}|oui)
36        <div class="cycle-caption"></div>]
37        <BOUCLE_img(DOCUMENTS){id_article=#ENV{id_sjcycle}}{extension==jpg|png|gif}{id_document==^((#ENV{docs}|replace{',',|}|sinon{.*}))$}{par num titre, date}{doublons}{0,#ENV{limite,100000000}}>[
38                <img class="no_image_filtrer" src="(#FICHIER|image_passe_partout{#GET{largeurmax},*}|extraire_attribut{src})"[ alt="(#TITRE)"] />
39        ]</BOUCLE_img>
40</div>
41
42</B_img>
Note: See TracBrowser for help on using the repository browser.