List Scroller iOS Animation listt - Download Keyboard-enabled List Scroller With iOS Scroll Animation - jQuery listt

Download Keyboard-enabled List Scroller With iOS Scroll Animation – jQuery listt

Posted on

This time I will share jQuery Plugin and tutorial about Keyboard-enabled List Scroller With iOS Scroll Animation – jQuery listt, hope it will help you in programming stack.

List Scroller iOS Animation listt - Download Keyboard-enabled List Scroller With iOS Scroll Animation - jQuery listt
File Size: 9.4 KB
Views Total: 473
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

listt is a jQuery based, keyboard-enabled list scroller which can be used to fade through a group of images with a vertical list based indicator.

Use navigation buttons or keyboard arrows to scroll through the indicator while switching between the images. Inspired by iOS’ uipickerview.

How to use it:

1. Insert a group of images into the image box.

01 <div class="image-box">
02   <div class="bg active img1">
03     <img src="1.svg">
04     <h2>Description 1</h2>
05   </div>
06   <div class="bg img2">
07     <img src="2.svg">
08     <h2>Description 2</h2>
09   </div>
10   <div class="bg img3">
11     <img src="3.svg">
12     <h2>Description 3</h2>
13   </div>
14   <div class="bg img4">
15     <img src="4.svg">
16     <h2>Description 4</h2>
17   </div>
18   <div class="bg img5">
19     <img src="5.svg">
20     <h2>Description 5</h2>
21   </div>
22 </div>

2. Create an unordered html list and specify the associated images using the data-img-bg attribute:

01 <div class="list-container">
02   <div class="list-sort">
03     <ul class="list">
04       <li data-img-bg="img4">04</li>
05       <li data-img-bg="img5">05</li>
06       <li class="current" data-img-bg="img1">01</li>
07       <li data-img-bg="img2">02</li>
08       <li data-img-bg="img3">03</li>
09     </ul>
10   </div>
11 </div>

3. Create next/prev navigation buttons.

1 <div class="arrow-left-box">
2   <i class="icon icon-caret-left"></i>&nbsp;&nbsp;Prev
3 </div>
4 <img src="images/keypad-icon.svg" class="keys">
5 <div class="arrow-right-box">
6   Next&nbsp;&nbsp;<i class="icon icon-caret-right"></i>
7 </div>

4. The necessary CSS styles. You can find the full CSS in the base.css.

1 <link rel="stylesheet" href="css/base.css">

5. Put jQuery library and the jQuery listt’s JavaScript at the bottom of the webpage. That’s it.

2         integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
3         crossorigin="anonymous"></script>
4 <script src="js/index.js"></script>

This awesome jQuery plugin is developed by finchert. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net