Discover jquery thumbnail carousel, include the articles, news, trends, analysis and practical advice about jquery thumbnail carousel on alibabacloud.com
Create a multi-function carousel image plug-in using jquery.
This is a multi-function slide plug-in that supports multiple configurations. css styles are extracted from the Internet, and the code in the plug-in is original and light-sprayed ~
; (Function ($) {"use strict"; var methods = {o: {next: "# cycle-next", prev: "# cycle-prev", pager: "# cycle-nav", slider: "# beauty-slider", timeLine: "# timeLine",
123456Rel= "stylesheet" type= "Text/css"/>78Rel= "stylesheet" type= "Text/css"/>9 A the - - - in - to +data-thumb= "Pic-8-8/img01.jpg" title= "the 1th picture"/> - the * $data-thumb= "Pic-8-8/img02.jpg" title= "the 2nd picture"/>Panax Notoginseng - the +data-thumb= "Pic-8-8/img03.jpg" title= "the 3rd picture"/> A the + -data-thumb= "Pic-8-8/img04.jpg" title= "the 4th picture"/> $ $ - -data-thumb= "Pic-8-8/img05.jpg" title= "the 5th picture"/> the -Wuyi the -
HTML code:CSS code:*{margin:0; padding:0;}UL Li{list-style:none;}. back{height:400px; overflow:hidden; margin-top:100px;}. back li{width:100%; height:400px; margin:0 Auto;}. back li.l1{background:red;}. back Li.l2{background:yellow;}. back Li.l3{background:blue;}. back Li.l4{background:black;}. back Li.l5{background:green;}. point{text-align:center; Margin-top: -30px;}. Point li{width:20px; height:20px; border:2px solid #fff; border-radius:10px; box-sizing:border-box; display:inline-b Lock;}. Po
"Principle Brief"
Here's the whole process:
1, to hide all but the first picture,
2, get the first picture of the alt information displayed in the InfoBar, and add click events
3, for 4 buttons to add click to listen, click the corresponding button, using the Fadeout,fadein method to display the picture
4, set the SetInterval, timed to perform the switching function
"Code description"
Filter (": Visible"): Gets all visible elements
Unbind (): Deletes a bound event from a matching eleme
Nonsense not to say more, directly to everyone to paste the code, the specific code as follows:
The above content is about lightweight jquery plugin Slidebox implementation with bottom-column carousel (focus map) code, I hope to help!
Initialize plug-in:
Slides is a jquery seamless wheel-map plug-in, support in-diagram element animation, you can customize the animation type
$ (". Slideinner"). Slide ({
slidecontainer: $ ('. Slideinner a '),
effect: ' Easeoutcirc ',//animation type
Autoruntime : 5000,//Automatic Carousel time
slidespeed:1000,//speed
nav:true,//whether or not to display the left or right navigation
autorun:true,//
The entire page is as follows:
Copy Code code as follows:
Comments:
Speed: Picture Wheel seeding speed
Num: Number of pictures
Timer: Auto-carousel time interval, timer;
Flowspeed: The speed at which the slider moves
Blockslide plug-in source code is as follows:
Copy Code code as follows:
/**
* @author Huajianhuakai * *
(Function ($)
{
$.fn.blockslide = function (settings)
{
Settings = Jquery.extend ({
Spe
Boxscroll
The simple realization of the common picture's carousel effect. You can control the digital list or the left and right buttons. The logic is very simple, to the end of the run back, look at the notes to know.
The code is as follows:
Html
CSS
@charset "Utf-8"; /* CSS Document */body{margin:0
0; padding:0
0;
height:100%;
width:100%;
wrap{font-family: "Microsoft Ya Hei", "Song Body", Times, "Times New Roman", serif;
://dl.bizhi.sogou.com/images/2014/03/17/545637.jpg" >ImgSrc="Http://bizhi.cnanzhi.com/upload/bizhi/2014/1202/14175255033658.jpg" >ImgSrc="Http://www.longre.cn/uploadfile/2015/0525/20150525051621346.jpg" >ImgSrc="Http://img2.niutuku.com/desk/1207/1405/bizhi-1405-62343.jpg" >ImgSrc="Http://img.pconline.com.cn/images/upload/upc/tx/wallpaper/1209/12/c0/13805531_1347419023266.jpg" >Div>$ (function () {var same=0; Used to avoid touching the same label type is the switch occursvar interval=5000; Pictur
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.