Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:46

IE window expands on rollover


Poster: stein
Dated: Thursday April 21 2005 - 19:54:31 BST

http://www.akdemocrats.org Milonic 5.721

In IE6 the menu has been showing mysterious behaviour relating to:

mouseovers of the menu and the subsequent addition of window space...
-- identified by the immediate appearance of a horizonal scroll at the bottom and
-- the addition of vertical space visible by the shrinking of the vert scroll block.
-- it does not resize the window per say, it just expands the space it 'could' take up.

example: go to http://www.akdemocrats.org and then roll over Representatives to cause the 'expansion', then if you click on Representatives to open the menu, the expanded window reverts to correct size! It will only work with the original item w/mouseover...

Any ideas? Will post code on request.


Poster: Ruth
Dated: Thursday April 21 2005 - 21:07:29 BST

Hi,

You need to move the call for your menu files [milonic, mmenudom, mmenuns4, menu_data.php, contextmenu.js] out of the table and put them immediately after the body tag. That gets rid of the bottom scroll bar and the extra 400 or so pixel width of empty space that was on the right.

Ruth


Poster: John
Dated: Thursday April 21 2005 - 21:44:15 BST

I'm not a PHP person, but I am a bit unsure about this _data call...
Code:
<SCRIPT language=JavaScript src="/menu/menu_data_.php?url=http://www.akdemocrats.org/" type=text/javascript></SCRIPT>


Poster: stein
Dated: Thursday April 21 2005 - 23:04:30 BST

Hi, thanks for the input. The PHP code is working nicely although I've not really documented it here in the forums. I've been using this system for some time and I'll sum it up:
-- I use my menu_data (renamed to menu_data_) in a PHP file so that I can run functions, pass variables and render strings inside the javascript data then the PHP engine spits out compliant html/javascript to be parsed by the rest of your fine menu system.

BTW - taking it out of the table did nicely to fix the issue. Thanks alot.