Changeset 93796 in spip-zone


Ignore:
Timestamp:
Dec 17, 2015, 11:26:40 PM (4 years ago)
Author:
p@…
Message:

Ajouter reveal_class et les animations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/modeles/reveal.html

    r93790 r93796  
    99 titre = le titre du lien
    1010 class = la class du lien
     11 class_reveal = la class pour la reveal (http://foundation.zurb.com/sites/docs/reveal.html#sizing)
    1112 content = contenu de la reveal. Utile si on ne charge rien via ajax
     13 animation-in = Animation d'entrée (http://foundation.zurb.com/sites/docs/motion-ui.html)
     14 animation-out = Animation de sortie (http://foundation.zurb.com/sites/docs/motion-ui.html)
    1215]
    1316
     
    2730</a>]
    2831
    29 <div id="reveal-#ENV{data-id}" class="large reveal" data-reveal>
     32<div[ id="reveal-(#ENV{data-id})"]
     33          class="reveal[ (#ENV{class_reveal})]"
     34          [(#ENV{animation-in}|oui)data-animation-in="#ENV{animation-in}"]
     35          [(#ENV{animation-out}|oui)data-animation-out="#ENV{animation-out}"]
     36          data-reveal>
    3037        [(#ENV**{content})
    3138        <INCLURE{fond=inclure/reveal-close, content=oui} />]
Note: See TracChangeset for help on using the changeset viewer.