ReviewLink Blocking jQuery; Worked Previously

msullivan3430
Community Member Posts: 42
I have a project that works fine in Run mode, but when I upload it to ReviewLink none of the jQuery functions. The previous version that was uploaded one month ago had no problems. Has anyone experienced this?
I'm currently linking to jQuery immediately below the title icon and inheriting this on all pages:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Thanks in advance for any ideas!
Maura
I'm currently linking to jQuery immediately below the title icon and inheriting this on all pages:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Thanks in advance for any ideas!
Maura
Comments
-
Do you have the script inside an HTML object in the project? (that's what it sounds like from your description I just want to be sure)
If you do, then could you upload a sample? I can take a look and see what I can find.
If all else fails, you can always download the JQuery library and include it in your project files as well. -
I've attached a file with most of the pages removed. jQuery still works in Run, but not on ReviewLink.
Thanks! -
-
-
No problem, glad to have been of help!
That "flash" is characteristic of loading HTML pages from the same window. Unfortunately, that's what seamless play was intended to fix. And when you don't need custom JS in your content, it works fine... usually.
There are some things you can try yourself however. The simplest thing is to try setting the background for the whole document.
CSSbody {
You could also try hiding certain elements until the page fully loads to avoid the "flash" that appears before they load. I found a really old project where I tried this. I'm pretty sure the code idea came from StackOverflow or something
background: #EDEBED url(myGrayBackgroundImage.jpg);
}
Anyway, doing this on elements that are loaded on top of your background images/banners/whatever will prevent them from appearing before the background is present. If this is used on elements that occur in the same location on each slide (such as a banner logo image), this will leave you with a "blink" effect where the element disappears briefly, then reappears. It's a different solution to an even more minute problem, but here it is:
HTML:<!-- Add a class to flag once the page is fully loaded -->
CSS:
<body onload="document.body.classList.add('loaded')">/* Hides specified element ID until page is fully loaded*/
body:not(.loaded) #element img {
display:none;
}
Categories
- 4.8K All Categories
- 6 New Feature Releases
- The Training Arcade®
- Arcadesâ„¢
- 123 ✫ Announcements
- 9 ✪ Contests
- 34.1K eLearning Brothers® Products
- 33.6K Lectora®
- 31.6K Lectora Discussions
- 1.9K Lectora Feature Requests
- 71 Lectora User Groups
- 16 Asset Library
- 10 AssetLibrary Discussions
- 6 AssetLibrary Feature Requests
- 301 CenarioVR®
- 176 CenarioVR Discussions
- 125 CenarioVR Feature Requests
- 37 Rockstar Learning Platform®
- 25 Rockstar Learning Platform Discussions
- 12 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
- 44 ReviewLink®
- 32 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®
- 930 All Things eLearning
- 5 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 11 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 545 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 21 Visual Design
- 331 Web Accessibility
- 1.2K ♪ The Green Room
- 8 ♡ Community Feedback
- 7 Community Tips