Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

Search
Galleries & detail viewing

Compare webpage screens

Move the divider to both ends to inspect the individual captures, then return to the middle. Divider position describes framing, not product performance.

Move the divider to both ends and view both images without fine dragging. State differences in shooting conditions before drawing any conclusion about products.

The divider drove the clip to 100% and 0%. When a slider moves but its picture does not, inspect this value to locate the broken connection.

Reproduce the test and inspect the readings

Move the first divider from its midpoint to maximum and minimum. Read the percentage used for clipping.

908 and 316 px, both preferences
50% then 100% then 0%

WESWOO loaded this example’s published HTML, CSS and JavaScript in standalone Chrome at 700 px viewport height. Both motion preferences were tested at each width.

2026-11-24 · Chrome 157.0.8103.79

Download test conditions and raw readings (JSON)

View the phone and desktop observations

WESWOO · 24 November 2026. We enabled reduced motion at phone width and used the default motion setting at desktop width. These observations come from the live example.

Window / preview widthActionObserved result
390 / 316 pxFocus the first divider and press EndThe divider started at 50. End moved it to its maximum of 100.
1440 / 908 pxFocus the first divider and press EndThe divider started at 50. End moved it to its maximum of 100.

Preparing preview

How the effect works

How to use

Compare composition across different project page screenshots.

Example source code

View 3 source filesHTML · CSS · MJS
product-comparison.html
<section class='fx gallery' lang='en'><div class='rail'><article class='card'><div class='cmp' data-cmp><img src='https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/shokz-openfit-preview.webp' alt='SHOKZ page screenshot'><div class='top'><img src='https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/termino-preview.webp' alt='TERMINO page screenshot'></div><b>TERMINO</b><strong>SHOKZ</strong></div><label>Move divider<input type='range' min='0' max='100' value='50'></label></article><article class='card'><div class='cmp' data-cmp><img src='https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/iniu-preview.webp' alt='INIU page screenshot'><div class='top'><img src='https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/fms-preview.webp' alt='FMS page screenshot'></div><b>FMS</b><strong>INIU</strong></div><label>Move divider<input type='range' min='0' max='100' value='50'></label></article><article class='card'><div class='cmp' data-cmp><img src='https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/termino-preview.webp' alt='TERMINO page screenshot'><div class='top'><img src='https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/iniu-preview.webp' alt='INIU page screenshot'></div><b>INIU</b><strong>TERMINO</strong></div><label>Move divider<input type='range' min='0' max='100' value='50'></label></article></div><nav class='dots'><button data-dot type='button' aria-label='Screen 1' aria-pressed='true'></button><button data-dot type='button' aria-label='Screen 2' aria-pressed='false'></button><button data-dot type='button' aria-label='Screen 3' aria-pressed='false'></button></nav></section>

Integration and checks

Theme integration

3 steps
  1. Duplicate the theme

    Integrate and preview the example in a duplicate theme.

  2. Connect the section settings

    Replace demo copy and artwork with section settings and scope the styles to that section.

  3. Connect the editor lifecycle

    Use the lifecycle script for editor reloads, pausing offscreen and cleanup on unload.

Placement

  • For webpage review; screenshots do not establish product or client outcome data.

Interaction

  • Native range clips the upper screenshot.

Touch and accessibility

  • Screenshots and text remain available without scripting; vertical scrolling is unaffected.

Setup notes for this effect

Replace sample images with imagery you may use, then test the interaction in the theme editor and on phones.

Before launch

Integration files
sections/ww-effect.liquid
{% comment %} WESWOO example shell. Add ONE effect's HTML inside .fx-slot. {% endcomment %}
{{ 'ww-effects.css' | asset_url | stylesheet_tag }}
<section id="ww-effect-{{ section.id }}" data-ww-effect-section>
  <h2>{{ section.settings.heading | escape }}</h2>
  <button type="button" data-effect-toggle aria-pressed="false">Play / pause effect</button>
  <div class="fx-slot">
    {% comment %} Insert the chosen .fx element here; read copy/images from section settings. {% endcomment %}
  </div>
</section>
<script type="module" src="{{ 'ww-effect-section.js' | asset_url }}"></script>
{% schema %}
{"name":"WESWOO effect","settings":[{"type":"text","id":"heading","label":"Heading","default":"Our story"}],"presets":[{"name":"WESWOO effect"}]}
{% endschema %}

Insert the selected effect into the shell. Each module loads one effect; multiple types need an explicit registry and Section mapping.

Sources and further reading

Scope and licensing

Examples are authored by WESWOO and credited open-source contributors; retain their applicable licenses. Project screens and photographs remain with their rights holders. Downloads use placeholders; replace them with imagery you may use.

Shopify/dawn · modal / slider base classesShopify/dawn · product media galleryShopify/dawn · license

References checked · 2026-11-24