jQuery vs Lectora 17

georgeb
Community Member Posts: 43
Hi all, not sur eif this is the right place to ask / notify:
I tried to do something with jQuery. So to get going I started the Part 1 blog by Trivantis: https://www.trivantis.com/blog/using-jquery-lectora-customize-e-learning-courses-part-1/
But: The first test already fails. Is this because I'm using Lectora 17? (Publisher, desktop)
Anyone else has problems? Or maybe cool jquery examples like a horizontal drag drop exercise?
I tried to do something with jQuery. So to get going I started the Part 1 blog by Trivantis: https://www.trivantis.com/blog/using-jquery-lectora-customize-e-learning-courses-part-1/
But: The first test already fails. Is this because I'm using Lectora 17? (Publisher, desktop)
Anyone else has problems? Or maybe cool jquery examples like a horizontal drag drop exercise?
Comments
-
The code from the blog article should work (as long as you've deactivated Seamless Play). If you copied the code directly from the blog to Lectora, you should be aware that you have to replace all the fancy quotes (which aren't quotes) with real quotes:
$("input").click(check_and_limit); function check_and_limit() { if ($("input:checked").length == 3) { $("input:not(:checked)").attr("disabled", true) } else { $("input").attr("disabled", false) } }
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products