JSFiddle - React, Tailwind, and code Playground
by fakeguybrushthreepwood
HTML
<html>
<head>
<title>Test Slide</title>
<script type='text/javascript' src='http://code.jquery.com/jquery-1.7.1.js'></script>
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css">
<script type='text/javascript' src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script type='text/javascript' src="https://raw.github.com/bradbirdsall/Swipe/swipe2/swipe.js"></script>
<style type='text/css'>
/* Product CSS */
.product {
padding-top:10px;
padding-bottom:10px;
padding-left:24px;
padding-right:24px;
float:left;
}
/* Swipe 2 required styles */
.swipe {
overflow: hidden;
visibility: hidden;
}
.swipe-wrap {
overflow: hidden;
position: relative;
}
.swipe-wrap div {
float:left;
/* width:100%; */
position: relative;
}
</style>
<script type='text/javascript'>
$('#home').live('pageshow',function(){
window.slider = new Swipe(document.getElementById('slider'));
});
</script>
</head>
<body>
<div data-role="page" id="home">
<div data-role="content">
<!-- Take out the FOLLOWING two lines to display grid correctly -->
<div id='slider' class='swipe'>
<div class='swipe-wrap'>
<!-- Take out the ABOVE two lines to display grid correctly -->
<div>
<div class="product"><img src="https://si0.twimg.com/profile_images/2550929755/x21D5sCH_reasonably_small" /></div>
<div class="product"><img src="https://si0.twimg.com/profile_images/2550929755/x21D5sCH_reasonably_small" /></div>
<div...