Video as background: https://github.com/pupunzi/jquery.mb.YTPlayer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function() { | |
jQuery('.post').addClass("hidden").viewportChecker({ | |
classToAdd: 'visible animated fadeIn', | |
offset: 100 | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mobile_detect = new Mobile_Detect(); | |
?> | |
<?php | |
if($mobile_detect->isMobile() || $mobile_detect->isTablet()) | |
{ | |
} else { | |
?> | |
<div class="disable-scroll"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $mobile_detect = new Mobile_Detect(); ?> | |
<?php if($mobile_detect->isMobile() && $mobile_detect->isTablet()) { ?> | |
<li><a href="tel:0488451524">0488 45 15 24</a></li> | |
<?php } else { ?> | |
<li>0488 45 15 24</li> | |
<?php } ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Foundation.reInit('equalizer'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="blok-kalender"> | |
<div id="item" class="standaard-button btn-reserveren fancybox-ajax"><img src="images/calendar.png" alt="">Beschikbaarheid</div> | |
<div style="display:none"> | |
<div id="data"> | |
<?php CMSFrontend::renderModule('pagina', array('type' => 'Tekstblok', 'code' => 'kalender_overzicht')); ?> | |
<iframe src="http://www.mijnbeschikbaarheid.nl/kalender/brt-682" style="min-width:650px;" width="100%" height="300"></iframe> | |
<ul> | |
<li><span class="groen"></span> Beschikbaar</li> | |
<li><span class="rood"></span> Niet beschikbaar</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var width = $(window).width(); | |
$(window).resize(function() { | |
if (width > 1100 && $(window).width() < 1100) { | |
location.reload(); | |
} | |
else if (width < 1100 && $(window).width() > 1100) { | |
location.reload(); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('a[href*="#"]:not([href="#"])').on('click',function(e) { | |
e.preventDefault(); | |
var offset = 94; | |
var target = this.hash; | |
if ($(this).data('offset') != undefined) offset = $(this).data('offset'); | |
$('html, body').stop().animate({ | |
'scrollTop': $(target).offset().top - offset | |
}, 800, 'swing', function() { | |
// window.location.hash = target; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zo check je ie9 en lager | |
<!--[if lte IE 9]> | |
<![endif]--> |