Javascript.RU

Создать новую тему Ответ
 
Опции темы Искать в теме
  #1 (permalink)  
Старый 17.11.2020, 15:20
Новичок на форуме
Отправить личное сообщение для alexsunny123 Посмотреть профиль Найти все сообщения от alexsunny123
 
Регистрация: 17.11.2020
Сообщений: 2

Adapting the script on the old jQuery version to the new one?..
Hello,

The classic situation is a conflict between two jQuery libraries. Version jquery-1.7.1.min for the slider and jquery-1.10.1.min for the feedback modal. I'm trying to leave version 1.10.1 - the slider doesn't work. I leave 1.7.1 - everything is in order with the slider, but the modal window does not work correctly.
Actually, two questions:
1) Is there any algorithm to adapt the script https://ometv.io https://chatroulette.top on the old version of jQuery to the newer one? And is it possible to make all the plug-in scripts work on the same library without problems?
2) I heard about a way in which you can leave two libraries of different versions working. Something about a script that replaces the $ variable with jquery. Can you describe this method in more detail?

Attached to the post a slider plugin with scripts.

thanks
alexsunny

Последний раз редактировалось alexsunny123, 08.02.2024 в 14:13.
Ответить с цитированием
  #2 (permalink)  
Старый 17.11.2020, 15:26
Аватар для рони
Профессор
Отправить личное сообщение для рони Посмотреть профиль Найти все сообщения от рони
 
Регистрация: 27.05.2010
Сообщений: 33,068

alexsunny123,
https://api.jquery.com/jQuery.noConflict/
Ответить с цитированием
Ответ



Опции темы Искать в теме
Искать в теме:

Расширенный поиск


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Просмотрела исходик jQuery Откорректируйте где не верно taksebe jQuery 5 23.11.2018 22:42
Динамически загружаемая jQuery и jQuery-функции в одном файле 67bytes Общие вопросы Javascript 6 06.03.2013 09:01
Вопрос поддержки старых методов jQuery antonM jQuery 1 04.10.2012 00:08
jquery is not defined - странный случай tarya jQuery 2 16.07.2012 14:27
2 разных модуля на jQuery - как подключить? finder jQuery 4 23.03.2012 22:29