Grow your CSS skills. Land your dream job.

IE Prevents running scripts

  • # June 5, 2008 at 1:06 pm

    I’ve made a page with drop-down menu’s and when opening the page on IE, it displays the caution:
    "internet explorer has restricted this web page from running scripts". this prevents my drop-down’s from working properly.

    It’s possible to allow blocked content, but i’m afraid some users won’t know to do it. Is there some sort of code that i can insert that will deem my website as "safe" in order to prevent this warning from ie?

    # June 7, 2008 at 11:58 am

    Is this on your own pc? Because IE blocks javascripts and other scripts on a local machine. Try to upload it to a host to see if it works.

    # June 10, 2008 at 3:01 pm

    That usually only happens on your local machine. If you’re getting the same message off of a server, try adding this line to the top of your document:

    Code:

    More info on how/why this works here.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".