enmi12/glossaire/_posts/demos/2010-12-12-basic.html
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
title: Basic
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
layout: default
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
category: demos
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
---
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
  
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
  <section id="copy">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    <p>This is a basic demo of Isotope. Resize the browser window to see the layout animate.</p>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  </section>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
  
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
  <div id="container">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
    {% for element in site.elements limit:20 %}
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
      {% include element-partial.html %}
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
    {% endfor %}
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
  </div> <!-- #container -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
  
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
  <script src="../{{ site.jquery_js }}"></script>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
  <script src="../{{ site.isotope_js }}"></script>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
  <script>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
    $(function(){
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
      
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
      var $container = $('#container');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
      
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
      $container.isotope({
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
        itemSelector: '.element'
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
      });
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
      
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
    });
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
  </script>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30