How to Fix a jQuery Conflict?
There are some websites that use jQuery-UI component libraries on their site.
In case you have a conflict after implementing the code, you can fix it by adding one of the following scripts right before your Poptin account code:
Loads our jQuery and jQuery ui scripts at the end
<script type="text/javascript">var poptinAfterPageLoad = true;</script>
Stops our jQuery and jQuery UI and we use client's jQuery and jQuery UI
<script type="text/javascript">var poptinAfterPageLoad = 'noConflict';</script>
Stops our jQuery and JQuery UI and we use client's jQuery but don't use jQuery UI animations at all
<script type="text/javascript">var poptinAfterPageLoad = 'noJqueryUi';</script>
If you face an issue with your page load, scroll or it is stuck, use this script:
<script> var poptin_loadcontrol_fix = true; </script>
In case you have a conflict after implementing the code, you can fix it by adding one of the following scripts right before your Poptin account code:
Loads our jQuery and jQuery ui scripts at the end
<script type="text/javascript">var poptinAfterPageLoad = true;</script>
Stops our jQuery and jQuery UI and we use client's jQuery and jQuery UI
<script type="text/javascript">var poptinAfterPageLoad = 'noConflict';</script>
Stops our jQuery and JQuery UI and we use client's jQuery but don't use jQuery UI animations at all
<script type="text/javascript">var poptinAfterPageLoad = 'noJqueryUi';</script>
If you face an issue with your page load, scroll or it is stuck, use this script:
<script> var poptin_loadcontrol_fix = true; </script>
Updated on: 15/11/2024
Thank you!