搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

TypeError: self is undefined with the new Firefox 16.0.1

more options

I am using a Milonic DHTML Menu - JavaScript Website Navigation System. It doesnt work with the new Firefox 16.0.1. The error is with Firebug : TypeError: self is undefined . Self is referred to : self.scrollY; self.scrollX;

I am using a Milonic DHTML Menu - JavaScript Website Navigation System. It doesnt work with the new Firefox 16.0.1. The error is with Firebug : TypeError: self is undefined . Self is referred to : self.scrollY; self.scrollX;

由elaccca于修改

被采纳的解决方案

Hi elaccca,

Quite old version of Milonic JavaScript code is used in my appliction and I got the same problem. I have changed 'self' to 'this' in the code string '_sT=self.scrollY;_sL=self.scrollX;' and this solved the issue in my website.

定位到答案原位置 👍 3

所有回复 (2)

more options

选择的解决方案

Hi elaccca,

Quite old version of Milonic JavaScript code is used in my appliction and I got the same problem. I have changed 'self' to 'this' in the code string '_sT=self.scrollY;_sL=self.scrollX;' and this solved the issue in my website.

more options

Thanks zuvyte12. I also got the same problem and resolved as per your change. I think if we use the latest version of Milonic javascript, problem should not persist. Error was in "mmenudom.js".