I'm trying to position my dynamic list menu inside absolutely positioned DIV.
Return to Recent Questions
Q:
I'm trying to position my dynamic list menu inside absolutely positioned <DIV> tags. If
the <DIV> tag has style="position:absolute; top:100px; left:50px;" in the
actual tag, dynamic list menu seems to work correctly submenus have a 100px offset in the y direction and
a 50 pixel offset in the x direction. This is with no change to the .js data
file (I have absolutePos=0;).
Is this a known issue, and is it planned to be fixed soon?
A:
Problem is that the dynamic list menu can't get the value of "position" attribute of the object if the object doesn't have this property within inline style
(style="position:absolute; top:100px; left:50px;"). To get the value you should move .css style into style="" attribute.
You should add style="position:absolute; top:100px; left:50px;"
to the
<DIV class=department-menu>
So, you'll have:
<DIV class=department-menu style="position:absolute; top:100px; left:50px;;">
Return to Recent Questions
Related:
- May 10, 2009 - Since I installed the dhtml menu sample on our website the homepage start loads slowly...
- May 23, 2009 - I can see only the code generated by the GUI tool.How should I install custom popup menu?
- May 25, 2009 - How can I setup size and color of the font for individual button in the drop down navigation menu?
- Jun 27, 2009 - Does this javascript floating layer need Java Virtual Machine installed on the computer?
- Jul 02, 2009 - Is it possible to install my popup menu in javascript on the page made with Yahoo sitebuilder
- Jul 12, 2009 - Is it possible to set target attribute individually for the javascript simple menu items?
- Jul 17, 2009 - Can I install and run this vertical scrolling menu on a server running OS X?
- Oct 01, 2009 - When I place dynamic dropdown menu in a CSS div element the submenu's all drop down a couple pixels
- Oct 10, 2009 - Is there a way to install dhtml tab menu correctly if we use nested frames?
- Oct 14, 2009 - Do I have to buy a license for each website I install this menu popup
- Nov 20, 2009 - I have some problems with installation of the html dropdown menus...
|