+ 1

Who now how can i open little window in javascript?

Who can helps me?

17th Jun 2020, 5:46 PM
Oyatillo
Oyatillo - avatar
4 ответов
+ 3
That can looks like i.g.; function openWindow (myUrl) { var myWindow = window.open(myUrl, "nextWindow", "width=400,height=500,left=50,top=100"); myWindow.document.write("<p>Hi! I am a new window</p>"); myWindow.focus(); }
17th Jun 2020, 6:07 PM
JaScript
JaScript - avatar
+ 1
Thanks 😀
18th Jun 2020, 2:22 AM
Oyatillo
Oyatillo - avatar
0
What is myWindow?
19th Jun 2020, 12:41 PM
Про100 4еловe4ек || Just A 1000000an
Про100 4еловe4ек || Just A 1000000an - avatar
0
Программист #1/Programmer #1 myWindow - is as in the question above asked - a next new window („popup“), which can be opened through javascript code.
19th Jun 2020, 5:13 PM
JaScript
JaScript - avatar