Pourquoi ne peut-on pas écrire ceci :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
<html>
<head>
<title>titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
 
<SCRIPT LANGUAGE="JavaScript">
function fonction1()
{
window.open("http://www.mapage1.com","_blank");
}
function fonction2()
{
window.open("http://www.mapage2.com","_blank");
}
</SCRIPT>
</head>
 
<body>
 
<table align="center">
<td onclick="fonction1();fonction2();" style="cursor:hand>
Cliquez-ici
</td>
</table>
 
</body>
</html>
Mon objectif :
Ouverture de deux pages en même temps sur un seul lien

Merci à vous