Depthmap (Fake 3D) Image ❺πŸ§ͺ

Give an image a 3D-like depth, and a parallax-like mouseover effect

** Much smoother in real use.

Usage Notes

Media Prep

On the image element;

wfu-effect = depthmap

Inventory all attributes on the element, look for wfu-effect-setting-*

Unknown setting error

Based on Interface?

Pull that value into a settings object

Pass it to

wfu-effect-setting-map = ( url )

wfu-effect-setting-xthreshold = ( integer )

Defaults to 20

wfu-effect-setting-ythreshold= ( integer )

Defaults to 20

Add the SA5 Library

First, add the library as detailed in Quick Start.

Docs not yet written.

I want this element to represent my suppressible content

To the outermost element you want to suppress;

  • Add a custom attribute of wfu-modal = ( name ). Give it any custom name you like. That name will be used in the suppression tracking so you can e.g. have the same modal on every page, and suppress it site-wide.

  • Add a custom attribute of wfu-modal-trigger = load.

  • Add the suppression duration you want, using wfu-modal-suppress-days = ( days ). If unspecified, defaults to about 1 year.

I want this element to be the close button

To the close element(s) within the modal;

  • Add an attribute of wfu-modal-close = true

  • Add an attribute of wfu-modal-close-type = auto

Questions? Feature Requests?

Visit the SA5 forum link at the top of this page.

Last updated