Difference between revisions of "Template:Groningen/Human Practices"

Line 9: Line 9:
 
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
 
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
 
<script type="text/javascript" src="https://2018.igem.org/Template:Groningen/Javascript&action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript" src="https://2018.igem.org/Template:Groningen/Javascript&action=raw&ctype=text/javascript"></script>
 +
 +
<script>
 +
  document.addEventListener('DOMContentLoaded', function() {
 +
    var elems = document.querySelectorAll('.modal');
 +
    var instances = M.Modal.init(elems, options);
 +
  });
 +
 +
  // Or with jQuery
 +
 +
  $(document).ready(function(){
 +
    $('.modal').modal();
 +
  });
 +
         
 +
</script>
 +
 +
 
</head>
 
</head>
 
<body>
 
<body>

Revision as of 09:45, 6 October 2018

Work in Progress

Human Practices

Modal