But in my situation, I have no access or control over what is calling my "page_to_open_in_child_window.htm". I have tried renaming this file and using the above code in a redirector and it worked... except unfortunately (this is an LMS), using the redirector idea causes the LMS session data to not be retained.
Question is, can I embed the same instructions inside of my "page_to_open_in_child_window.htm"? Can this be done through HTML and/or javascript and/or CSS?
Thanks
HTMLCSSJavaScript
Last Comment
Doug Van
8/22/2022 - Mon
tdlewis
If you want to fully load the content from your script then leave the first argument to window.open blank, e.g.,
Then you can do something like this:
myWin.document.writeln("<html><body>Hello, world!</body></html>")
In that way, you don't need a pre-existing webpage.
On the other hand, if you need for something to be loaded by the LMS so that you have its session data then create a super simple page. It can be as simple as:
<html><body></body></html>
Then you can do something like this:
myWin.document.body.innerHTML += "Hello, world!<p>"
Doug Van
ASKER
Hello tdlewis,
Thanks for your response but not even close. LOL Though, I suspect my description wasn't nearly good enough.
The problem is that in opening a child window, I must also carry a two-way communications with the parent window API. This is where it is slightly more complicated than simply opening a child window.
tdlewis
OK. Can you give a brief description of what you need the parent and child windows to do?
myWin = window.open("","", "location=0,toolbar=0,stat
Then you can do something like this:
myWin.document.writeln("<h
In that way, you don't need a pre-existing webpage.
On the other hand, if you need for something to be loaded by the LMS so that you have its session data then create a super simple page. It can be as simple as:
<html><body></body></html>
Then you can do something like this:
myWin.document.body.innerH