Problem with IE7 Zoom

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jamiemcd
Beginner
Beginner
Posts: 3
Joined: Sun Nov 26, 2006 8:46 pm

Problem with IE7 Zoom

Post by jamiemcd »

As many of you know, Internet Explorer 7 comes with the Zoom feature, much like the Opera browser. (IE6 had the option to increase the text size only, which is what Firefox 2.0 still does.)

When testing the zoom feature in IE7, I noticed a problem with the submenu positioning in Milonic version 5.764.

Correct:
Image

Incorrect:
Image

After simplifying the code, and comparing my menu_data.js file with the one on the Milonic website, I still could not get the submenus to position correctly in IE7 when the browser's zoom was set to anything other than 100%.

I finally discovered that the problem is due to the declared DOCTYPE.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
If I change the DOCTYPE to HTML 4.01 transitional, or HTML 4.01 strict, it also displays incorrectly.

However, if I remove the DOCTYPE declaration entirely, the menu works correctly.

My test page is here.

I am wondering if this is a display problem that can be corrected in the Milonic code.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I'm not seeing the problem you describe in either IE7 or FF2. Have you found a fix?
jamiemcd
Beginner
Beginner
Posts: 3
Joined: Sun Nov 26, 2006 8:46 pm

Post by jamiemcd »

Hi John,

The problem only shows up in IE7 when Zoom is set to something other than 100%.

Image

Zoom is a new feature in IE7. I've confirmed the problem using two different computers so you should be able to see it.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

It must be Monday. Now I'm seeing the problem (increasing the size earlier didn't show it).

I've passed this off to the boss.
philbrierley@hotmail.com
Beginner
Beginner
Posts: 5
Joined: Sun Aug 14, 2005 5:32 am

IE 7 ZOOM ISSUES

Post by philbrierley@hotmail.com »

Has this issue been resolved yet? I am also having issues with IE7 when zoom is set to > 100%.

See http://www.tiberius.biz ,the menu dissappears and you have to scroll down to then bottom of the page to find it.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You need to upgrade to see if that has been fixed. There were some IE 7 fixes down since your version. Latest release is 5.769 about 15 levels up from yours.

Ruth
philbrierley@hotmail.com
Beginner
Beginner
Posts: 5
Joined: Sun Aug 14, 2005 5:32 am

Post by philbrierley@hotmail.com »

The upgrade makes no difference. Similar to the previous poster, I found that the problem goes away if I remove the doctype declaration, which I don't want to do.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

I've solved the issue by disabling the scrolling menu, which doesn't position correctly when the zoom is adjusted, but why does removing the doctype declaration correct things as well?

// followscroll='100,1,1';

Any ideas why this is so, or even a solution?

Cheers,

Phil
niubi
Beginner
Beginner
Posts: 2
Joined: Tue Feb 27, 2007 12:01 pm

Post by niubi »

Hi,

I'm having the same problem with the IE7 zoom here.

The more you zoom the site, the more the submenu layer (eg Auslandsstudium -> Deutschland) moves to the right.

I wasn't able to find a solution to that problem in the forum ... is there a way to fix that issue?
ajthepoolman
Beginner
Beginner
Posts: 3
Joined: Fri Aug 17, 2007 4:14 pm

Post by ajthepoolman »

Hate to revive a dead topic, but has there been any answer from Milonic on this?

Thanks!

Aj
niubi
Beginner
Beginner
Posts: 2
Joined: Tue Feb 27, 2007 12:01 pm

Post by niubi »

No, I don't think so. At least I'm still having this problem on the site mentioned in my previous post ... :(
jamiemcd
Beginner
Beginner
Posts: 3
Joined: Sun Nov 26, 2006 8:46 pm

Post by jamiemcd »

I'm still seeing the offset problem with the submenus when using IE7 zoom. It does not appear in Opera 9.23 zoom.
Post Reply