website logo
Auteur
avatar
jpb

Forum » » Divers » » [Résolu] - code


Posté : 04-10-2017 15:45 icone du post

[code js]      // choix icon boostrap table //
         window.icons = {
            refresh: 'fa-refresh fa-lg',
            toggle: 'fa-toggle-on fa-lg',
            columns: 'fa-th-list fa-lg',
            detailOpen: 'fa-plus-square-o',
            detailClose: 'fa-minus-square-o'
         };
      // <== choix icon boostrap table //

         $(document).ready(function(){
            // responsive old data
            $('.article_texte img,.ibid_descr img').addClass('img-fluid');
            $('#ban img,#art_preview img,#online_user_journal img,#art_sect img').addClass('img-fluid');
            $('iframe').addClass("embed-responsive-item");

            $('.fo-post-mes img').addClass('img-fluid');//not sure if usefull to late ...
            // icon toggle 
            $('a[data-toggle="collapse"]').click(function () {
               $(this).find('i.toggle-icon').toggleClass('fa-caret-up fa-caret-down',6000);
            })
            $('a[data-toggle="collapse"]').click(function () {
[/code]
L'eau goutte à  goutte finit toujours par percer la pierre...

Cet article provient de Labo JPB-PHR 2015-2024
https://labo.infocapagde.com/viewtopic.php?topic=910&forum=49