1
Hi, I've been trying to add some more dropdown menus using the built in javascript menus. I'm having some trouble getting the menu to appear under the menu button.
Here's how it looks in theme_usernav.html:
<table cellspacing="0" cellpadding="0" id="menu1" class="NavMenu">
<td>
<a class="button" href="javascript:void(0)">Om Wa>
<div class="section">
<a class="item" href="http://localhost/xoops22/modules/wiwimod/index.php?page=Huset">Huseta>
<a class="item" href="Test3">Test3a>
div>
<script type="text/javascript">
var menu1 = new AdMenu("menu1");
menu1.position.level1.top = 1;
menu1.position.level1.left = 50;
menu1.position.levelX.top = 0;
menu1.position.levelX.left = 50;
menu1.init();
script>
td>
table>
With this the button appears next to the User Action button but the menu appears in the right part of the screen.
Gratefull for any help