Contextmenu in html and not js?

Contextmenu in html and not js?

I found this awesome tutorial: http://www.onextrapixel.com/examples/akismet-press/

The only problem is, that the content that is displayed in the contextmenu is in the js function:

  1. var logos = '<h2>Looking for our Logo?<span class="close">X</span></h2>';
  2. logos += '<img src="images/oxp-logo.png" alt="Logo Download" />';
  3. logos += '<ul><li><a href="images/oxp-logo.png" rel="external">High Res<span>300 Kb</span></a></li>';
  4. logos += '<li><a href="images/oxp-logo.png" rel="external">Low Res<span>150 Kb</span></a></li></ul>';

But i want to create the content of the contentmenu in html like this:

  1. <div id="header">
  2. <img id="logo">
  3. <div class="contextmenu_inhtml">
  4. <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr,</p>
  5. </div>
  6. </div>
How can i get the div "contextmenu_inhtml" into the "var logo"?