奇怪的DNN行为 - 嵌套html标签

时间:2014-03-03 04:40:21

标签: javascript html iframe dotnetnuke

我遇到了一个奇怪的结果(我相信)我无法访问表单字段,因为我的一个模块在body标签内部生成一个微型页面,而且似乎是由谷歌广告或表单模块产生的似乎被加载到表格之上。

听起来它来自那些模块吗?如果是这样,这些嵌套页面可能导致我的字段无法访问? (行为几乎就像DIV已经叠加在表格的顶部,较低的字段仍然是可访问的。)

这是页面来源中与我有关的部分:

..Normal HTML/Site code above...
.....
<!--DOCUMENTS SUCH AS BELOW KEEP GETTING NESTED-->
#document
<html>
    <head>
        <script type="text/javascript" src="..."></script>
    </head>
    <body marginwidth="0" marginheight="0">
        <iframe width="undefined" height="undefined" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" style="display:none" id="zrt_ads_frame1" name="zrt_ads_frame1" src="...">

        </iframe>
        <script>google_loader_used="sa";google_ad_format="undefinedxundefined";google_ad_unit_key="1117272154";google_show_ads_impl=true;google_unique_id=1;google_async_iframe_id="aswift_0";google_start_time=1393820506698;google_ad_handling_mode="EI";google_bpp=8;google_async_rrc=0;</script>
        <script src="..."></script><script>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad, google_eid);</script>
        <iframe id="google_ads_frame1" name="google_ads_frame1" width="undefined" height="undefined" frameborder="0" src="..." marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no">
            #document
            <html>
                <head></head>
                <body marginwidth="0" marginheight="0"></body>
        </iframe>
        <iframe id="google_osd_static_frame_3804139317944" name="google_osd_static_frame" style="display: none; width: 0px; height: 0px;">

        </iframe>
    </body>

这会是我的问题吗?

0 个答案:

没有答案