Ignore:
Timestamp:
Sep 6, 2012, 9:38:00 AM (9 years ago)
Author:
brunobergot@…
Message:

ajout d'un paramètre legende=oui au modèle pour afficher les titres des images en caption

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/images_compare/modeles/imagescompare.html

    r65504 r65598  
    1111        $(function(){
    1212                $.getScript('#CHEMIN{javascript/jquery.qbeforeafter.js}', function(){
    13                         $('.beforeafter').qbeforeafter({defaultgap:50, leftgap:0, rightgap:0, caption: false, reveal: 0.5});
     13                        $('.beforeafter').qbeforeafter({defaultgap:50, leftgap:0, rightgap:0, caption: [(#ENV{legende}|?{true,false})], reveal: 0.5});
    1414                });
    1515        });
Note: See TracChangeset for help on using the changeset viewer.