Hello there , I plan to add this javascript alert http://tristanedwards.me/sweetalert
into the xenforo , I open PAGE_CONTAINER and add the files after I uploading the sweetalert files into js folder
<script src="js/lib/sweet-alert.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/lib/sweet-alert.css">
then I try to add the alert code into footer
swal({
title: "Error!",
text: "Here's my error message!",
type: "error",
confirmButtonText: "Cool"
});
still nothing happen , I'm newbie : )
into the xenforo , I open PAGE_CONTAINER and add the files after I uploading the sweetalert files into js folder
<script src="js/lib/sweet-alert.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/lib/sweet-alert.css">
then I try to add the alert code into footer
swal({
title: "Error!",
text: "Here's my error message!",
type: "error",
confirmButtonText: "Cool"
});
still nothing happen , I'm newbie : )