Skip to content

Commit cc7ec59

Browse files
committed
updated app html, removed static site from demo folder, we shouldnt have two copies of it.
1 parent d45ec30 commit cc7ec59

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

Turntable.zip

6.07 KB
Binary file not shown.

TurntableSlider.zip

-6.66 KB
Binary file not shown.

index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li>
4141
<a href="#install">Install</a>
4242
</li>
43-
<a href="https://s3.amazonaws.com/turntable-slider/TurntableSlider.zip" class="btn btn-white-outline navbar-btn">Download</a>
43+
<a href="https://s3.amazonaws.com/turntable-slider/Turntable.zip" class="btn btn-white-outline navbar-btn">Download</a>
4444
</ul>
4545
</div><!-- /.navbar-collapse -->
4646
</div><!-- /.container-fluid -->
@@ -49,7 +49,6 @@
4949
<header class="position-9">
5050
<div class="container">
5151

52-
5352
<div class="turntable-container">
5453
<div class="header-overlay turntable" id="turntable">
5554
<ul>
@@ -75,6 +74,7 @@
7574
<h1 class="text-color">Turntable.js</h1>
7675
<p class="text-color lead">A Responsive JQuery Slider</p>
7776
</div>
77+
7878
</div>
7979
</header>
8080

@@ -200,16 +200,18 @@ <h2 id="install">Installation</h2>
200200
</div>
201201

202202
<h2 id="settings">Settings</h2>
203-
<p class="lead">Turntable.js will accept an object as a parameter. You can decide if you want to flip through the images as your mouse moves along the X or Y axis of the container. You can pass in the object when you call the plugin like this.</p>
203+
<p class="lead">Turntable.js will accept an object as a parameter. There are three keys you can use to customize the slider. You can decide if you want to flip through the images as your mouse moves along the X or Y axis of the container, or as you scroll down the page using <b>axis</b>. If you want to reverse the direction it goes through the images, pass in <b>reverse: true</b>. You can also decide where the container will start to turn while you scroll down the page. Try playing around with the different options until you find what works best for you. You can pass in the object when you call the plugin like this -</p>
204204
<pre class="prettyprint pad language-java">
205205

206-
$('#mySpinnyContainer').turntable(
207-
{axis: 'y'}
208-
);
206+
$('#mySpinnyContainer').turntable({
207+
axis: 'x, y, or scroll',
208+
reverse: boolean, // true or false, will reverse the array of images
209+
scrollStart: 'top, middle, or bottom', // only necessary if axis = 'scroll'
210+
});
209211
</pre>
210212
<p class="lead">The plugin will default to the X axis if no option is provided.</p>
211213
<br>
212-
<p>v 1.0</p>
214+
<p>v 1.1</p>
213215
</div>
214216
</section>
215217

@@ -235,7 +237,7 @@ <h2 id="settings">Settings</h2>
235237
<script type="text/javascript" src="./js/main.js"></script>
236238
<script type="text/javascript">
237239
$('#turntable').turntable({axis: 'x', reverse: true});
238-
$('#turntable2').turntable({axis: 'scroll'})
240+
$('#turntable2').turntable({axis: 'scroll'});
239241
</script>
240242

241243
</body>

js/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)