Gallery βΊπ§ͺ
Automatically suppress your Webflow modals, popups & more after the user closes them for a specified number of days.
Finsweet developed a creative solution to select styling, which uses a dropdown element as a stylable proxy.
However;
It has no published API, which makes it unsuitable for resetting in situations such as a progressive filtering UX.
The select is physically within the dropdown, which means it's not possible to selectively choose whether you want the select or the dropdown to show, at different responsive breakpoints.
Usage Notes
STEP 1 - Add the SA5 Library
First, add the library as detailed in Quick Start.
STEP 2 - Add the SA5 Attributes
All attributes should be added to the Collection List element, which is the center
STEP 3 - Configure your Collection List layout
The Collection List element must be set to grid.
Attributes
All attributes should be added to the Collection List element, which is the center element in Webflow's 3-element collection list construction.
wfu-gallery
= ( no value )
wfu-gallery
= ( no value )Required.
wfu-gallery-layout
= ( layout engine )
wfu-gallery-layout
= ( layout engine )Required. Choose the layout engine you want to utilize;
simple-collage
Here are some quick samples of the layout options;
wfu-preload
= hidden
wfu-preload
= hidden
Optional. This avoids flicker by ensuring that the gallery is not shown until the layout is complete.
Learn more about SA5's preloading options.
Future
Automatic 12-column setting
Responsive rules
Configuration block for layout parameters
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
Was this helpful?