<html>
<head>
<title>loading please wait</title>
</head>
<body>
<div id="loading_div" style="display:none; width: 500px; margin:auto; margin-top: 50px; text-align: center">Veuiller patientez pendant l'execution du script <br /><br /><img src="ajax-loader.gif" /></div>
<script type="text/javascript" src="jquery-1.8.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.ajax({
url: 'newpage.php',
type: "POST",
beforeSend: function(){
$("#loading_div").show();
},
success: function(retour){
$('#loading_div').html(retour);
}
});
});
</script>
</body>
</html>
source: https://forum.alsacreations.com/profile-40255-Apoooo.html
ajax php
<iframe width="100%" height="650" src="https://snippet.echosystem.fr?embed=5fc78800af765" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 02/12/2020