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
$('.back-to-top').on('click', function (e) { | |
e.preventDefault(); | |
$('html,body').animate({ | |
scrollTop: 0 | |
}, 700); | |
}); |
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 lang="nl-NL" id="top"> | |
<div class="back-to-top"> | |
<a href="#top" class="btn-top"><i class="fa fa-angle-up"></i></a> | |
</div> | |
</html> |
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
HTML5 Semantic: | |
Download extention google chrome: HTML5 outliner | |
Tutorial: | |
https://webdesign.tutsplus.com/courses/semantic-html-how-to-structure-web-pages?ec_promo=learning_roundup | |
------------------------------------------------------------------------------------------------------------- | |
Solid HTML form structure: | |
Tutorial: | |
https://webdesign.tutsplus.com/courses/solid-html-form-structure |
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
$(".item-list .item").each( function (index) { | |
index += 1; | |
// als er 4 items zijn voeg html toe. | |
if(index % 4 === 0) { | |
$(this).after('<div class="col-xs-12 line line-3"></div>'); | |
} | |
// als er 3 items zijn voeg html toe. | |
if(index % 3 === 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
<div class="carousel-inner" role="listbox"> | |
<div class="item" style="background-image: url("images/slider1.jpg");"> | |
</div> | |
<div class="item" style="background-image: url("images/slider2.jpg");"> | |
</div> | |
<div class="item" style="background-image: url("images/slider3.jpg");"> | |
</div> | |
</div> |
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="click-box"> | |
<div class="btn btn-default">click me</div> | |
<div class="click-content"> | |
click content | |
</div> | |
</div> |
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
/* Scroll button: */ | |
<div class="arrow-icon scroll" data-rel="#arrow-scroll-to"> | |
</div> | |
/* Scroll to: */ | |
<div id="arrow-scroll-to"> | |
</div> |
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
$('article').readmore({ | |
speed: 300, | |
collapsedHeight: 100, | |
lessLink: '<a href="#">Lees minder</a>', | |
moreLink: '<a href="#">Lees meer</a>' | |
}); |
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
$(document ).ready(function() { | |
var result = $(".row-about-us .left").height(); | |
$(".row-about-us .right").css("height", result); | |
}); |