commit 0c5bdb36127f3745521fd3a89b81c59672ba696b
parent b12be077af5883e0a85a3f1210a2ba48bbbe9baa
Author: Nathanael Gentry <ngentry1@liberty.edu>
Date: Wed, 19 Jun 2019 21:12:54 -0400
Add jQuery; make draggable
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/index.html b/index.html
@@ -5,6 +5,13 @@
<title>Mac OS 8.1</title>
<link rel="shortcut icon" href="img/favicon.ico" />
<link rel="stylesheet" href="base.css">
+ <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
+ <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
+ <script>
+ $( function() {
+ $( "#content" ).draggable({ handle: "h1.title" });
+ } );
+ </script>
</head>
<body>
<noscript><p><em>This page requires JavaScript.</em></p></noscript>