A Pen by maharajan
How do I make an a pen by maharajan?
What is a a pen by maharajan? How do you make a a pen by maharajan? This script and codes were developed by Maharajan on 26 January 2023, Thursday.
A Pen by maharajan - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by maharajan</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="slider"> <div class="slide active"></div> <div class="slide"></div> <div class="slide"></div> <div class="slide"></div>
</div>
<div class="navigate previous">previous</div>
<div class="navigate next">Next</div> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
A Pen by maharajan - Script Codes CSS Codes
.slider
{ width:100%; height:auto; position:relative; overlfow:hidden;
}
.slide
{ width:100%; height:200px; background:green; display:none; transition:all .5s ease; position:absolute; left:100%;
}
.slide:first-child
{ display:block; left:0px;
}
.slide:nth-of-type(2)
{ background:blue;
}
.slide:nth-of-type(3)
{ background:orange;
}
.slide:nth-of-type(4)
{ background:gold;
}
.navigate
{ width:100px; padding:10px 5px; font-family:sans-serif; background: orange; border-radius:5px; margin-top: 220px; text-align:center;cursor:pointer; border:2px solid #fff;
}
.navigate.previous
{ float:left;
}
.slide.active
{ left:0px;
}
.navigate.next
{ float:right;
}
.navigate:hover
{ border:2px solid orange; background:#fff;
}
A Pen by maharajan - Script Codes JS Codes
$(function() {
var left;
$('.next').on('click',function() {
var getposition=parseInt($('.active').index())+1; if(getposition != $('.slide').length) { var nextposition=getposition+1; if(getposition==1) { left='-101%'; } $('.slide:nth-of-type('+getposition+')').animate({'left':left},100).removeClass('active'); $('.slide:nth-of-type('+nextposition+')').show().animate({'left':'0px'},100).addClass('active'); } });
$('.previous').on('click',function() {
var getposition=parseInt($('.active').index())+1;
if(getposition != 1) { var nextposition=getposition-1; if(getposition==1) { left='0px'; } $('.slide:nth-of-type('+getposition+')').animate({'left':'101%'},100).removeClass('active'); $('.slide:nth-of-type('+nextposition+')').show().animate({'left':'0px'},100).addClass('active'); }
}); });
Developer | Maharajan |
Username | mhrjnsa1 |
Uploaded | January 26, 2023 |
Rating | 3 |
Size | 2,134 Kb |
Views | 10,120 |
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 |
Simeple snake design | 1,913 Kb |
Circle loader | 1,799 Kb |
Text appearance | 0 Kb |
Locator | 1,669 Kb |
Drop down options disable | 1,723 Kb |
Parallax slider | 1,936 Kb |
Notification | 2,125 Kb |
Sound waves | 1,738 Kb |
Border hover effect | 1,667 Kb |
Pure css loader | 2,407 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 |
Google Chrome Icon using Pure CSS in one DIV | Grssam | 3,627 Kb |
CSS Gem Badge | Orchard | 3,335 Kb |
Sticky footer testing | 75th | 1,649 Kb |
Confirm Close Of Foundation Reveal Modal | Winghouchan | 1,818 Kb |
GrcJS | Vino6 | 2,047 Kb |
Simple jQuery Slider | Jurbank | 2,874 Kb |
Experiment | Toddmoy | 2,849 Kb |
A Pen by boilzzz | Boilzzz | 2,761 Kb |
GLSL Hills | Ykob | 6,991 Kb |
A Pen by Alex Bergin | Abergin | 3,347 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!