forked from magrawal-USF/Javascript-JQuery-Charting
-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy pathHTMLPage20.html
More file actions
44 lines (36 loc) · 1.74 KB
/
HTMLPage20.html
File metadata and controls
44 lines (36 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>JQuery</title>
<script src="https://code.jquery.com/jquery-3.2.1.js"
integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"
integrity="sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30="
crossorigin="anonymous"></script>
<link href="http://code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css"
rel="stylesheet">
<script type="text/javascript">
$(document).ready(function () {
$(".moveSensor").on("mousemove", processMouse);
$("#studentsList").on("click", processClick);
});
function processMouse(event) {
//$("#log").append("<div>Mouse at " + event.pageX + ", " + event.pageY + "</div>");
$("#log").text("Mouse at " + event.pageX + ", " + event.pageY);
}
function processClick(event) {
alert("you clicked " + event.target.innerHTML);
}
</script>
</head>
<body>
<h1>JQuery demo</h1>
<p class="moveSensor">The University of South Florida is a large, public 4-year university offering undergraduate, graduate, specialist and doctoral level degrees. The USF System includes three, separately accredited institutions: USF; USF St. Petersburg; and USF Sarasota-Manatee. Serving more than 50,000 students, the USF System has an annual budget of $1.7 billion and is ranked 45th in the nation for research expenditures among all universities, public or private. </p>
<h1>Founded: 1956</h1>
<h1 class="moveSensor">Undergraduates: 37,027</h1>
<h1 id="studentsList">Graduate Students: 10,810</h1>
<div id="log"></div>
</body>
</html>