Difference between revisions of "Team:TP-CC San Diego/HumanPractices"

Line 5: Line 5:
 
<style>
 
<style>
 
<link href="https://fonts.googleapis.com/css?family=Baloo+Bhaijaan" rel="stylesheet">
 
<link href="https://fonts.googleapis.com/css?family=Baloo+Bhaijaan" rel="stylesheet">
 +
</style>
 +
<script>
 +
var slideIndex = 1;
 +
showDivs(slideIndex);
  
.humanp img
+
function plusDivs(n) {
{
+
    showDivs(slideIndex += n);
  margin-bottom: 20px;
+
}
{
+
  
</style>
+
function showDivs(n) {
 +
    var i;
 +
    var x = document.getElementsByClassName("mySlides");
 +
    if (n > x.length) {slideIndex = 1}
 +
    if (n < 1) {slideIndex = x.length} ;
 +
    for (i = 0; i < x.length; i++) {
 +
        x[i].style.display = "none";
 +
    }
 +
    x[slideIndex-1].style.display = "block";
 +
}
 +
</script>
 
</head>
 
</head>
  

Revision as of 00:07, 18 September 2017

Human Practices