WTAD Practical - 9
Write a JavaScript to show a pop up window with a message Hello and background
color lime and with solid black border.
Write a JavaScript to show a pop up window with a message Hello and background
color lime and with solid black border.
<HTML>
<html>
<HEAD>
<TITLE>WTAD.practical-9 @iAmLearningHere </TITLE>
</HEAD>
<body bgcolor="YellowGreen">
<form name="f1">
<input type="button" value="Pop Up" onclick="window.open('w1.html','PopUpWindow','width=2s00',
'height=50')">
</form>
</body>
</HTML>
<html>
<HEAD>
<TITLE>WTAD.practical-9 @iAmLearningHere </TITLE>
</HEAD>
<body bgcolor="YellowGreen">
<form name="f1">
<input type="button" value="Pop Up" onclick="window.open('w1.html','PopUpWindow','width=2s00',
'height=50')">
</form>
</body>
</HTML>
/* w1.html */
<HTML>
<html>
<HEAD><TITLE>PopUp</TITLE>
</HEAD>
<BODY bgcolor="lime" border="black">
<h1>Hello</h1>
</BODY>
</HTML>
<HTML>
<html>
<HEAD><TITLE>PopUp</TITLE>
</HEAD>
<BODY bgcolor="lime" border="black">
<h1>Hello</h1>
</BODY>
</HTML>
0 comments :