How can you implement a jQuery feature without having IE prompt users with an Active X warning?

Bijan picture Bijan · Feb 17, 2010 · Viewed 8.8k times · Source

Essentially, I want to implement a jQuery feature on a site that I'm building, but I don't want Internet Explorer users to have to click "Allow Blocked Content". The feature works fine with Safari, Chrome, and Firefox. It's only IE that prompts the users with the Active X warning.

I'm using the following jQuery cycle plugin: http://malsup.com/jquery/cycle/

I thought that I might simply have to live with the fact that users have to click on the Active X message when they use the site, but Zendesk (www.zendesk.com) is using the same implementation and that site doesn't prompt me with the warning.

Any ideas as to what I'm doing wrong would be appreciated.

Answer

Malfist picture Malfist · Feb 17, 2010

It's probably because you're running the page locally. IE doesn't like local pages to run javascript and will always complain about it. Once you have it as a website (even on localhost) it shouldn't complain anymore.