1. I copied IE8.js to js folder
2. I added scripts[] = js/IE8.js in my custom.info file.

.. and in my opinion it isn't working because I can't find "IE8.js" in page source.

Thank you for reply.

Comments

TeamIdeen’s picture

1) Make sure your script still isn't commented out
Example:
;scripts[] = script.js

2) Make sure your JS is pointing to the correct directory; currently info file is pointing to the base folder where the INFO file is located, not he JS folder.

change code to
scripts[] = /js/ie8.js

or move your ie8.js to your base directory

3) Don't forget to flush your cache after adding the JS to the .info file

adpo’s picture

Problem fixed. I enabled optimise java stript under > Performance settings.

akalata’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rhodet’s picture

Component: IE Problems » layout.css

Hello Sir...where is the custom.info file located in the danland theme?

Thanks