UPDATE: This is now responsive
There are TWO options both work with touch on a mobile and with the mouse/trackpad on a desktop/laptop and require no paid plugins - totally FREE solution.
-
Option 1 allows a user to swipe the card left or right and the tabs move accordingly. The tabs section is simply a horizontal scrolling RG so it moves very fast on swipe and does not select the next card but you can tap a button to get the card.
-
Option 2 allows the user to swipe either the card, or the tabs, left or right and they both move one step at a time. This seems more intuitive and operates like other mobile swipes I’ve used.
It bubble’s own, free, Draggable Elements plugin and ZeroQode’s free CSS Tools. The CSS Tools plugin is used to hide the scroll bar on the RG of tabs (not hidden on FireFox). The Draggable elements are used to allow the user to swipe the cards and the tabs.
This widget reads its tabs from a db table so you can have as many, or as few, tabs as you wish, dynamically. I have only set up 12 buttons (100 px each) which covers a standard 1200px screen but if you want more buttons or smaller buttons it should be easy to change.
OPTION ONE
The editor view is at: swipe-to-del | Bubble Editor
The live view is at: https://swipe-to-del.bubbleapps.io/version-test/card_tab_swipe
OPTION TWO
The editor view is at: swipe-to-del | Bubble Editor
The live view is at: https://swipe-to-del.bubbleapps.io/version-test/card_tab_swipe_both
I believe an enhanced version can be built using ZeroQode’s Touch and Mouse Events Detection plugin which I plan to attempt as soon as I have time.
Hope this helps somebody.