ThreeSixty is used to generate a drag 360-degree preview image sequence.JQueryPlug-ins. You only need to introduce the latestJQueryAnd threesixty. js files can be used. The Arrow keys on the keyboard and touch and mobile devices are supported. You can use nextFrame () and prevFrame () to bind the UI control.
Download the Online Demo plug-in from the official website
Example HTML:
<Div class = "threesixty" data-path = "assets/img/src/gem {index}. JPG" data-count = "61"> </div>
Example JavaScript:
$ (Document). ready (function () {$ ('. threesixty'). threeSixty ({dragDirection: 'horizontal '});});
Articles you may be interested in
- 12 classic jQuery image carousel plug-ins
- Excellent jQuery Ajax paging plug-ins and tutorials carefully selected
- Excellent jQuery text special effect plug-ins and tutorials carefully selected
- A well-selected jQuery image effect plug-in
- Carefully selected 12 excellent jQuery accordion plug-ins and tutorials
Link to this article: Use ThreeSixty to create a 360-degree image preview that can be dragged
Source: Dream sky ◆ focus on Web Front-end development technology ◆ share Web design resources