Image carousel switching code based on jquery with timeline, jquery

Source: Internet
Author: User

Image carousel switching code based on jquery with timeline, jquery

Based on jquery, the image title is switched with dot enlargement. This is an image carousel switching code with a timeline. As follows:

Download Online Preview source code

Implementation code.

Html code:

<Div id = "decoroll2" class = "imgfocus"> <div id = "decoimg_a2" class = "imgbox"> <div class = "decoimg_b2"> <a href =" http://www.w2bc.com/ ">  </a> </div> <div class = "decoimg_b2"> <a href =" http://www.w2bc.com/ ">  </a> </div> <div class = "decoimg_b2"> <a href =" http://www.w2bc.com/ ">  </a> </div> <div class = "decoimg_b2"> <a href =" http://www.w2bc.com/ ">  </a> </div> <ul id = "deconum2" class = "num_a2"> <li> <a href = "javascript: void (0) "hidefocus =" true "target =" _ self "> Yang Mi </a> </li> <a href =" javascript: void (0) "hidefocus =" true "target =" _ self "> Fan Bingbing </a> </li> <a href =" javascript: void (0) "hidefocus =" true "target =" _ self "> high circle </a> </li> <a href =" javascript: void (0) "hidefocus =" true "target =" _ self "> Liu Shishi </a> </li> </ul> </div>

Js Code:

Qfast. add ('widgets', {path: "js/terminator2.2.min. js ", type:" js ", requires: ['fx ']}); Qfast (false, 'widgets', function () {K. tabs ({id: 'decoroll2', // The id conId of the focus chart package: "decoimg_a2", // The id tabId of the big image domain package: "deconum2 ", // The id tabTn: "a", conCn :'. decoimg_b2 ', // configure class auto: 1 in the big image field, // automatically play 1 or 0 effect: 'fade', // effect configuration eType: 'mouseover ', // mouse event pageBt: true, // whether a button exists to switch the page number. bns :['. prev ','. next '], // configure class interval: 3000 // pause time })})

Via: http://www.w2bc.com/Article/30333

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.