Line 12: | Line 12: | ||
<script src="//use.edgefonts.net/josefin-sans:n1,i1,n3,i3,n4,i4,n6,i6,n7,i7.js"></script> | <script src="//use.edgefonts.net/josefin-sans:n1,i1,n3,i3,n4,i4,n6,i6,n7,i7.js"></script> | ||
<script src="//use.edgefonts.net/aladin.js"></script> | <script src="//use.edgefonts.net/aladin.js"></script> | ||
+ | |||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | ||
+ | <script src="https://github.com/kswedberg/jquery-smooth-scroll/blob/master/jquery.smooth-scroll.min.js"></script> | ||
+ | <script> | ||
+ | $('.smooth').on('click', function() { | ||
+ | $.smoothScroll({ | ||
+ | scrollElement: $('body'), | ||
+ | scrollTarget: '#' + this.id | ||
+ | }); | ||
+ | |||
+ | return false; | ||
+ | }); | ||
+ | |||
+ | function w3_close() { | ||
+ | document.getElementById("mySidebar").style.display = "none"; | ||
+ | document.getElementById("myOverlay").style.display = "none"; | ||
+ | } | ||
+ | |||
+ | // Modal Image Gallery | ||
+ | function onClick(element) { | ||
+ | document.getElementById("img01").src = element.src; | ||
+ | document.getElementById("modal01").style.display = "block"; | ||
+ | var captionText = document.getElementById("caption"); | ||
+ | captionText.innerHTML = element.alt; | ||
+ | } | ||
+ | |||
<style> | <style> |
Revision as of 18:40, 12 September 2017