Book Image

Bootstrap Site Blueprints

Book Image

Bootstrap Site Blueprints

Overview of this book

Table of Contents (16 chapters)
Bootstrap Site Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Getting and including the TouchSwipe plugin


Let's add TouchSwipe.js to our plugins file:

  1. Go to the TouchSwipe GitHub repository at https://github.com/mattbryson/TouchSwipe-Jquery-Plugin.

  2. Download the repository.

  3. Find the jquery.touchSwipe.min.js file and copy the code.

  4. Paste the plugin code into your plugins.js file in the js folder after the Bootstrap plugins.

  5. Save the file.

Plugin added. Now let's initialize it.