+ 1

How can i show a canvas in a new window?

I'm programming in HTML and Js. I'm trying to let user's choose an option between "yes" or "not" and then show a canvas on a new window because it shows in the same "yes" or "not" window Can someone tell me how can I do that? Please

10th Jan 2019, 8:08 PM
Roberto Emmanuel RomĂĄn Escobar
Roberto Emmanuel RomĂĄn Escobar - avatar
4 Answers
+ 3
Roberto Emmanuel RomĂĄn Escobar That's great! No problem - Happy Coding âœŒđŸŒ
11th Jan 2019, 9:21 PM
Zeke Williams
Zeke Williams - avatar
+ 2
I have never thought about doing this, but a quick search yielded some results with Window.open(). https://developer.mozilla.org/en-US/docs/Web/API/Window/open Let me know if that's not what you were thinking of. You might have to do some digging to figure out how to load a canvas onto a newly opened window. I'll look too just because I'm interested :)
11th Jan 2019, 5:27 AM
Zeke Williams
Zeke Williams - avatar
+ 1
I'm going to do some experiments using windows.open() command. It sounds great, maybe it is what I'm looking for. Thanks for the tip
11th Jan 2019, 5:45 AM
Roberto Emmanuel RomĂĄn Escobar
Roberto Emmanuel RomĂĄn Escobar - avatar
+ 1
It was exactly what I needed, thanks again âœŒđŸŒ
11th Jan 2019, 6:58 PM
Roberto Emmanuel RomĂĄn Escobar
Roberto Emmanuel RomĂĄn Escobar - avatar