|
When I roll my mouse over my menu no javascript, it appears halfway down the page
Return to Recent Questions
Q:
When I roll my mouse over my menu no javascript, it appears halfway down the page, not next to the menu no javascript.
This only happens when I enclose the code in <div></div> layers. Is
there a way to fix this?
A:
It is possible that you have some problems with your css.
The problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
In other words, you 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"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add <DIV id=SiteMenu>
to the
style="position:absolute;"
So, you'll have:
<DIV id=SiteMenu style="position:absolute;">
Check that.
Return to Recent Questions
Related:
- March 23, 2009 - My html tab menu doesn't work on IE6. No rollovers, no drop downs.
- Apr 09, 2009 - My cascade menu javascript disappears on the home page.
- May 11, 2009 - When I add a submenu, it appears separated by about 100px down web design navigation.
- May 15, 2009 - I can see the down arrows of my css pop up menus on the main page only, how to fix it?
- Jun 29, 2009 - I want my down menu horizontal appears at the top the page with center align. Is it possible?
- Jul 25, 2009 - In IE the submenus of javascript menubar are open down the page and go off the bottom of the screen.
- Aug 11, 2009 - I downloaded the trial version, but where I can find the scroll right click pop up menu?
- Aug 31, 2009 - Is it possible to create a pull down menu html that will float when I scroll down the page.
- Oct 07, 2009 - Will the javascript menu vertical stay in view when the user scrolls down?
- Dec 04, 2009 - Will the javascript for drop down menu stay in view when the user scrolls page down?
- Dec 16, 2009 - I'm trying to get a javascript absolute position that will float as I scroll down the page.
|