Home > Web Front-end > JS Tutorial > body text

jQuery implements picture carousel slide effect

php中世界最好的语言
Release: 2018-04-24 11:21:14
Original
2106 people have browsed it

This time I will bring you jQuery to implement the image carousel slide effect. What are the precautions for jQuery to implement the image carousel slide effect. The following is a practical case, let's take a look.

#Tips: If the browser does not work properly, you can try switching the browsing mode.
(1) Introduce CSS style in the head area:

<link href="styles/97zzw.css" rel="stylesheet" type="text/css" />
Copy after login

(2) js code:

<script src="scripts/jquery.min_v1.0.js" type="text/javascript"></script>
<script src="scripts/slides.min.jquery_v1.0.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
 $('#slides').slides({
 preload: true,
 preloadImage: 'images/loading.gif',
 play: 5000,
 pause: 2500,
 hoverPause: true,
 fadeSpeed: 350,
 effect: 'fade'
 });
});
</script>
Copy after login

The jQuery ultra-exquisite picture carousel slideshow special effects code shared with you is as follows



jQuery超精致图片轮播幻灯片特效
<link href="styles/97zzw.css" rel="stylesheet" type="text/css" />


 
 

 

     

  微车   布丁电影票   布丁优惠券   

 

 

  <script src="scripts/jquery.min_v1.0.js" type="text/javascript"></script> <script src="scripts/slides.min.jquery_v1.0.js" type="text/javascript"></script> <script type="text/javascript"> $(function(){  $('#slides').slides({  preload: true,  preloadImage: 'images/loading.gif',  play: 5000,  pause: 2500,  hoverPause: true,  fadeSpeed: 350,  effect: 'fade'  }); }); </script>
Copy after login

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website!

Recommended reading:

jquery drag effect implementation method

jQuery achieves seamless scrolling of image connections

The above is the detailed content of jQuery implements picture carousel slide effect. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!