1
Zarei
Positioning of menues in 2.2
  • 2005/7/18 21:38

  • Zarei

  • Just popping in

  • Posts: 13

  • Since: 2005/5/26


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>
<
class="button" href="javascript:void(0)">Om Wa>
<
div class="section">
<
class="item" href="http://localhost/xoops22/modules/wiwimod/index.php?page=Huset">Huseta
                                <
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.
Resized Image

Gratefull for any help

Login

Who's Online

299 user(s) are online (210 user(s) are browsing Support Forums)


Members: 0


Guests: 299


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits