Swipe objects?

kineouk
Community Member Posts: 28
I'm finalising some responsive templates at the moment and all is going hunky dory.
Maybe I'm missing it, but is there a way to swipe an object or a button on a page, to trigger an action? I've got a series of images with text, that I use a next and back button to scroll through (basic 'showing' and 'hiding' as these are clicked - nothing fancy).
I've been asked if it's possible to swipe the images themselves to scroll through them. Any help / suggestions / answers with this would be lovely and gratefully received.
Thanks,
Mark.
Maybe I'm missing it, but is there a way to swipe an object or a button on a page, to trigger an action? I've got a series of images with text, that I use a next and back button to scroll through (basic 'showing' and 'hiding' as these are clicked - nothing fancy).
I've been asked if it's possible to swipe the images themselves to scroll through them. Any help / suggestions / answers with this would be lovely and gratefully received.
Thanks,
Mark.
0
Comments
-
The Swipe Right and Swipe Left actions are standard actions that can be attached to a page (e.g. On Swipe Right - do this or that). You cannot attach it to a specific object on a page. But you can do something like "Page - On Swipe Left - Hide image 1, show image 2" + "Page - On Swipe Right - Hide image 2, Show image 1" to add illusion of swiping.
P.S. "hunky dory"?0 -
Cheers Sergey. I thought as much.
It's a shame it can't be done on objects. Maybe is a nice to have in the future, since we're creating mobile and tablet experiences nowadays.
I put this in on page level, as you suggested, but it doesn't really work for me. Ah well - I'll just say it can't be done for now. Not a biggie. Thanks again.0 -
Swipe the cat see the car.
You can add your own copy of Hammer.js if you want to swipe on individual objects. Trivantis already employs Hammer.js when you build a responsive title, however, I have not had the time to examine their embedded code to tap into it. So far adding my own via html Extension has not yielded negative results. It is possible to have conflicts when adding one on top of the one already there but so far so good.
It should be relatively easy for Trivantis to add this functionality to all objects since they are already using and familiar with Hammer.js code.
I still think what you are looking to do is add a lightbox to your project so you can swipe to view individual images. Carousels are another option but are usually for viewing more than one image at a time although you can usually set them up as lightboxes too (Magnific allows this).0 -
Thanks very much Darrel. I'll give it a whirl on my next project or in some downtime, to try it out. Appreciate your help on it.0
So You Wanna Be An eLearning ROCKSTAR?
Categories
- 4.4K All Categories
- 35 ✫ Announcements
- 5 ✪ Contests
- 33.6K eLearning Brothers® Products
- 33.2K Lectora®
- 31.3K Lectora Discussions
- 1.9K Lectora Feature Requests
- 56 Lectora User Groups
- 2 AssetLibrary™
- AssetLibrary Discussions
- 2 AssetLibrary Feature Requests
- 220 CenarioVR®
- 121 CenarioVR Discussions
- 99 CenarioVR Feature Requests
- 2 Rockstar Learning Platform®
- 1 Rockstar Learning Platform Discussions
- 1 Rockstar Learning Platform Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 108 CourseMill®
- 101 CourseMill Discussions
- 40 ReviewLink®
- 28 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 1 The Training Arcade®
- 1 The Training Arcade Discussions
- The Training Arcade Feature Requests
- 7 Additional Learning Products
- 2 Adobe®
- 2 Articulate®
- 1 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 891 All Things eLearning
- 3 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 5 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 544 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 2 Visual Design
- 322 Web Accessibility
- 1.2K ♪ The Green Room
- 3 ♡ Community Feedback
- 7 Community Tips