This commit is contained in:
Colin_ 2020-01-26 15:31:51 -05:00
parent 03acce7724
commit 0e4ea35029
4 changed files with 22 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
themes/.DS_Store vendored Normal file

Binary file not shown.

BIN
themes/chocolate/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,22 @@
(function($) {
$('.skip-to-content').click(function (e){
skipTo();
e.preventDefault();
});
$(".skip-to-content").keyup(function (e){
if(e.which == '13'){
skipTo();
e.preventDefault();
}
});
})(jQuery);
function skipTo(){
$('main').attr("tabindex",0).focus();
$('html,body').animate({
scrollTop: ($('main').offset().top)
});
};