Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CSS not loading

  • 4 tontu
  • 2 am na jafe-jafe bii
  • 1 view
  • i mujjee tontu mooy krstgor

more options

This website http://srm-pl.ktc-international.hu/ loads fine in IE, Edge and Google Chrome, but it doesn't load on Firefox. Any help?

This website http://srm-pl.ktc-international.hu/ loads fine in IE, Edge and Google Chrome, but it doesn't load on Firefox. Any help?

Saafara biñ tànn

Try changing that last parameter "09" to just "9" (without the quotation marks).

Jàng tontu lii ci fi mu bokk 👍 1

All Replies (4)

more options

Just the circle? Firefox's Browser Console (Ctrl+Shift+j) displays these script error messages and I suspect these may be related to the problem:

SyntaxError: "0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead File: theme.js:241:70

ReferenceError: theme is not defined File: srm-pl.ktc-international.hu:1067:9

ReferenceError: theme is not defined File: srm-pl.ktc-international.hu:1075:9

Looking at the code in theme.js, it seems to be constructing a date. If I paste these lines into Firefox's web console and run them, I get a slightly different error message:

var austDay = new Date(); austDay = new Date(austDay.getFullYear() + 0, 11 - 1, 24, 09);

=> SyntaxError: 09 is not a legal ECMA-262 octal constant

The various parameters should correspond to:

new Date(year, month, day, hour);

For hour, Firefox accepts 00, 01, 02, 03, 04, 05, 06, 07 but after that, a leading 0 generates the error. It works better without leading zeros, but as end users, we don't have any way to fix it.

more options

Alright, so what exactly should I change?

In my theme.js, the date is in the following format:

},
       // CountDown
       initCountDown: function () {
           var austDay = new Date();
           austDay = new Date(austDay.getFullYear() + 0, 11 - 1, 24, 09);
           $('#defaultCountdown').countdown({until: austDay});
           $('#year').text(austDay.getFullYear());
       },

which is a countodown to November 24, 2016.

So, do I need to try a different date format? What would I put instead?

more options

Saafara yiñ Tànn

Try changing that last parameter "09" to just "9" (without the quotation marks).

more options

jscher2000 said

Try changing that last parameter "09" to just "9" (without the quotation marks).

I simply deleted the "09" and now it works like a charm!! :)