Can't load all iframes
<p>I can't load all websites inside my iframe for example youtube, facebook and twitter.
I load all my pages from my database, other websites do load normal.</p>

<p>i tried:</p>

<p>js:</p>

<pre><code>function showeffect(sUrl,sName)
    {

        $('#effect').hide(1000);
        $('#effect').show(2200);
        $('#website').attr("src", sUrl);

    }
</code></pre>

<p>php:</p>

<pre><code>        &lt;?php 


            $sql = "SELECT naam, url FROM items";
            $database = new PDO('mysql:host=localhost;dbname=startandhome','root','');
            $results = $database-&gt;query($sql); 

            $contentregel = 'contentregelblauw';
            foreach($results as $row) 
            { 

                $itemnaam = $row['naam'];
                $itemUrl = $row['url'];

                echo "&lt;div class=\"" .$contentregel ."\"&gt;&lt;a href=\"#\" onclick=\"showeffect('".$itemUrl ."','".$itemnaam ."'); return false;\"&gt;" .$itemnaam ."&lt;/a&gt;&lt;/div&gt;";

                if ($contentregel == 'contentregelgrijs')
                {
                    $contentregel = 'contentregelblauw';
                }
                else
                {
                    $contentregel = 'contentregelgrijs';
                }
            }


        ?&gt;
</code></pre>

<p>html:</p>

<pre><code>&lt;iframe id="website" class="website" src=""&gt;&lt;/iframe&gt;
</code></pre>
