HTML页面嵌套

在html页面引入另一个页面的三种方式:

  1. <IFRAME NAME="content_frame" width=100% height=30 marginwidth=0 marginheight=0 SRC="import.htm" ></IFRAME>

  2. <object style="border:0px" type="text/x-scriptlet" data="import.htm" width=100% height=30></object>

  3. <span id=showImport></span>
    <IE:Download ID="oDownload" STYLE="behavior:url(#default#download)" />
    <script>
    function onDownloadDone(downDate){
    showImport.innerHTML=downDate
    }
    oDownload.startDownload('import.htm',onDownloadDone)
    </script>

你可能感兴趣的:(JavaScript)