Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

carousel bootstrap swipe touch with include slider file to master page #356

Open
son89 opened this issue Sep 15, 2019 · 0 comments
Open

Comments

@son89
Copy link

son89 commented Sep 15, 2019

hi guys , i want slider carousel bootstrap swipe touch in mobile device when add script swiptouch end before body tag not working ( me generate slider in file slider.php and include to master page index.php) scripte not working for slider because include to master whay ,what to do ?

`<script type="text/javascript" src="./dist/jquery.touchSwipe.min.js"></script>

<script> $(document).ready(function() { // $(function() { //Enable swiping... $("#test").swipe( { //Generic swipe handler for all directions swipe:function(event, direction, distance, duration, fingerCount, fingerData) { $(this).text("You swiped " + direction ); alert(direction); }, //Default is 75px, set to 0 for demo so any distance triggers swipe threshold:0 }); }); </script>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant