I am currently thinking to add a button for a plugin in the button ul in the header like this:
…but I’m wondering how to access the DOM elements in a clean way - there is no ID anywhere in the
<div class="panel clearfix"> <ul class="icons clearfix" role="navigation"> <li class="notifications">
elements, so no
$("#nav").append(mybutton); - do I really need to access it via the CSS class? Is this sufficiently safe or likely to change somewhere in the future? Or is there another (more elegant) way to accomplish this?