WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Xmenu - position vertical, Jesper Urban, September 25, 2004

Subject: Xmenu - position vertical From: Jesper Urban Date: September 25, 2004

Hi

I have a menu that I want to position on the right side (like a vertical menu)of the HTML-element instead of below the element which is default.

<table
id="Table2" name="Table2" cellSpacing="0" cellPadding="0" width="100" border="1"
onfocus="if (!webfxMenuUseHover) webFXMenuHandler.showMenu(myMenu, this)"
onmouseover="if (webfxMenuUseHover) webFXMenuHandler.showMenu(myMenu, this)"
onblur="if (!webfxMenuUseHover) webFXMenuHandler.hideMenu(myMenu)"
onmouseout="if (webfxMenuUseHover) webFXMenuHandler.hideMenu(myMenu)" onclick="return false">
>
<tr><td>Action</td><tr></table>

<script>...
var cpElement = document.getElementById("Table2");

var myMenu = new WebFXMenu;  
... menu items....


I'have been using

WebFXMenu.prototype.position(cpElement,"horizontal");
or
myMenu.position(cpElement,"horizontal");

but this does not seem to display the meny next to the table element

Hope somebody have an idea - thanks

 




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX