blob: 4eff01acd6d010da3dba5b3a86a10042941e4dca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html>
<head>
<title>First Modal</title>
<script>
function openModal() {
window.showModalDialog("modal_2.html",'dialogWidth:250px;dialogHeight:200px;resizable:yes')
}
</script>
</head>
<body>
<p>Modal dialog sample</p>
<input type="button" value="btn2" onclick="openModal();">
<a id="lnk2" href="javascript:openModal()">lnk2</a>
<div>
</div>
</body>
</html>
|