If possible, I would appreciate some assistance with my custom context menu. It may require some minor tweaks or a fresh idea on how to address the issue. Ideally, I would like to keep the HTML and CSS somewhat unchanged.
[I'm not sure what to write here, but Stack Overflow suggested adding more text due to the amount of code present, so please disregard this text in square brackets.]
HTML:
<!-- ----------------------------------------- [CONTEXT MENU] ----------------------------------------- -->
<div id="context-menu">
<div class="item-title" id="context-menu-title">
<i></i>
<h1>Quick Access:</h1>
</div>
[…]
</div>
CSS:
/*--------------- [CONTEXT MENU] ---------------*/
#context-menu {
position: fixed;
z-index: 10000;
width: 150px;
background: #494949;
transform: scale(0);
[…]
}
[item details have been abbreviated for brevity]
#context-menu hr {
margin: 2px;
border-color: #555;
}
JS:
//----------------------------------------- [CONTEXT MENU] -----------------------------------------
const hoverContacts = document.getElementById("contextMenuContact")
[JS functionality has been condensed for summary]
Thank you for your Support!</p>
}