First front-end prototype

This commit is contained in:
2021-01-09 01:11:40 +01:00
parent c748f35786
commit 6b3f0df78a
24 changed files with 899 additions and 0 deletions

11
scripts/mail.js Normal file
View File

@ -0,0 +1,11 @@
jQuery(document).ready(function($) {
// a n t i s p a m (hopefully)
$('a.mail').on('click', function() {
var href = $(this).attr('href');
var a1 = "adres" ; var a2 = "se em"; var a3 = "ail";
var goodMail = a1 + a2 + a3;
$(this).attr('href', href.replace('badmail', goodMail));
$(this).html(goodMail);
});
});