mirror of
https://github.com/MillironX/4h-record-books.git
synced 2024-11-01 07:03:09 +00:00
23 lines
No EOL
421 B
JavaScript
23 lines
No EOL
421 B
JavaScript
// 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'>");
|
|
});
|
|
|
|
function visibleLink(linkId) {
|
|
'use strict';
|
|
$('.'+linkId).css({'display': 'inline-block'});
|
|
}
|
|
|
|
function invisibleLink(linkId) {
|
|
'use strict';
|
|
$('.'+linkId).css({'display': 'none'});
|
|
} |