I'm trying to position my javascript vertical menu inside absolutely positioned DIV.
Return to Recent Questions
Q:
I'm trying to position my javascript vertical menu inside absolutely positioned <DIV> tags. If
the <DIV> tag has style="position:absolute; top:100px; left:50px;" in the
actual tag, javascript vertical 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 javascript vertical 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:
- March 13, 2009 - I cannot see javascript vertical menu on my pages.
- March 29, 2009 - How could I call a script instead of specifying a link in javascript vertical menu myspace?
- Apr 16, 2009 - The popup menu gives me the top level of the javascript vertical menu...
- May 03, 2009 - Will I have issues with the key in javascript vertical menu if my site has multiple host headers?
- May 10, 2009 - Since I installed the dynamic css menu on our website the homepage start loads slowly...
- May 21, 2009 - There seems to be a 'glitch' with my transparent javascript vertical menu in Firefox.
- May 23, 2009 - I can see only the code generated by the GUI tool.How should I install javascript onmouseover menu?
- May 25, 2009 - How can I setup size and color of the font for individual button in the menue script?
- Jun 07, 2009 - Is it possible to create the following functionalities in your javascript vertical menu?
- Jun 27, 2009 - Does this mouse over drop down menu need Java Virtual Machine installed on the computer?
- Jul 02, 2009 - Is it possible to install my css pulldown menu on the page made with Yahoo sitebuilder
|