Reputation: 7383
IE 6.0 is giving me the message "This page contains both secure and nonsecure items" because I have iframes on my page (for the combo box bug). I have tried pointing to a few different things in the src but I can't seem to get rid of this message without putting in a blank html page, which I would like to avoid so there isn't a server call. Is there any solution? I suppose I could use the blank page and have the cache never expire on it possibly if there is no other choice and that should avoid the server trip?
Upvotes: 3
Views: 4018
Reputation: 41
There's probably a few ways to solve this using javascript. The javascript:false;
method solves the "This page contains both secure and nonsecure items" problem but it also outputs the text "false" into the iframe which is undesirable if you want it to look like an empty iframe.
Another approach is to set the src attribute to javascript:'';
which solves the issue stated above.
Upvotes: 3
Reputation: 7383
If I set the src to javascript:false; it works. I found this by examining what the yui library uses.
Upvotes: 5