There is a bootstrap template and in this template it is possible to use pop-up notifications, as well as instructions for use, but unfortunately I don’t understand how to run this notification using php, i.e. exactly at the moment when you need it.
Here is the instruction that is written in the template:
Command: toastr["success"]("Действие успешно", "Выполнено!") toastr.options = { "closeButton": false, "debug": false, "newestOnTop": false, "progressBar": false, "positionClass": "toast-top-right", "preventDuplicates": false, "onclick": null, "showDuration": "300", "hideDuration": "1000", "timeOut": "5000", "extendedTimeOut": "1000", "showEasing": "swing", "hideEasing": "linear", "showMethod": "fadeIn", "hideMethod": "fadeOut" } How can I run this notification in a similar example:
if(TRUE){ print "Всплывающее уведомление"; }