Get started with jquery.cycle CDN

(MIT OR GPL-2.0) licensed

JQuery.cycle: Slideshow plugin for cycling content items.

Tags:
  • jquery
  • slideshow
  • cycle

Stable version

Copied!

How to start using jquery.cycle CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jquery.cycle CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.css">
    <link rel="stylesheet" href="https://cdn.cdnhub.io/jquery.cycle/3.0.3/jquery.cycle.min.css">
</head>
<body>
    <div id="slideshow" class="slideshow">
        <ul>
            <li><img src="image1.jpg" alt="Image 1"></li>
            <li><img src="image2.jpg" alt="Image 2"></li>
            <li><img src="image3.jpg" alt="Image 3"></li>
        </ul>
    </div>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://cdn.cdnhub.io/jquery.cycle/3.0.3/jquery.cycle.all.min.js"></script>

    <script>
        $(function() {
            $('#slideshow').cycle();
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions