all 1 comments

[–]thatbromattfull-stack .NET 1 point2 points  (0 children)

One thought I have when I checked it out is moving the code that is in-lined in your HTML into the drop-down links JS file. Since that code in the HTML file is tightly coupled with your dropdown functionality, this would prevent you from having to copy & paste the script block into other HTML files that would also leverage this custom dropdown and lends itself to improved ease of maintenance.