iframe标签不能在Firefox中运行,但它可以运行chrome

时间:2014-05-09 07:48:55

标签: javascript jquery html firefox iframe

我正在使用EJS模板。

iframe代码在firefox中不起作用,但它适用于chrome。

是否有人知道是什么原因造成我或我可采取的任何措施来防止这种情况发生?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

    <head>

        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <meta name="keywords" content="resources">
        <meta name="description" id = "meta-data-description" content="">
        <meta name="author" content="">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <script type="text/javascript" src="js/plugins/jquery-1.7.1.js?ver=12"></script>
    </head>

    <body>

    <div id='base-container' class="dashboard-base-container">
    <iframe id="report-iframe" class="org" src="http://gamling.com/dashboard/#/collection/classpage/12345678-1234-1234-1234-12345678/collection/12345678-1234-1234-1234-12345678?session_token=XXX&amp;bgcolor=true">
    </iframe>
    </div>
    </body></html>

0 个答案:

没有答案