I am not able to open google's home page through iframe and also facebook's login page trough iframe. I saw Mozilla's X-frame page but couldn't make out a lot. Can someone tell me why is this happening and if possible the code for iframe to open googles home page instead of showing an empty white iframe?
The code:
$(document).ready(function() {
$('.iframe').fancybox({
        width : '90%',
        height : '90%',
        titlePosition: 'outside'
    });
}); // end ready
<div class="content">
    <div class="main">
        <h3>For more such beautiful photos visit XYZ on:</h3><br/>
        <ul>
            <li>
                <a href="complete_menu.html" class="iframe" title="Website">His own Web site</a>
            </li>
            <li>
                <a href="http://www.facebook.com/XYZ" class="iframe" title="Facebook">Facebook</a>
            </li>
            <li>
                <a href="http://www.gmail.com/" class="iframe" title="Gmail">Gmail</a>
            </li>
        </ul>
    </div>
</div>
 
     
     
    