Forum » » SFORM » » soumission de sform avec 2 actions
Posté : 18-03-2006 00:27 
function redirec_timeout($url, $time) {
echo "<script>\n";
echo "function redirect() {\n";
echo " window.location.replace(\"$url\");\n";
echo "}\n";
echo "setTimeout('redirect();', $time);\n";
echo "</script>\n";
}
redirec_timeout('test.php','20');
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=19547&forum=19