windhamdavid 5 years ago
parent
commit
6310071ea6
4 changed files with 21 additions and 27 deletions
  1. 9 27
      js/about.js
  2. 5 0
      page-about.php
  3. 7 0
      style.css
  4. 0 0
      v3-style.min.css

+ 9 - 27
js/about.js

@@ -40,23 +40,19 @@ jQuery(document).ready(function($) {
     );
   });
 
-
-
-
-
-
 	var vidout = document.getElementById('tv');
     vidout.play();
 
 
   $('#caro-lead').carousel({
-  	interval: 5777,
+  	interval: 5000,
+    cycle: true,
   	wrap: true
   });
 
   $('#caro-lead').on('slid.bs.carousel', function(event) {
   	var consta = $('#caro-lead li.active');
-    console.log('target: ' + consta.data('target') + ' value: ' + consta.data('value') + ' slide-to: ' + consta.data('slideTo'));
+    console.log('target: ' + consta.data('target') + ' value: ' + ' slide-to: ' + consta.data('slideTo'));
     $('.carousel-caption').fadeIn(600);
   	setTimeout(function() {
   		if (consta.data('slideTo') === 0) {
@@ -67,16 +63,15 @@ jQuery(document).ready(function($) {
   		}
   		if (consta.data('slideTo') === 2) {
 
-  			});
   		}
   	}, 10);
   });
 
-  function dw_caro_hide(){
-    $('.leader').fadeTo(500,0, function() {
-  	  $('#caro-lead').carousel('pause');
-    })
-  }
+	$('#caro-lead').on('slid.bs.carousel', function() {
+		$('.active .animac').removeClass('hide-svg fade-svg');
+		var animac = new DrawFillSVG({elementId: 'brain'});
+		animac.replay();
+	});
 
   $(document).bind('keyup', function(e) {
     if(e.which === 39){
@@ -87,12 +82,6 @@ jQuery(document).ready(function($) {
     }
   });
 
-	$('#caro-lead').on('slid.bs.carousel', function() {
-		$('.active .animac').removeClass('hide-svg fade-svg');
-		var animac = new DrawFillSVG({elementId: 'brain'});
-		animac.replay();
-	});
-
 
 /*============================================
 		      Form
@@ -124,20 +113,13 @@ $('#commentform').validate({
 	}
 });
 
-
-/*============================================
-		      SmoothState
-==============================================*/
-
-
-
 /*============================================
 		      Calendar
 ==============================================*/
 
 var calendarEl = document.getElementById('calendar');
   var calendar = new FullCalendar.Calendar(calendarEl, {
-    plugins: [ 'dayGrid' ],
+    plugins: [ 'dayGrid', 'googleCalendar'  ],
     header: {
       left: 'title ',
       center: '',

+ 5 - 0
page-about.php

@@ -11,6 +11,11 @@ get_header('home'); ?>
 
 	<div class="container-full leader about-caro">
 		<div id="caro-lead" class="carousel carousel-fade">
+			<ol class="carousel-indicators">
+				<li data-target="#caro-lead" data-slide-to="0" class="active"></li>
+				<li data-target="#caro-lead" data-slide-to="1"></li>
+				<li data-target="#caro-lead" data-slide-to="2"></li>
+			</ol>
 			<div class="carousel-inner">
         <div class="carousel-item active" data-id="0">
           <div class="container web">

+ 7 - 0
style.css

@@ -1105,9 +1105,13 @@ ul.social a.facebook span:hover {
 #caro-lead h2 {
 	font-size: 27px;
 }
+#caro-lead .carousel-indicators {
+  top:550px;
+}
 #caro {
 	min-height: 300px;
 }
+
 .hide-svg {
 	visibility: hidden;
 }
@@ -2876,6 +2880,9 @@ pre .variable.class {
 .fc-unthemed td.fc-today {
   background: #ffffff12;
 }
+.fc-event {
+  background:none;
+}
 #calendar {
   color:#555;
 }

File diff suppressed because it is too large
+ 0 - 0
v3-style.min.css


Some files were not shown because too many files changed in this diff