Changeset 106932 in spip-zone


Ignore:
Timestamp:
Oct 16, 2017, 8:35:04 AM (2 years ago)
Author:
chankalan@…
Message:

+options dans modeles/article_owl.html, url de démo de la lib, up de z

Location:
_plugins_/owlcarousel/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/owlcarousel/trunk/lang/paquet-owlcarousel_fr.php

    r104551 r106932  
    99        'owlcarousel_description' => 'OWL Carousel un plugin jQuery, support du Touch, mode responsive, lazy-load et plus.
    1010
    11 -* [Owl Carousel - Demo -> http://www.owlgraphic.com/owlcarousel/#demo]
    12 -* [Owl Carousel - GitHub -> https://github.com/OwlFonk/OwlCarousel]',
     11-* [Owl Carousel - Demo -> https://owlcarousel2.github.io/OwlCarousel2/demos/demos.html]
     12-* [Owl Carousel - GitHub -> https://owlcarousel2.github.io/OwlCarousel2/]',
    1313        'owlcarousel_nom' => 'Owl Carousel',
    1414        'owlcarousel_slogan' => 'Carousel responsive avec support du multi-touch.',
    1515       
    1616);
    17 
    18 ?>
  • _plugins_/owlcarousel/trunk/modeles/article_owl.html

    r106851 r106932  
    4848[(#REM) <!-- Diaporama -->]
    4949<div id="#ENV{id-carousel,demo}" class="owl-carousel owl-theme">
    50             <BOUCLE_listDocs(DOCUMENTS){id_article?}{id_document==^((#ENV{docs}|replace{',',|}|sinon{.*}))$}{mode=document}{extension==jpg|png|gif}>
    51             <div class="owl-slide" data-hash="#ID_DOCUMENT">
     50            <BOUCLE_listDocs(DOCUMENTS){id_article?}{id_document==^((#ENV{docs}|replace{',',|}|sinon{.*}))$}{extension==jpg|png|gif}>
     51            <div class="owl-slide" data-hash="#ENV{id-carousel,demo}#ID_DOCUMENT">
    5252                [(#ENV{caption,oui}|=={oui}|oui)
    5353                <div class="caption[ (#ENV{caption_css})]">[
    5454                    <h3 class="title">(#TITRE)</h3>][
    5555                    <p class="hidden-phone">(#DESCRIPTIF|textebrut)</p>]</div>]
    56                     <a href="#FICHIER" class="js-colorbox" rel="diaporama">
     56                    <a href="#FICHIER" class="js-colorbox"[ rel="diaporama(#ENV{id-carousel,demo})"]>
    5757                        <img [(#ENV{lazyLoad}|=={true}|oui)class="owl-lazy" data-]src="[(#FICHIER|image_reduire{650,450}|extraire_attribut{src})]" alt="[(#TITRE|textebrut)]">
    5858                    </a>
     
    7171        autoplay: (#ENV{autoplay}),][
    7272        autoplayHoverPause: (#ENV{autoplayHoverPause}),][
    73         lazyLoad: (#ENV{lazyLoad}),]
     73        lazyLoad: (#ENV{lazyLoad}),][
     74        autoplayTimeout: (#ENV{autoplayTimeout}),]
    7475        responsive:false,
    7576        URLhashListener:true,
     
    8485    // Gallerie Colorbox
    8586    $("a.js-colorbox").colorbox({
    86         rel:'diaporama',
    87         });
     87        rel:'diaporama#ENV{id-carousel,demo}',
     88    });
    8889});
    8990</script>
  • _plugins_/owlcarousel/trunk/paquet.xml

    r106857 r106932  
    22        prefix="owlcarousel"
    33        categorie="multimedia"
    4         version="1.0.3"
     4        version="1.0.4"
    55        etat="test"
    66        compatibilite="[3.0.5;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.