Actions - can't find actions, is there an advanced action menu?

nakram1001
Community Member Posts: 8
Hi all,
I was just working on something and needed create a onMouse DoubleClick action, but my action option's are very few in Lectora. All I have is Page Show, Object Hide/Show, Mouse click/enter/exit/right click.
However, the help file suggest that there are many other actions available:
Any Key
Hide
Keystroke
Mouse Click
Mouse Double-Click
Mouse Enter
Mouse Exit
Show
Show Page
Done Playing
Any Key
Right Mouse Click
Timer
I can't locate any of these. Any ideas where they are?
TIA.
I was just working on something and needed create a onMouse DoubleClick action, but my action option's are very few in Lectora. All I have is Page Show, Object Hide/Show, Mouse click/enter/exit/right click.
However, the help file suggest that there are many other actions available:
Any Key
Hide
Keystroke
Mouse Click
Mouse Double-Click
Mouse Enter
Mouse Exit
Show
Show Page
Done Playing
Any Key
Right Mouse Click
Timer
I can't locate any of these. Any ideas where they are?
TIA.
Comments
-
-
Oh, sorry, I'm not sure about what objects have what triggers or what publishing mode you have to be in to see them. If you want to use some JavaScript to insert a double click event listener on a certain page then add a run JavaScript on the show of the page with the following:
document.getElementById('shapeXXX').addEventListener('dblclick', function(){
/* do your code here */
});
Replace the shapeXXX with your transparent hot spot shape HTML Name. Reply if you need further assistance with the code and I or someone else here will surely help you out.
-
-
-
Ever since you asked that question I have tried to find any object that has a double click trigger and I can't find one. I've tried different publishing modes too. Nothing. Anyone else in the forum know how to bring up a double click trigger?
Until then you can use the JavaScript I suggested. Private message me of you need help with it. -
The double-click trigger has been available until Lectora v11 (i don't know if it existed in v12) for actions on buttons, images and shapes. It has only ever worked when publishing to formats using the Lectora Viewer (CD / EXE), not when publishing to be viewed in a browser (I thought browsers don't support double-clicks).
To create a double-click you can use Darrels code or Jennies approach by placing a transparent button over your hotspot. Add two actions to the button:
1.
On: Click
Action: Hide
Target: This object
2.
On: Hide
Action: Show
Target: This object
Delay: 0.5 sec
This way the real hotspot can only be clicked during the .5 seconds while the transparent button is hidden.
Other triggers only exist for certain objects:
Some triggers are only available for actions added to the page itself:
On: Keystroke (It's not possible to press [Enter] for an image only ;-)
On: Any key
On: Device rotation
On: Screen Swipe Left
On: Screen Swipe Right
Why not add "Up" and "Down"?
On: Timed Interval
Some triggers are only available for actions on certain objects:
On: Done playing
Only available for videos and audios, i.e. for "playable" objects.
On: Select / Change
Only available for form objects that can be selected, e.g. radio buttons, checkboxes, input field.
Tim
-
-
Categories
- 4.7K All Categories
- 3 New Feature Releases
- The Training Arcade®
- Arcades™
- 57 ✫ Announcements
- 6 ✪ Contests
- 34.1K eLearning Brothers® Products
- 33.6K Lectora®
- 31.6K Lectora Discussions
- 1.9K Lectora Feature Requests
- 64 Lectora User Groups
- 16 Asset Library
- 10 AssetLibrary Discussions
- 6 AssetLibrary Feature Requests
- 291 CenarioVR®
- 169 CenarioVR Discussions
- 122 CenarioVR Feature Requests
- 29 Rockstar Learning Platform®
- 20 Rockstar Learning Platform Discussions
- 9 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
- 114 CourseMill®
- 107 CourseMill Discussions
- 43 ReviewLink®
- 31 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 2 The Training Arcade®
- 1 The Training Arcade Discussions
- 1 The Training Arcade Feature Requests
- 10 Additional Learning Products
- 2 Adobe®
- 4 Articulate®
- 2 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 912 All Things eLearning
- 5 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 11 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 546 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 5 Visual Design
- 328 Web Accessibility
- 1.2K ♪ The Green Room
- 7 ♡ Community Feedback
- 7 Community Tips