Forum Moderators: open
Some preliminary ideas I have:
1) A socket-level approach? I understand that each browser window opens a socket for each request/response. Can I manipulate the socket for window A to direct the content to a socket for window B?
2) A higher-level Javascript/Java approach? Maybe a command like "onload(move-content-to-window-B);"?
3) Would it be any easier to open a new browser window to display the content, instead of re-directing to an existing window? In other words, forcing the browser A to automatically open a new window for every HTTP response that it receives? How to do this?
Many thanks in advance!
--Won
myWindowB = window.open('', 'WindowB', 'location=yes,toolbar=yes,menubar=yes,directories=yes,status=yes,resizable=yes,scrollbars=yes,height=undefined,width=undefined', false);
Then use something like:
myWindowB.document.write(documenthtml);
where documenthtml is a variable where you set all the html of the page you want.