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

js automatic picture carousel slideshow special effects code sharing_javascript skills

WBOY
Release: 2016-05-16 15:40:15
Original
1518 people have browsed it

The example in this article describes the automatic picture carousel slideshow effect with javascript. Share it with everyone for your reference. The details are as follows:
This is a code based on JavaScript that implements automatic picture carousel slideshow with dots. The implementation process is very simple.
Operation rendering: -------------------View the effect Download the source code---------- --------

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

<link rel="stylesheet" href="css/zzsc.css" type="text/css" media="screen" />
Copy after login

(2) js code:

<script type="text/javascript" src="js/jquery-min-1.7.js" charset="utf-8"></script>
<script src="js/all_dfd5691e.js"></script>
<script>
$(function () {
new SlideShow({
nav: "#controller",
effect : "fade",
target: "#target",
activeClass: "active",
next: "#next",
prev: "#prev",
auto: true
})
})
</script>
Copy after login

The js code that brings some automatic picture carousel slide effects to everyone is as follows



<link rel="stylesheet" href="css/zzsc.css" type="text/css" media="screen" />
js带点自动图片轮播幻灯片特效


  • 1
  • 2
  • 3
  • 4
  • 5
<script type="text/javascript" src="js/jquery-min-1.7.js" charset="utf-8"></script> <script src="js/all_dfd5691e.js"></script> <script> $(function () { new SlideShow({ nav: "#controller", effect : "fade", target: "#target", activeClass: "active", next: "#next", prev: "#prev", auto: true }) }) </script>
Copy after login

The above is the js code with automatic picture carousel slideshow special effects shared with you. I hope you can like it and apply it in practice.

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