Skip to content

Commit 3e8a90c

Browse files
authored
PopUpMessage.html
1 parent c7cf6c2 commit 3e8a90c

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

PoPUpmessage.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<html>
2+
3+
<head>
4+
5+
<title>Event!!!</title>
6+
7+
<script type="text/javascript">
8+
9+
function trigger()
10+
11+
{
12+
13+
document.getElementById("hover").addEventListener("mouseover", popup);
14+
15+
function popup()
16+
17+
{
18+
19+
alert("Welcome to my WebPage!!!");
20+
21+
}
22+
23+
}
24+
25+
</script>
26+
27+
<style>
28+
29+
p
30+
31+
{
32+
33+
font-size:50px;
34+
35+
position: fixed;
36+
37+
left: 550px;
38+
39+
top: 300px;
40+
41+
}
42+
43+
</style>
44+
45+
</head>
46+
47+
<body onload="trigger();">
48+
49+
<p id="hover">Welcome!!!</p>
50+
51+
</body>
52+
53+
</html>

0 commit comments

Comments
 (0)