I'm trying to position my javascript menu horizontal inside absolutely positioned DIV.
Return to Recent Questions
Q:
I'm trying to position my javascript menu horizontal inside absolutely positioned <DIV> tags. If
the <DIV> tag has style="position:absolute; top:100px; left:50px;" in the
actual tag, javascript menu horizontal 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 javascript menu horizontal 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 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 javascript sliding menu?
- May 25, 2009 - How can I setup size and color of the font for individual button in the hover menu?
- Jun 27, 2009 - Does this dynamic menu items need Java Virtual Machine installed on the computer?
- Jul 02, 2009 - Is it possible to install my vertical popup menu on the page made with Yahoo sitebuilder
- Jul 12, 2009 - Is it possible to set target attribute individually for the css menu maker items?
- Jul 17, 2009 - Can I install and run this dhtml menu download on a server running OS X?
- Oct 01, 2009 - When I place html vertical menu in a CSS div element the submenu's all drop down a couple pixels
- Oct 10, 2009 - Is there a way to install up menu javascript correctly if we use nested frames?
- Oct 14, 2009 - Do I have to buy a license for each website I install this effective website navigation
- Nov 20, 2009 - I have some problems with installation of the menu web page...
|