Dragdealer slider
How do I make an dragdealer slider?
Fullscreen image slider using dragdealer.js. What is a dragdealer slider? How do you make a dragdealer slider? This script and codes were developed by Joseph on 21 November 2022, Monday.
Dragdealer slider - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>dragdealer slider</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="console"></div>
<div class="arrow" id="right-arrow">></div>
<div class="arrow" id="left-arrow"><</div>
<div id="image-carousel" class="dragdealer active"> <ul id="slides" class="handle" style="-webkit-perspective: 1000px; -webkit-backface-visibility: hidden; -webkit-transform: translateX(200px);"> <li class="slide img1" style="background-image: url('http://stuckincustoms.smugmug.com/Portfolio/i-KMjVHRd/0/X3/Andramada-X3.jpg');"> <div class="info"> <p class="title">Aston Martin DB4</p> <p class="description"><strong>1959</strong> — 3.7L, 240hp</p> </div> </li> <li class="slide img2" style="background-image:url(http://stuckincustoms.smugmug.com/Burning-Man/i-dd9xmfn/0/X3/The%20Steamy%20Car-X3.jpg);"> <div class="info"> <p class="title">Mercedes-Benz 300SL</p> <p class="description"><strong>1956</strong> — 2996cc, 212-222hp</p> </div> </li> <li class="slide img3" style="background-image:url(http://stuckincustoms.smugmug.com/Portfolio/i-KscS8CF/0/X3/Burning-Man-Day-1%20%281006%20of%201210%29-X3.jpg);"> <div class="info"> <p class="title">Jaguar E-Type</p> <p class="description"><strong>1966</strong> — 3.8L, 265bhp</p> </div> </li> <li class="slide img4" style="background-image:url(http://stuckincustoms.smugmug.com/Portfolio/i-jQcPqJb/0/X3/Burning-Man-Last-Day-Night%20%28151%20of%201120%29-X3.jpg);"> <div class="info"> <p class="title">Maserati A6</p> <p class="description"><strong>1950</strong> — 2L, 120bhp</p> </div> </li> <li class="slide img5" style="background-image:url(http://stuckincustoms.smugmug.com/Portfolio/i-JSxf5Nm/0/X3/Burning-Man-Day-6%20%28202%20of%201606%29-X3.jpg);"> <div class="info"> <p class="title">Maserati A6</p> <p class="description"><strong>1950</strong> — 2L, 120bhp</p> </div> </li> </ul> </div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://www.urallastories.org/js/dragdealer.js'></script> <script src="js/index.js"></script>
</body>
</html>
Dragdealer slider - Script Codes CSS Codes
html, body { width: 100%; height: 100%; margin: 0; padding: 0; font-family:courier; font-size:13px; color:tomato; }
/* Hide the scrollbar... */
body::-webkit-scrollbar { display: none; }
* { padding:0px; margin:0px; }
/* Image carousel */
#console { position:fixed; z-index:99; left:25px; top:25px; color:#ffffff; }
.arrow { cursor:pointer; position:fixed; z-index:99; top:50%; color:#fff; font-size:24px; }
#right-arrow { right:25px; }
#left-arrow { left:25px; }
#image-carousel { height: 100%; width:100%; border-radius: 0; overflow: hidden;
} #image-carousel .handle { width: 400%; height: 100%; border-radius: 0; } #image-carousel .handle .slide { float: left; position: relative; width: 25%; height: 100%; background-repeat: no-repeat; background-position: center center; background-size:cover; list-style:none; } #image-carousel .handle .slide .info { position: absolute; top: 15px; right: 15px; padding: 10px 15px; background: #fff; background: rgba(255, 255, 255, 0.5); } #image-carousel .handle .slide .info p { margin: 0; } #image-carousel .handle .slide .info .title { font-size: 24px; font-weight: bold; line-height: 30px; } #image-carousel .handle .slide .info .description { color: #333; font-size: 16px; line-height: 20px; }
Dragdealer slider - Script Codes JS Codes
$.global = new Object();
$.global.item = 1;
$.global.total = 0;
$.global.slider = 0;
$(document).ready(function() { var SlideCount = $('#slides li').length; var SliderWidth = SlideCount * 100; var SlideWidth = 100 / SlideCount; $.global.total = SlideCount; $('#image-carousel .handle').css('width',''+SliderWidth+'%'); $('#image-carousel .handle .slide').css('width',''+SlideWidth+'%'); DragIt(); $('#right-arrow').click(function() { var $currentstep = $.global.slider.getStep(); var $nextstep = parseInt($currentstep) + 1; $.global.slider.setStep($nextstep); }); $('#left-arrow').click(function() { var $currentstep = $.global.slider.getStep(); var $nextstep = parseInt($currentstep) - 1; $.global.slider.setStep($nextstep); }); });
function DragIt() { $.global.slider = new Dragdealer('image-carousel', { steps: $.global.total, speed: 0.2, loose: true, css3: true, top:0, bottom:0, left:0, right:0, requestAnimationFrame: true, callback: function(x, y) { $('#console').html(x);} }); }
![Dragdealer slider - Script Codes](http://shots.codepen.io/jibbon/pen/LnrIc-512.jpg)
Developer | Joseph |
Username | jibbon |
Uploaded | November 21, 2022 |
Rating | 3.5 |
Size | 3,117 Kb |
Views | 38,456 |
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 |
NEW SPACE COLONY - safe | 2,150 Kb |
Bloody Simple Grid | 2,195 Kb |
3d image canvas play | 3,181 Kb |
Large canvas mousemove experiment | 2,885 Kb |
Dragdealer slider | 3,117 Kb |
3d transform card flip | 2,276 Kb |
Fluid poster wall | 2,856 Kb |
Fluid full-width vimeo element | 2,242 Kb |
Mousy canvas experiment | 2,076 Kb |
Css only parallax | 5,628 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 |
E-mail Template | SoloMDFK | 4,871 Kb |
Fading text with CSS blend modes | Giana | 3,305 Kb |
Pure CSS Torch Light | Juliendargelos | 2,727 Kb |
Multi-step GSAP animation | Acacheung | 2,668 Kb |
A Bouncy Menu Toggle | Billyysea | 4,563 Kb |
Waveform function for a siren tone modulation | Clafou | 1,656 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
Videogular - Overlay Play Plugin | 2fdevs | 2,432 Kb |
Flat UI - Checkbox FIX | ARS | 2,663 Kb |
Weather App | Kw7oe | 3,162 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!