Home  >  Article  >  Web Front-end  >  jQuery implements picture carousel slide effect

jQuery implements picture carousel slide effect

php中世界最好的语言
php中世界最好的语言Original
2018-04-24 11:21:142102browse

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" />

(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>

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>

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!

Statement:
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