Answer the question
In order to leave comments, you need to log in
Where to call the jquery plugin in Bitrix?
included fancybox plugin files in component_epilog.php of the component
Asset::getInstance()->addCss(SITE_TEMPLATE_PATH."/libs/fancybox/source/jquery.fancybox.css", true);
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH."/libs/fancybox/source/jquery.fancybox.js", true);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question