+ 1
Who now how can i open little window in javascript?
Who can helps me?
4 Respostas
+ 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();
}
+ 1
Thanks 😀
0
What is myWindow?
0
Программист #1/Programmer #1 myWindow - is as in the question above asked - a next new window („popup“), which can be opened through javascript code.