Several methods of introducing other HTML files in HTML files
Introduction: Do you often have a netizen in the forum asked, can you read another HTML file in an HTML file? The answer is determined, and the method is not only one, I used to use iframe to be referenced before, and then I found out several ways. That time I summarize these methods, I feel that the third method is more it is good!
1. IFRAME introduction, look at the code below
-------------------------------------------------- ------------------------------
-------------------------------------------------- ------------------------------
You will see an external imported file, but it will find something like an external frame to surround it, you can use
-------------------------------------------------- ------------------------------
-------------------------------------------------- ------------------------------
But you will find it a little problem, it is different background colors, you only need to use the same background color in the introduced file import.htm, but if you use IE5.5, you can check this about transparency. Colored article If you want to introduce files, do not appear in the body of the scroll bar in the body of the body.htm, add scroll = no
2.
-------------------------------------------------- ------------------------------
-------------------------------------------------- ------------------------------
3. Behavior's Download Mode
-------------------------------------------------- ------------------------------
span>
Function OndownloadDone (Downdate) {showimport.innerhtml = Downdate
}
Odownload.StartDownload ('Import.htm', ONDownloaddone)
script>