|
When I roll my mouse over my down menu in javascript, it appears halfway down the page
Return to Recent Questions
Q:
When I roll my mouse over my down menu in javascript, it appears halfway down the page, not next to the down menu in 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 css menu list doesn't work on IE6. No rollovers, no drop downs.
- Apr 09, 2009 - My dhtml pulldown menu disappears on the home page.
- May 11, 2009 - When I add a submenu, it appears separated by about 100px down pop up menu using.
- May 15, 2009 - I can see the down arrows of my pull down menu box on the main page only, how to fix it?
- Jun 29, 2009 - I want my html javascript menu appears at the top the page with center align. Is it possible?
- Jul 25, 2009 - In IE the submenus of drop down menus in css 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 drop down menu creator?
- Aug 31, 2009 - Is it possible to create a javascript menu dropdown that will float when I scroll down the page.
- Oct 07, 2009 - Will the tree menu in javascript stay in view when the user scrolls down?
- Dec 04, 2009 - Will the menus css stay in view when the user scrolls page down?
- Dec 16, 2009 - I'm trying to get a css menu submenu that will float as I scroll down the page.
|