Swipeshow demo
How do I make an swipeshow demo?
What is a swipeshow demo? How do you make a swipeshow demo? This script and codes were developed by Rico Sta. Cruz on 19 January 2023, Thursday.
Swipeshow demo - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Swipeshow demo</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://cdn.rawgit.com/rstacruz/swipeshow/v0.10.9/jquery.swipeshow.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='my-gallery swipeshow'> <div class='slides'> <div class='slide my-image -one'>Hello</div> <div class='slide my-image -two'>It's me</div> </div> <div class='dots'></div>
</div> <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js'></script>
<script src='https://ricostacruz.com/swipeshow/jquery.swipeshow.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Swipeshow demo - Script Codes CSS Codes
body { max-width: 800px; margin: 24px auto;
}
.my-gallery { width: 100%; height: 200px; overflow: hidden;
}
.my-image { background: #999; line-height: 200px; color: #fff; text-align: center;
}
.my-image.-two { background: #888;
}
.swipeshow .dots,
.swipeshow .dot-item,
.swipeshow .dot { margin: 0; padding: 0; list-style: none; border: 0; background: transparent;
}
.swipeshow > .dots { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; list-style: none; font-size: 0;
}
.swipeshow .dot-item { list-style: none; display: inline-block; width: 18px; height: 20px; line-height: 20px; text-align: center; cursor: pointer;
}
.swipeshow .dot { display: inline-block; width: 5px; height: 5px; border-radius: 6px; font-size: 0; background-color: rgba(0, 0, 0, 0.5);
}
.no-touch .dot-item:hover .dot { background-color: rgba(255, 255, 255, 0.2);
}
.swipeshow .dot-item:active .dot,
.swipeshow .dot-item.active .dot { background-color: white;
}
Swipeshow demo - Script Codes JS Codes
$(function () { $(".my-gallery").swipeshow({ mouse: true, interval: 2000 });
})
Developer | Rico Sta. Cruz |
Username | rstacruz |
Uploaded | January 19, 2023 |
Rating | 3 |
Size | 2,133 Kb |
Views | 4,048 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Diff-based typing test | 4,262 Kb |
Waves | 2,865 Kb |
Cookie notice snippet | 2,651 Kb |
Offgrid images | 2,610 Kb |
Daily UI 6 | 3,115 Kb |
A Pen by Rico Sta. Cruz | 2,346 Kb |
Styled file input | 2,218 Kb |
CSS pie graphs | 1,722 Kb |
Decca example | 2,444 Kb |
Text in a border | 2,482 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Calendar | Miroot | 2,033 Kb |
Board Site | IndianaLuft | 10,542 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
Tumblr API | Juanv911 | 2,436 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
CSS Bot Confusion | Jpod | 3,456 Kb |
FCC - Tribute Page | Cmwebby | 0 Kb |
A Pen by Dalton Liu | Liudalton | 12,437 Kb |
Base-Style | Daniel_gooss | 2,614 Kb |
Octopus Bar iPad App Interactions | Davidkpiano | 6,735 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!