Français
<!-- http://bbs.downcodes.com--> <!--Il y a deux étapes nécessaires pour obtenir cet effet La première étape consiste à mettre le code suivant dans la zone <head>--> <SCRIPT. LANGUAGE="JavaScript" > <!-- Début de la fonction checkImage(loc) { loc = "image-popup.html + loc; windowprops = 'menubar=0,toolbar=0,status=0,location=0'; popupWindow = open(loc , 'previewWin', windowprops); if (popupWindow.opener == null) popupWindow.opener = self; } // Fin --> </script> <!--Étape 2 : Mettez le code suivant into <body> Dans la zone--> <div align="center"> <form name=dimform> Veuillez saisir le chemin de l'image que vous souhaitez afficher :<br> <input type=text name=url size=40 value="http:// "> <input type=button value="OK" onClick="checkImage(this.form.url.value);"> <p> Résultat de la détection :<p> Largeur= <input type= nom du texte=largeur><br > hauteur= <input type=nom du texte=hauteur> </form> </div>