Reuse Discourse Hamburger Functionality

hello! I know this is an old topic but this is almost what I’m looking for/trying to do. So therefore I post here (instead of making a new topic). Please bear in mind that I am not a developer and I don’t know how the plugins work and I cannot write javascript. But I know how to copy-paste code :wink:

What I’m trying to do is add login to a chatroom inside a dropdown menu. Thus, I want a “chat” icon, and in the dropdown menu will be an input field and a submit button, and some help text / link to help page.

Can I adapt your code then, instead of the ‘cutlery’ icon a ‘chat’ icon, how to do that?
and secondly, how can I insert HTML code instead of the ‘hello world’ statement. (basically how to enter HTML in there?

thank you very much in advance!