JQuery toogle boxes
How do I make an jquery toogle boxes?
What is a jquery toogle boxes? How do you make a jquery toogle boxes? This script and codes were developed by Wojciech on 01 September 2022, Thursday.
JQuery toogle boxes - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>jQuery toogle boxes</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="widget"> <h3>Element <i class="fa fa-angle-down" aria-hidden="true"></i></h3> <div class="collapsed"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s </div>
</div>
<div class="widget"> <h3>Element <i class="fa fa-angle-down" aria-hidden="true"></i></h3> <div class="collapsed"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s </div>
</div>
<div class="widget"> <h3>Element <i class="fa fa-angle-down" aria-hidden="true"></i></h3> <div class="collapsed"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s </div>
</div>
<div class="widget"> <h3>Element <i class="fa fa-angle-down" aria-hidden="true"></i></h3> <div class="collapsed"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s </div>
</div>
<div class="widget"> <h3>Element <i class="fa fa-angle-down" aria-hidden="true"></i></h3> <div class="collapsed"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s </div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
JQuery toogle boxes - Script Codes CSS Codes
.widget:nth-child(1n) { background: #f44336;
}
.widget:nth-child(2n) { background: #3f51b5;
}
.widget:nth-child(3n) { background: #9c27b0;
}
.widget:nth-child(4n) { background: #ff9800;
}
.widget:nth-child(5n) { background: #ff5722;
}
.widget { width: 200px; padding: 10px;
}
.widget h3 { margin: 0; position: relative; cursor: pointer;
}
.widget h3 i { position: absolute; right: 0; transition: all .3s ease-in-out;
}
.widget h3.active i { transform: scaleY(-1);
}
.widget .collapsed { display: none; margin-top: 10px;
}
JQuery toogle boxes - Script Codes JS Codes
$('.widget h3').each(function(){ $(this).click(function(){ $('.widget h3').not(this).removeClass('active').next().slideUp(); $(this).toggleClass('active').next().slideToggle(); });
});
Developer | Wojciech |
Username | wojtek1150 |
Uploaded | September 01, 2022 |
Rating | 3 |
Size | 2,477 Kb |
Views | 26,312 |
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 |
Angular advanced table filter | 2,808 Kb |
Get third wednesday | 2,691 Kb |
Social media hovers | 2,574 Kb |
Simple eye follower | 43,073 Kb |
CSS only Transparent tooltip | 2,366 Kb |
Google maps SVG | 2,434 Kb |
Make Your Own Fingal sign | 874,443 Kb |
React Chat App | 3,947 Kb |
Falling snow | 3,247 Kb |
Swiper tests | 2,086 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 |
Three js | Paulq | 2,353 Kb |
A Pen by Dalton Liu | Liudalton | 12,437 Kb |
BlueBox Fork | Huskynation | 12,675 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
Improve | Gavra | 1,652 Kb |
JQuery FullScreen Overlay | _codemics | 2,252 Kb |
Personal Website Redesign v2.0 | DevItWithDavid | 5,168 Kb |
Typefaces with descriptions | Megandoty | 2,944 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Mondrian | Chrisarmstrong | 2,787 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!