|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
| 6 | + <link href="../lib/metro.css" rel="stylesheet"> |
| 7 | + <link href="../lib/icons.css" rel="stylesheet"> |
| 8 | + |
| 9 | + <title>Test Dropdown - Metro UI :: Popular HTML, CSS and JS library</title> |
| 10 | + |
| 11 | +</head> |
| 12 | +<body class="m4-cloak"> |
| 13 | +<div class="container"> |
| 14 | + <h1>Dropdown test page</h1> |
| 15 | + |
| 16 | +<!-- <div class="example">--> |
| 17 | +<!-- <button class="button" id="dropdown_toggle_1">Drop block 1</button>--> |
| 18 | +<!-- <div id="block1" class="bg-red fg-white" data-toggle-element="#dropdown_toggle_1">--> |
| 19 | +<!-- <p class="p-10 text-center">In Metro UI you can transform any element to dropdown.</p>--> |
| 20 | +<!-- </div>--> |
| 21 | +<!-- </div>--> |
| 22 | + |
| 23 | +<!-- <div class="example">--> |
| 24 | +<!-- <button class="button" id="dropdown_toggle_2">Drop block 2</button>--> |
| 25 | +<!-- <div id="block2" class="bg-green fg-white" data-toggle-element="#dropdown_toggle_2">--> |
| 26 | +<!-- <p class="p-10 text-center">In Metro UI you can transform any element to dropdown.</p>--> |
| 27 | +<!-- </div>--> |
| 28 | +<!-- </div>--> |
| 29 | + |
| 30 | + <div class="example d-flex flex-justify-content-end" style="margin-top: 2000px;"> |
| 31 | + <div class="dropdown-button"> |
| 32 | + <button class="">Button</button> |
| 33 | + <ul class="d-menu" data-role="dropmenu"> |
| 34 | + <li><a href="#"> |
| 35 | + <span class="icon mif-codepen"></span> |
| 36 | + <span class="caption">Go to Definition</span> |
| 37 | + <span class="hotkey">Ctrl+F12</span> |
| 38 | + </a></li> |
| 39 | + <li><a href="#">Go to Type Definition</a></li> |
| 40 | + <li class="disabled"><a href="#"> |
| 41 | + <span class="caption">Go to Type Implementation</span> |
| 42 | + <span class="hotkey">Ctrl+F12</span></a></li> |
| 43 | + <li><a href="#">Go to References<span class="hotkey">Alt+Shift+F12</span></a></li> |
| 44 | + <li> |
| 45 | + <a href="#" class="dropdown-toggle">Peek</a> |
| 46 | + <ul class="d-menu" data-role="dropmenu"> |
| 47 | + <li><a href="#"><span class="caption">Find All References</span></a></li> |
| 48 | + <li><a href="#"><span class="caption">Find All Implementations</span></a></li> |
| 49 | + <li><a href="#"><span class="caption">Show Call Hierarchy</span></a></li> |
| 50 | + </ul> |
| 51 | + </li> |
| 52 | + <li class="divider"></li> |
| 53 | + <li><a href="#">Find All References</a></li> |
| 54 | + <li><a href="#">Find All Implementations</a></li> |
| 55 | + <li><a href="#">Show Call Hierarchy</a></li> |
| 56 | + </ul> |
| 57 | + </div> |
| 58 | + </div> |
| 59 | +</div> |
| 60 | + |
| 61 | +<script src="../lib/metro.js"></script> |
| 62 | +<script> |
| 63 | + // $(function(){ |
| 64 | + // $("#block1").dropdown(); |
| 65 | + // $("#block2").dropdown(); |
| 66 | + // }) |
| 67 | +</script> |
| 68 | +</body> |
| 69 | +</html> |
0 commit comments