aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/frame.html
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/templates/frame.html')
-rw-r--r--libpathod/templates/frame.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/libpathod/templates/frame.html b/libpathod/templates/frame.html
index 9c437eba..f176b15d 100644
--- a/libpathod/templates/frame.html
+++ b/libpathod/templates/frame.html
@@ -7,6 +7,8 @@
<link href="/static/pathod.css" rel="stylesheet">
<link href="/static/syntax.css" rel="stylesheet">
<script src="/static/jquery-1.7.2.min.js"></script>
+ <script src="/static/jquery.scrollTo-min.js"></script>
+ <script src="/static/jquery.localscroll-min.js"></script>
<script src="/static/bootstrap.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
@@ -68,4 +70,14 @@
</footer>
</div>
</body>
+ <script>
+ $(function(){
+ $.localScroll(
+ {
+ duration: 300,
+ offset: {top: -100}
+ }
+ );
+ });
+ </script>
</html>