Changeset 96337 in spip-zone


Ignore:
Timestamp:
Mar 30, 2016, 6:39:29 PM (5 years ago)
Author:
p@…
Message:

Être certain d'avoir un data-id unique

File:
1 edited

Legend:

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

    r93893 r96337  
    1919]
    2020
     21[(#SET{data-id, [(#ENV{data-id})][(#REM|uniqid)]})]
     22
    2123[(#ENV{href}|oui)
    2224[(#SET{href_zajax, [(#ENV{href}|parametre_url{var_zajax,#ENV{zajax, content}})]})]
     
    2830
    2931[<a[ href="(#ENV{href})"]
    30          [data-toggle="reveal-(#ENV{data-id})"]
     32         [data-toggle="reveal-(#GET{data-id})"]
    3133         [(#ENV{href}|oui)data-reveal-ajax="#GET{href_zajax}"]
    3234         class="[(#ENV{href}|oui)reveal-ajax][ (#ENV{class})]">
     
    3436</a>]
    3537
    36 <div[ id="reveal-(#ENV{data-id})"]
     38<div[ id="reveal-(#GET{data-id})"]
    3739          class="reveal[ (#ENV{class_reveal, large})]"
    3840          [(#GET{animation-in}|oui)data-animation-in="#GET{animation-in}"]
Note: See TracChangeset for help on using the changeset viewer.