Commit 0190ab07 authored by Ryan Herbert's avatar Ryan Herbert

index.html main.js add vmi menu

parent d4d7db65
......@@ -90,6 +90,10 @@
<!-- TOP-CONTAINER -->
<div id="top-container" onmouseout="hideSelector()">
<div id="menu-container">
<div class="menu" id="vmi-menu" onmouseover="showSelector('vmiSelector');">vmi
<!-- Div is filld programmatically with vmi menu -->
<div class="selector" id="vmiSelector"></div>
</div>
<div class="menu" id="top_info">
<!--Div is filled programmatically -->
</div>
......
......@@ -114,7 +114,9 @@ try {
my_tips.set_container(document.getElementById('tip-container'))
my_tips.display()
vmi.setMenuOptions();
var menu_container = document.getElementById('vmiSelector');
var menu = vmi.setMenuOptions(new VidjilMenuDecorator());
menu_container.appendChild(menu);
} catch(err) {
this.db.log_error(err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment