Y
Y
Yura01032019-09-12 14:30:38
1C-Bitrix
Yura0103, 2019-09-12 14:30:38

How to connect Fancybox to Bitrix?

The site has a template using jQuery version 1.8.3, and a new fancybox jQuery 3.3.1), When jQuery 3.3.1 is connected, the site menu falls off. Is it possible to somehow limit the scope of the jQuery 3.3.1 action to the gallery created with Fancybox

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yaroslav Alexandrov, 2019-09-12
@alexyarik

It will not work, there will be a jQuery version conflict if the menu is cross-cutting for the entire site. There are two options:
1) Change the menu scripts to support jQuery 3.3.1
2) Downgrade fancybox from 3 to 2 or lower where jQuery 1.8.3 is supported

Y
Yura0103, 2019-09-12
@Yura0103

I tried fancybox 2, and for some reason it does not open large pictures in the form of a pop-up window on a smartphone

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question