Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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;

Modificato da elaccca il

Soluzione scelta

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.

Leggere questa risposta nel contesto 👍 3

Tutte le risposte (2)

more options

Soluzione scelta

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".