PDA

View Full Version : anylink IE jumps in 800x600



cgsweb
11-08-2005, 03:00 AM
If you view my site in 800x600 resolution in IE 6 on PC, the layout jumps a few pixels to the right when hovering over the menu items, which has dropdowns built with anylink. The tabled layout is centered in the browser using CSS. Does anyone know how I can get rid of the little jump? It's distracting to users on low-res monitors. I've tried to disable the placement adjustment of the menus by recoding lines 119 & 120 of the script to:


dropmenuobj.style.left=dropmenuobj.x+"px"
dropmenuobj.style.top=dropmenuobj.y+obj.offsetHeight+"px"
That did fix the menu placement, but the layout still jumps.

Here is the link to my site: http://lahealthaction.org/index.php

Thanks for any help.

jscheuer1
11-08-2005, 04:47 AM
First off, under DD's usage terms, this:

/***********************************************
* AnyLink Drop Down Menu- Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

belongs on the page, not just in the external javascript file.

Second, there are so many nested tables, the implied or actual dimensions on one or more of those might be causing problems. In any event, they are bad practice. I'd do a complete rewrite. I changed the dropmenudiv's style to display:none and it still jumped, even though the drop downs were now not displayed and could not take up any screen real estate. This means that it probably is not the drop downs that are causing the problem.

cgsweb
11-08-2005, 06:59 AM
Thank you for taking a look at my site and giving me your observations. I found the problem, which was the width of my footer div. Everything seems to be working fine now. I did fix the copyright/attribution on the site, but I'm happy enough with my nested table layout and don't intend to rewrite it. Thank you for providing a good menu script and support.