In the examples offered by the official site http://www.jacklmoore.com/colorbox/example2/
This website http://threadless.com opens in a popup window successfully.
I successfully implemented this example, but I couldn't load any other page.
For example
<link rel="stylesheet" href="colorbox.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="jquery.colorbox.js"></script>
<script>
$(document).ready(function(){
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
});
</script>
<body>
<p><a class='iframe' href="http://threadless.com">Outside Webpage (Iframe)</a></p>
</body>
This code works perfectly, but when I replace threadless.com with google.com, facebook.com, or any other website a blank popup appears. Could anyone help me please?
Thanks very much.