Listening to your expression, it sounds like that. Click on the left menu bar to load the back page. A common and simple method is to nest an iframe on the back side. Of course, the other way is to use pajax
No matter how I think about it, I feel that this is a side navigation, like the one that many people have with a navigation bar on the left or right side of their blog. The other one is the iframe mentioned above. After speaking, the Sheriff returns the votes!
This doesn’t work. Each page of the browser has a different interface, and it does not provide js with an interface for communication. If two pages need to interact, the most feasible way is websocket.
Put this code on the page:
aPage code:
If it is two sub-pages under a parent page, it can be achieved
This should not be possible. I think your requirement should be for the server to actively push messages, such as using websocket
Listening to your expression, it sounds like that. Click on the left menu bar to load the back page.
A common and simple method is to nest an iframe on the back side. Of course, the other way is to use pajax
No matter how I think about it, I feel that this is a side navigation, like the one that many people have with a navigation bar on the left or right side of their blog. The other one is the iframe mentioned above. After speaking, the Sheriff returns the votes!
This doesn’t work. Each page of the browser has a different interface, and it does not provide js with an interface for communication. If two pages need to interact, the most feasible way is websocket.
https://zhuanlan.zhihu.com/p/...
From what you said, you used the frame code to introduce different pages.
<FRAMESET cols = "280,*" frameborder=yes bordercolor=silver>
lt;/FRAMESET>
function init(){
}
You can try this method.
It sounds like a nested iframe page. . .
两个打开的窗口是两个运行环境吧,这能实现?求大神打脸~