SEMICOLON_carouselInit Function does not exist

5 replies · opened Sep 15, 2020

Aamadeus77Sep 15, 2020

Why do I get this message in the console even although setting the class .customjs on the .owl-carousel div?

SSemicolon WebSTAFFSep 15, 2020

Hello,

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.

SSemicolon WebSTAFFSep 16, 2020

Hello,

This issue is because you are including the Owl Carousel JS File separately:
[ch_pre][/ch_pre]

which is not required. The js/plugins.carousel.js File already has this code and will automatically detect the .customjs Class and will not process further.

So simply deleting the above line of code from your HTML File should fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Aamadeus77Sep 16, 2020

I know what you mean - that's what I thought and tried first, but when I delete this line I get the console error see attached!

For the moment I had to set it back WITH the additional loaded owl js

SSemicolon WebSTAFFSep 16, 2020

Hello,

We did provide you with a solution for this earlier: http://support.semicolonweb.com/forums/topic/portfolio-carousel-filter/#post-20955 . Simply wrap your custom JS codes inside this:
[ch_pre]jQuery(window).on( 'pluginCarouselReady', function(){
// Carousel JS Codes
});[/ch_pre]

This will definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

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