TypeError: self is undefined with the new Firefox 16.0.1
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)
选择的解决方案
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.
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".