skip to Main Content

Html – How to open dropdown menu from outside button

Opening bootstrap dropdown menu from button inside table using function xonclick() { const dropdownButton = document.getElementById('settingsDropDown'); const dropdownMenu = document.getElementById('seadedMenyy'); // Position the dropdown near the clicked button const clickedButton = document.getElementById('grid_muu'); const buttonRect = clickedButton.getBoundingClientRect(); dropdownMenu.style.position = 'absolute'; dropdownMenu.style.left…

VIEW QUESTION

Html – Bootstrap Collapsed Navbar Toggle Button is not working

<div class="container-header"> <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarTogglerDemo01"> <a class="navbar-brand" [routerLink]="['/home']" routerLinkActive="active"> <img src="/assets/images/Logo.png" class="img-logo"> </a> <ul class="navbar-nav mr-auto mt-2 mt-lg-0"> <li class="nav-item active"> <a…

VIEW QUESTION
Back To Top
Search