Dropdown Example
How do I make an dropdown example?
What is a dropdown example? How do you make a dropdown example? This script and codes were developed by Sean McCambridge on 08 September 2022, Thursday.
Dropdown Example - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Dropdown Example</title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'>
<link rel='stylesheet prefetch' href='https://boomtownroi.github.io/boomstrap/css/boomstrap.css'>
<link rel='stylesheet prefetch' href='https://boomtownroi.github.io/boomstrap/css/boomstrap-docs.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-app="PatternLibrary"> <div ng-controller="dropdownDemoCtrl"> <div class="dropdown"> <button class="btn btn-success dropdown-toggle"> Click me! </button> <div class="dropdown-menu"> <div class="callout callout-success">I'm a callout in a dropdown-menu.</div> </div> </div> <div class="dropdown"> <button class="btn btn-attention dropdown-toggle"> Click me, too! </button> <ul class="dropdown-menu"> <li ng-repeat="item in listItems">{{ item }}</li> </ul> </div> </div>
</div> <script src='https://boomtownroi.github.io/boomstrap/js/boomstrap.min.js'></script>
<script src='https://boomtownroi.github.io/boomstrap/js/boomstrap-angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Dropdown Example - Script Codes CSS Codes
/* this CSS is only for proper display of the codepen. do not add this to the CRM */
body { padding: 12px 24px;
}
span { color: #1581e2; text-decoration: underline; cursor: pointer;
}
.dropdown { margin: 24px 0;
}
.dropdown-menu, .callout { margin: 0; padding: 0; }
.callout { padding: 18px; }
li { padding: 9px 6px; cursor: pointer;
}
li:hover { background-color: #ccc;
}
Dropdown Example - Script Codes JS Codes
angular.module('PatternLibrary', [ 'ui.bootstrap']);
(function(PatternLibrary) { 'use strict'; PatternLibrary.controller('dropdownDemoCtrl', ['$scope', function($scope) { $scope.listItems = [ 'Item 1 from controller', 'Item 2 from controller', 'Item 3 from controller' ]; }]);
})(angular.module('PatternLibrary'));
Developer | Sean McCambridge |
Username | seanboom |
Uploaded | September 08, 2022 |
Rating | 3 |
Size | 2,195 Kb |
Views | 32,384 |
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 |
Relative Time Example | 2,246 Kb |
Small Card Example | 2,464 Kb |
Tour Example | 2,516 Kb |
Lead Category Default Example | 2,075 Kb |
Alert Example | 2,212 Kb |
Tabs Example | 2,407 Kb |
Single Card Example | 2,462 Kb |
Progressbar Example | 2,605 Kb |
Modal Example | 2,438 Kb |
Multiple Cards Example | 2,803 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 |
Svg sky | Omodev | 7,070 Kb |
Horizontal Navigation with Floats | Gymratpacks | 5,403 Kb |
Learning FlexBox | Alex_rodrigues | 2,821 Kb |
Glitchy Text Effect | Kescoe | 2,208 Kb |
Sidebar Thing | Jonambas | 2,779 Kb |
WRENCH - STAFF | Lolita-adams | 1,608 Kb |
Minimal Menu | Achudars | 3,430 Kb |
VerbalExpressions Converter | Cmalven | 2,607 Kb |
Cut and Paste Roll Link | BottomlineInteractive | 2,546 Kb |
Responsive Section hover effect to show content | Berdejitendra | 2,540 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!