Bonjour,
A l'entré de mon site, la page index vérifie la résolution de l'écran, si cette résolution est inferieur à celle requise, apparait un message d’alerte, le script fonctionne bien, mais l'image "bannier.png" ne s'affiche pas sur l'écran, ca fait plusieurs heures que je cherche à faire apparaitre cette image sur l'écran, pas moyen, quelqu’un aurai une solution ?
Merci.
Voici le script
<html>
<head>
<title>index</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<p align="center">
<img border="0" src="images/bannier/bannier.png" width="599" height="141"></p>
<script language="javascript">
if (screen.width < 1280) alert("ATTENTION, ce site est optimisé pour un affichage 1280*1024, vous êtes actuellement en "+ screen.width+"*"+screen.height);
else
if (screen.height < 1024) alert("ATTENTION, ce site est optimisé pour un affichage 1280*1024, vous êtes actuellement en "+ screen.width+"*"+screen.height);
location="/pages/fr/index.htm";
</script>
</body>
</html>