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