Let the web page automatically wear jackets

zhaozj2021-02-16  44

?

Let the web page automatically wear jackets

When you do web design, many web pages require the same border pattern and navigation bar, FrontPage provides us with a shared border for easy design, but it is not convenient, after all, each page has added the same content, invisible China page Big, of course, for dynamic web, this is not a problem, but if it is static?

How can I overcome this shortcomings, through the framework, just, the framework attracts another trouble, if it is directly opened the online web page, take off the gorgeous coat, is it very monotonous, here we find one Good way, let the web page that take off the jacket automatically put on the coat, have you been? If you are not interested in this topic, you can go, let's discuss in detail.

In the frame web page, usually use the SRC parameter to specify the web page address within the frame, what we have to do, when you open this address, let it automatically monitor and then wear the coat, of course, first add a test code to the page, as follows: