Miroca_Server_file_static

This commit is contained in:
Victor Alexandrovich Tsyrenschikov
2026-01-02 15:08:38 +05:00
parent 0df2ccb03c
commit 0495a3069a
409 changed files with 193583 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
// Close the dropdown menu if the user clicks outside of it
window.onclick = function(event) {
if (!event.target.matches('.dropbtn-profile')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}