Javascript files in Lotus Notes

2 replies · opened Apr 19, 2019

TthegonzoguyApr 19, 2019

I am loading your theme into a Lotus Notes database and have imported the javascript files. Some of the files are coming in empty and when I edit the original and copy all to paste into the javascript file I imported, there are errors in the syntax. Some of them come in fine but the following a giving console errors mostly saying jquery is not found but others also. I put an asterix next to those erroring out. I downloaded the "revolution.extension" files from the internet and now they work but those in the package did not.

  • <script src="/Themeforest/Main.nsf/jquery.js" type="text/javascript"></script>
  • <script src="/Themeforest/Main.nsf/plugins.js" type="text/javascript"></script>
    <!-- Footer Scripts
    ============================================= -->
  • <script src="/Themeforest/Main.nsf/functions.js" type="text/javascript"></script>
    <!-- SLIDER REVOLUTION 5.x SCRIPTS -->
    <script src="/Themeforest/Main.nsf/jquery.themepunch.tools.min.js" type="text/javascript"></script>
  • <script src="/Themeforest/Main.nsf/jquery.themepunch.revolution.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.video.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.slideanims.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.actions.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.layeranimation.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.kenburn.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.navigation.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.migration.min.js" type="text/javascript"></script>
    <script src="/Themeforest/Main.nsf/revolution.extension.parallax.min.js" type="text/javascript"></script>

Here are some of the console errors:

The script from “http://localhost/Themeforest/Main.nsf/functions.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
Slow.index
Loading failed for the <script> with source “http://localhost/Themeforest/Main.nsf/functions.js”. Slow.index:1086:1
ReferenceError: jQuery is not defined
jquery.themepunch.tools.min.js:23:102
The script from “http://localhost/Themeforest/Main.nsf/jquery.themepunch.revolution.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.

SSemicolon WebSTAFFApr 21, 2019

Hello,

The Template has not been tested with Lotus Notes, so we are not really sure about the errors you have mentioned. The Package Files provided works perfectly fine and has been tested rigorously before being released for production.

Can you please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

TthegonzoguyApr 23, 2019

Actually I figured it out. I have to load the js files in as File imports, not Script Libraries. Thank you.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard