Utilisation de bonsoir.js pour dire Bonjour (Ou Bonsoir) dans la popup de mail
This commit is contained in:
parent
6b27365acd
commit
07dad0dca2
@ -4,9 +4,10 @@ $btnMail.removeAttr("disabled");
|
||||
|
||||
$btnMail.click(function (evt) {
|
||||
evt.preventDefault();
|
||||
var salutation = bonsoir.salutation();
|
||||
Swal.fire({
|
||||
title: 'Email',
|
||||
html: "Vous pouvez m'envoyer un mail à <strong><a href='mailto:anthony@dumas.cc'>anthony@dumas.cc</a></strong> !",
|
||||
html: salutation + "! Vous pouvez m'envoyer un mail à <strong><a href='mailto:anthony@dumas.cc'>anthony@dumas.cc</a></strong> !",
|
||||
imageUrl: './images/mail.jpg',
|
||||
imageWidth: 400,
|
||||
imageHeight: 200,
|
||||
|
@ -331,6 +331,7 @@
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="node_modules/bonsoir.js/bonsoir.js"></script>
|
||||
<script type="text/javascript" src="lib/main.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@8"></script>
|
||||
</body>
|
||||
|
@ -6,9 +6,10 @@ $btnMail.removeAttr("disabled");
|
||||
|
||||
$btnMail.click(function (evt) {
|
||||
evt.preventDefault();
|
||||
var salutation = bonsoir.salutation();
|
||||
Swal.fire({
|
||||
title: 'Email',
|
||||
html: "Vous pouvez m'envoyer un mail à <strong><a href='mailto:anthony@dumas.cc'>anthony@dumas.cc</a></strong> !",
|
||||
html: salutation + "! Vous pouvez m'envoyer un mail à <strong><a href='mailto:anthony@dumas.cc'>anthony@dumas.cc</a></strong> !",
|
||||
imageUrl: './images/mail.jpg',
|
||||
imageWidth: 400,
|
||||
imageHeight: 200,
|
||||
|
Loading…
x
Reference in New Issue
Block a user