Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 469
Bijan Avatar asked Feb 17 '10 17:02

Bijan


3 Answers

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.

like image 137
Malfist Avatar answered Nov 03 '22 14:11

Malfist


Is it because you are running locally/from file? Try on a remote server. Does the problem persist? To get rid of it locally, try adding the "mark of the web"

like image 22
spender Avatar answered Nov 03 '22 13:11

spender


I had this problem on a live server. Serached the web for answers and kept finding info saying it was because you're testing on a local server or you need to apply MOTW. No. Turns out there's a bug fix that needs to be applied to the jquery script itself to get rid of it.

http://dev.jquery.com/changeset/6268

Worked for me. Also, make sure the script is not the minified version.

like image 42
Mike Avatar answered Nov 03 '22 13:11

Mike