Scrollex
How do I make an scrollex?
What is a scrollex? How do you make a scrollex? This script and codes were developed by Sleezyjus on 10 September 2022, Saturday.
Scrollex - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>scrollex</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="content">
<div class="scrolls"> <div class="content1"><img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img> <img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img> <img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img>
<img src="https://i.ytimg.com/vi/Fa_lw05TppE/maxresdefault.jpg"></img> </div>
</div></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Scrollex - Script Codes CSS Codes
img{ display:inline-block; padding:2%; width:100%; opacity:0.5; max-width:300px;
}
.scrolls { height:250px; background:000; overflow-x:hidden; overflow-y:hidden; white-space:nowrap;
}
.content { margin:0 auto; width:100%; height:200px;
}
Scrollex - Script Codes JS Codes
$(document).ready(function() { var $div = $('.scrolls'); var sL = 4000; var startTime = new Date().valueOf(); var timePassed; var stopped = false; //animate: $div.animate({ scrollLeft : sL },100000, 'linear'); //on click, stop animation: $div.on("click",function(){ $div.stop(true,false); stopped = true; }); //on mouseover -> stop animation (pause) //on mouseout -> resume animation (actually a new animation $div.hover(function() { //mouseenter $div.stop(true, false); timePassed = (new Date()).valueOf() - startTime; }, function() { //mouseleave if (!stopped) { //resume only if it was stopped on mouse enter, not on click $div.animate({ scrollLeft : sL }, 100000 - timePassed, 'linear'); } });
});
Developer | Sleezyjus |
Username | sleezyjus |
Uploaded | September 10, 2022 |
Rating | 3 |
Size | 2,092 Kb |
Views | 36,432 |
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 |
Feel my color | 1,960 Kb |
Drag to pan image | 3,745 Kb |
Halves | 4,373 Kb |
Switching colors menu | 3,766 Kb |
Jusmenu | 2,994 Kb |
Rub it | 2,306 Kb |
Simple css animate | 1,524 Kb |
Simple Lightbox with Video or Image | 2,572 Kb |
Slidein the dm | 1,522 Kb |
Ageverify | 4,090 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 |
Two column of responsive height | Fixie | 2,908 Kb |
CSS Gem Badge | Orchard | 3,335 Kb |
Pure CSS read more toggle | Idered | 2,344 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 Kb |
Project MMetro beta | Atomicsong | 5,157 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Drag in vanilla js using dotval math instead of translate | Paulq | 2,662 Kb |
Portfolio Landing Page | FDfranklin | 3,585 Kb |
No Vacancy 404 CSS Only | Sethkontny | 0 Kb |
Experiments with Vertical Centering | KatieK2 | 3,924 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!