View Full Version : AnyLink JS Drop Down Menu v2.2 in IE7 & offsetLeft issue

03-31-2011, 06:18 PM
1) Script Title: AnyLink JS Drop Down Menu v2.2

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem:
Drop down seems to be working fine in all browsers except IE 7, because of 'offsetLeft' bug.

The webpage where I'm trying to implement the code, is aligned to center.
IE 7 calculates offestLeft incorrectly (includes the space btw browser window and the actual start of the content) and the menu drops further left, than where it is supposed to drop.

I am not sure how to fix this. Any help will be appreciated.


03-31-2011, 08:07 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

03-31-2011, 09:02 PM
Unfortunately, it is in test environment. I cannot provide direct link to it.

I'll create and attach a sample file...