IFRAME, but fewer and fewer people currently use iframe, and iframe is still incompatible between different browsers. And some of my R & D personnel, they said that the value of the IFRAME window seemed to be troublesome.
SecondLoad the page with the online method of jQuery, but after this method jumps multiple pages, click on the backward forward above the browser, but it can be considered to add a return button.
So individuals prefer this method.I usually write this way
$ (#main) .load (mainindex.html, function () {});For the page, DIV+CSS can achieve the effect of Frame
<! Doctype html> <html> <gead> <meta http-equiv = content-type content = text/html; charset = UTF-8/> <Title> DIV+CSS implementing Frameset le Type = Text/css> .header {border-bottom: 1px solid #ccc; margin-bottom: 5px;}. MainContainer {min-width: 960px; max-width: 1600px;}. Sidebar {width: 1 80px; float: left; Margin-Right: -180px; Border-Right: 1px Solid; min-height: 500px; padding: 5px;}. ENT {padding: 0 10px;} </style> </head> <body> <div class = page> <div class = header> <div id = table> <h1> top </h1> </div> </div> div class = MAINCONTAINER> <DIV Class = SIDEBAR> Border Bar </DIV> <DIV ID = Main class = main> Content </DIV> </DIV> </Body> </html> SummarizeThe above is all the contents of this article. I hope that the content of this article will help everyone's learning or work. If you have any questions, you can leave a message to communicate.