I'm using owl carousel as both a standard carousel and as a banner rotator and everything is working fine. That is until I enter preview mode. Loading a page in preview causes the plugin to stop working completely, I am getting a js error saying that $(...)owlcarousel is not a function. Has anyone run in to something similar or could offer an explanation of why this might be happening?
Unfortunately, there is nothing in the trace log related to the issue. I'm including the head section of my template as well as the calls to the javascript functions that are failing.
Javascript Plugin not displaying in preview mode
I'm using owl carousel as both a standard carousel and as a banner rotator and everything is working fine. That is until I enter preview mode. Loading a page in preview causes the plugin to stop working completely, I am getting a js error saying that $(...)owlcarousel is not a function. Has anyone run in to something similar or could offer an explanation of why this might be happening?
Thanks
Hi Owen
What version of Umbraco are you using?
/Jan
I guess that would be helpful information. I'm using 6.1.6.
Hi Owen
Well that sure is an odd issue. Not something I've seen before on that version.
Do you see any related error messages in the /app_data/logs file?
/Jan
Unfortunately, there is nothing in the trace log related to the issue. I'm including the head section of my template as well as the calls to the javascript functions that are failing.
head section:
and the failing function calls:
this is wrapped in script tags but for some reason the editor isn't displaying the end script tag so I remove them altogether.
Thanks, Owen
is working on a reply...