Open a new window to about:blank

44 views
Skip to first unread message

Larry Serflaten

unread,
Feb 15, 2014, 8:15:18 PM2/15/14
to khan-academy-javas...@googlegroups.com
I am trying to find a method to open a new window such that I may display some (copy/paste) code to the user.

While I seem to be able to get a handle to a window object, it does not open a new window, nor show an alert message.

Both of these can be made to work offline, but they fail at KA.

Here is a link to my current attempt....

Anyone got a working method to do either (window or alert) of these? 


LFS

Lokio Case

unread,
Jun 16, 2015, 1:57:07 PM6/16/15
to khan-academy-javas...@googlegroups.com
These fail offline because KA has been trying to block this. A link() function is coming soon, but you're getting close-ish.
Message has been deleted

Element118

unread,
Jun 17, 2015, 8:55:49 PM6/17/15
to khan-academy-javas...@googlegroups.com
To write things that can be copied/pasted, you can always use println().
Reply all
Reply to author
Forward
0 new messages