4h-record-books/script/site.js

23 lines
421 B
JavaScript
Raw Normal View History

2017-08-07 02:11:38 +00:00
// JavaScript Document
// From https://css-tricks.com/text-blocks-over-image/
$(function() {
'use strict';
$("h4")
.wrapInner("<span>");
$("h4 br")
.before("<span class='spacer'>")
.after("<span class='spacer'>");
2018-01-06 19:03:02 +00:00
});
function visibleLink(linkId) {
'use strict';
$('.'+linkId).css({'display': 'inline-block'});
}
function invisibleLink(linkId) {
'use strict';
$('.'+linkId).css({'display': 'none'});
}