开发者

webpages embedded in other webpages

开发者 https://www.devze.com 2023-03-26 02:48 出处:网络
I am building a site that is going to have a lot going on in one page. on one side of the page I want a data input area, in the middle is a separate data input area, and开发者_如何转开发 on the left o

I am building a site that is going to have a lot going on in one page. on one side of the page I want a data input area, in the middle is a separate data input area, and开发者_如何转开发 on the left of the page there is an area that continuously should be updating with data from a database.

The area off to the left would be easier to create if it was a separate page, but I need it all in one area.

My question is "is it possible to embed one webpage inside another (almost like a container) and if so, how"


you can use an iframe as Phoenix suggests. There are other ways to constantly update from a database and have data be dynamic. You can you xmlhttprequests, web-sockets or eventsource. Here are some links..

eventsource - http://dev.w3.org/html5/eventsource/

web-sockets - http://dev.w3.org/html5/websockets/

xmlhttprequest - http://www.w3.org/TR/XMLHttpRequest/


<iframe src="otherpage.html">
<iframe src="onemoreotherpage.html">
0

精彩评论

暂无评论...
验证码 换一张
取 消