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
/*MediaAutoheight*/ | |
function MediaAutoheight(){ | |
var minHeight = 0; | |
var windowWidth = window.innerWidth; | |
var mediaObject = $(".media-autoheight"); | |
if (windowWidth >= 993){ | |
mediaObject.each(function(){ | |
var height = parseInt($(this).height()); | |
if (height > minHeight){ | |
minHeight = height; |
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
html | |
min-height: 100% | |
position: relative | |
body | |
height: 100% | |
padding-bottom: 142px | |
footer | |
width: 100% | |
position: absolute | |
bottom: 0 |
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
$(".slider-gallery").each(function(){ | |
$(this).slickLightbox(); | |
}); |
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
/*placeholder sass*/ | |
input::-webkit-input-placeholder | |
color: #c0392b | |
input::-moz-placeholder | |
color: #c0392b | |
input:-ms-input-placeholder | |
color: #c0392b |
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
<script> new WOW().init(); </script> |
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
//js | |
/*form validate*/ | |
$(function(){ | |
$('.form-feedback').validate({ | |
rules: { | |
name: { | |
required: true, | |
minlength: 2 | |
}, | |
phone: { |
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
//GOOGLE MAPS API | |
//js | |
if (document.getElementById('map-canvas')){ | |
var myLatlng = new google.maps.LatLng(49.5282699, 29.9455942); | |
var mapOptions = { | |
zoom: 15, | |
center: myLatlng | |
} |
NewerOlder