enmi12/glossaire/_includes/change-sizes.js
author ymh <ymh.work@gmail.com>
Mon, 08 Sep 2025 19:44:41 +0200
changeset 23 417f20492bf7
parent 0 d970ebf37754
permissions -rwxr-xr-x
Update Docker configuration and plugin versions - Upgrade MariaDB from 10.6 to 11 with auto-upgrade support - Add WordPress debug environment variable to FPM container - Update PHP-FPM Dockerfile base image - Update Include Mastodon Feed plugin with bug fixes and improvements - Update Portfolio plugin (v2.58) with latest translations and demo data enhancements - Remove old README.md from Mastodon Feed plugin 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
      // change size of clicked element
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
      $container.delegate( '.element', 'click', function(){
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
        $(this).toggleClass('large');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
        $container.isotope('reLayout');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
      });
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
      // toggle variable sizes of all elements
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
      $('#toggle-sizes').find('a').click(function(){
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
        $container
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
          .toggleClass('variable-sizes')
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
          .isotope('reLayout');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
        return false;
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
      });