Back to RJSliders Support

matteg813067
matteg813067

Hi.

Im new to OctoberCMS and have just implemented the RJ Slider-plugin. I've been using the RJ Gallery with out problems. But when I add a RJ-Slider on a page the images are displayed in a column from top to bottom.

Am Im doing something wrong? {% styles %} and {% scripts %} is in my header.

Error in the developer-console of the browser: Uncaught ReferenceError: $JssorEasing$ is not defined and a referens to the script that is generated on that page.

jssor_advanced_starter = function (containerId) { var _SlideshowTransitions = [ //Fade Twins { $Duration: 700, $Opacity: 2, $Brother: { $Duration: 1000, $Opacity: 2 } }, //Rotate Overlap { $Duration: 1200, $Zoom: 11, $Rotate: -1, $Easing: { $Zoom: $JssorEasing$.$EaseInQuad, $Opacity: $JssorEasing$.$EaseLinear, $Rotate: $JssorEasing$.$EaseInQuad }, $Opacity: 2, $Round: { $Rotate: 0.5 }, $Brother: { $Duration: 1200, $Zoom: 1, $Rotate: 1, $Easing: $JssorEasing$.$EaseSwing, $Opacity: 2, $Round: { $Rotate: 0.5 }, $Shift: 90 } },
Raviraj Chauhan
Raviraj Chauhan

Check for jssor.slider.min.js reference in page source, may be the javascript for the slider not loaded properly. OR You can replace the _SlideshowTransitions code from the original one.

Last updated

matteg813067
matteg813067

in the bottom of the page and the URI works. The jssor.slider.min.js looks to have the same content as the one on GitHub.

Replace the original code with ?

prihodko.work3773
mjsorribas3949
mjsorribas3949

This script is not in my code.. "jssor.slider.min.js". the function onRun is never called from any file.

I put in my header:

    <link href='plugins/raviraj/rjsliders/assets/style/sliderstyle.css' rel='stylesheet' type='text/css'>
 <script src="plugins/raviraj/rjsliders/assets/js/jssor.slider.min.js"></script>

And then works..

Cpt.Meatball
Cpt.Meatball

Tried the solution mentioned above, but I still have the jssor error. Can somebody tell me the exact place where to load this?

Raviraj Chauhan
Raviraj Chauhan

Upgrade to the latest version v1.0.5, Uncaught ReferenceError issue is solved. Uncaught ReferenceError is caused because the slider script is executed before jssor.slider.min.js is loaded.

And yes, you can always solve this issue by putting jssor.slider.min.js in header.

Last updated

1-7 of 7