Shift8 ScrollShot

Àpèjúwe

Shift8 ScrollShot turns a tall image into a scrolling screenshot preview. Add the wrapper and image classes, then adjust the behavior with data attributes. It works in regular templates, block markup, and most page builders.

Features:

  • Automatic loop or scroll-linked movement
  • Configurable pause timing
  • Optional browser-style frame with traffic-light dots
  • Per-instance configuration via data attributes
  • Multiple independent instances on one page
  • Respects prefers-reduced-motion
  • No jQuery dependency

Usage

  1. Add a container element and give it the CSS class s8-scrollshot.
  2. Add an image inside that container and give the image the CSS class s8-scrollshot__image.
  3. (Optional) Add data attributes to the container or image to configure the behavior.

Data attributes can be placed on either the wrapper or the image. If the same attribute appears on both, the wrapper value takes priority.

Page Builder Setup

In visual builders such as Bricks or Elementor:

  1. Add a container or section element and apply the CSS class s8-scrollshot.
  2. Add an image element inside it and apply the CSS class s8-scrollshot__image.
  3. Use the builderÌtumọ̀ Yorùbá: ’s custom attributes panel to add any data-* attributes.

Plain HTML Example

<div class="s8-scrollshot" data-mode="auto" data-duration="15000">
  <img class="s8-scrollshot__image" src="screenshot.png" alt="Screenshot">
</div><h3>Data Attributes</h3>

All configuration is done through HTML data attributes on the .s8-scrollshot container or the .s8-scrollshot__image element. Wrapper values take priority over image values.

  • data-mode Ìtumọ̀ Yorùbá: – auto or scroll (default: auto)
  • data-duration Ìtumọ̀ Yorùbá: – Total cycle time in milliseconds (default: 12000)
  • data-end-pause Ìtumọ̀ Yorùbá: – Hold time at top and bottom in milliseconds (default: 1500)
  • data-pause-on-hover Ìtumọ̀ Yorùbá: – true or false (default: true)
  • data-reverse Ìtumọ̀ Yorùbá: – true or false, controls bounce direction (default: true)
  • data-frame Ìtumọ̀ Yorùbá: – none or browser (default: none)
  • data-viewport-height Ìtumọ̀ Yorùbá: – Visible area height in pixels (default: 700)
  • data-viewport-width Ìtumọ̀ Yorùbá: – Viewport width in pixels, 0 for auto (default: 0)
  • data-easing Ìtumọ̀ Yorùbá: – Any CSS easing string (default: ease-in-out)

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Upload the shift8-scrollshot folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen in WordPress.

FAQ

Does it require a specific page builder?

No. The plugin scans the DOM for .s8-scrollshot and .s8-scrollshot__image classes regardless of which theme or page builder rendered them. It works with Bricks, Elementor, Gutenberg blocks, hand-coded HTML, or any other setup.

Can I have multiple instances on one page?

Yes. Each .s8-scrollshot instance is independent.

What happens if my image is shorter than the viewport?

The image stays static.

How do I control the width?

Set a width on the container element, or use the data-viewport-width attribute with a pixel value. The image fills the viewport width by default.

How do I make the scroll slower?

Increase data-duration. For a slow scroll, try 15000 or 20000 (15-20 seconds per cycle). Also increase data-end-pause for longer holds at each end.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Shift8 ScrollShot” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Shift8 ScrollShot” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.2

  • Harden data attribute parsing and animation setup.

1.0.1

  • Move runtime CSS and JavaScript to frontend-assets.
  • Add WordPress.org plugin page assets.

1.0.0

  • Initial release.