Closed Ezra-Siton-UIX closed 6 years ago
Swipe issue with jquery.twentytwenty.js file (see the codepens):
jquery.twentytwenty.js
When i use this assest from this page the swipe works fine :
<script src="https://zurb.com/playground/uploads/upload/upload/91/jquery.event.move.js"></script> <script src="https://zurb.com/playground/uploads/upload/upload/92/jquery.twentytwenty.js"></script>
https://codepen.io/ezra_siton/pen/xJewxp
But when i use cdns - the swipe wont work well (Maybe the code inside cloudflare not update) https://cdnjs.com/libraries/mhayes-twentytwenty
<script src="https://cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/1.0.0/js/jquery.event.move.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/1.0.0/js/jquery.twentytwenty.min.js"></script>
Example (No swipe): https://codepen.io/ezra_siton/pen/yqrNPy https://codepen.io/brandonhimpfen/pen/ZpOyQx/
Working Example:
Swipe issue with
jquery.twentytwenty.js
file (see the codepens):Working swipe :)
When i use this assest from this page the swipe works fine :
https://codepen.io/ezra_siton/pen/xJewxp
not working swipe :(
But when i use cdns - the swipe wont work well (Maybe the code inside cloudflare not update) https://cdnjs.com/libraries/mhayes-twentytwenty
Example (No swipe): https://codepen.io/ezra_siton/pen/yqrNPy https://codepen.io/brandonhimpfen/pen/ZpOyQx/
Working Example: