DropDown Menu
How do I make an dropdown menu?
Drop down menu Simple CSS Jquery Based. What is a dropdown menu? How do you make a dropdown menu? This script and codes were developed by Miguel Ferreira on 26 January 2023, Thursday.
DropDown Menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>DropDown Menu</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <ul> <li class="menu item">Item 1</li> <li class="menu item">Item 2</li> <li class="w_sub">Item 3 <ul class="sub_dad"> <li class="son">Sub Item 1</li> <li class="son">Sub Item 2</li> </ul> </li>
</ul> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
DropDown Menu - Script Codes CSS Codes
li{ list-style: none; background: navy; width: 100px; height: 20px; padding: 20px; padding-left: 50px; color: white;
}
li >ul li{ background: rgba(255, 0, 0, 0.2); position: relative; left: -90px; top: 23px;
}
.light{ background: rgba(255, 0, 0, 0.5);
}
DropDown Menu - Script Codes JS Codes
$(document).ready(function(){ $('li').find('ul').hide(); $('li').hover(function(){ $(this).toggleClass('light'); }); $('.w_sub').hover(function(){ $('.sub_dad').toggle(); });
});
Developer | Miguel Ferreira |
Username | angus |
Uploaded | January 26, 2023 |
Rating | 3 |
Size | 1,867 Kb |
Views | 6,072 |
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 |
A Pen by Miguel Ferreira | 2,078 Kb |
Images hover with zoom effect | 1,751 Kb |
Basic Caroussel Concept | 5,233 Kb |
Dynamic Table Generator | 2,159 Kb |
Slider modelo | 2,391 Kb |
Comparing values to items in array | 1,841 Kb |
Hover menu CSS | 2,020 Kb |
Slider | 2,170 Kb |
Pure Css Menu With Child and Hover concatenation | 1,774 Kb |
Prespectives | 2,103 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 |
Calculator - codevember 08 - 2016 | Caiocares | 3,260 Kb |
Simple Accordion | Wearebold | 3,683 Kb |
Css3 loader | Clknap | 2,391 Kb |
Fluid Grid 12 | Alexoliverwd | 2,309 Kb |
Default Input, Textareas, Submits, and Buttons in iOS | Demersdesigns | 2,334 Kb |
CircleType | Peterhry | 3,535 Kb |
Blog demo to use given styling | Andygirl | 2,412 Kb |
Objects | Bonzaipenguin | 2,616 Kb |
Tree growth tests | Orchard | 3,818 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!