Solved

What causes the 'Show all Content' prompt in IE 9

Posted on 2013-01-17
5
780 Views
Last Modified: 2013-11-19
I have a website that displays a prompt from IE 9 before showing the content on the page.  The prompt states 'Only secure content is displayed' and includes a button to show all content.   I know the user can turn this off by going into their browser settings.  However, by default it is turned on and many users don't see the prompt and think that the site is broken.  

From most of my research it appears that this is controlled by IE.  What causes this prompt to appear on my site?  Is there any way I can change my code so this prompt won't appear?


Thanks in advance!
0
Comment
Question by:kpbarem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38787920
From the IE menu bar ... tools ... internet options... security tab ... custom setting find the
options for "Display mixed content" and click disabled... ok ... ok


Cd&
0
 
LVL 9

Accepted Solution

by:
WebDevEM earned 500 total points
ID: 38788217
Hi,

COBOLdinosaur's directions will stop the prompt from appearing on a given machine, but it sounds like you're interested in why it happens and how to avoid it?  In most cases, this happens because your site is using SSL (https, as opposed to just http) so IE expects everything to be done the same way.  What happens a lot is either a script, stylesheet, image or something else is being referenced absolutely at http:// instead of relative to the current page (or absolutely at https://)  When the browser sees insecure content, even just a picture, in a secure page, it wants to warn the user.

If you make sure all your references to js, css, images, and any other reference to something that needs to be loaded are either relative (no http in the URL) or absolute to a secure server, that should solve it.  You don't need to worry about out-going links though, so things like <a href="http://www.google.com">Google</a> are fine.

I hope this helps!

WebDevEM
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38788677
Yeah I mis-read it. :^(

Cd&
0
 

Author Closing Comment

by:kpbarem
ID: 38789127
It does.  It makes a huge difference actually.  Thanks
0
 
LVL 9

Expert Comment

by:WebDevEM
ID: 38809727
I'm not sure if you're still monitoring this question since it's been closed, but I wrote an article on my blog about it... hope it helps!

http://juntangled.blogspot.com/2013/01/mixed-security-pages-how-to-avoid-error.html
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question