Bonjour à tous,

J'ai des fonctions qui 'fonctionnent' assez bien : 2 pop-up et une fonction pour éviter le clic droit. Mais ensemble ça coince...

Là tout marche :

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
 
 
<SCRIPT LANGUAGE="JavaScript">
 
function navigation() {
fen = window.open("","charger", 'top=100, left=200, location=no, toolbar=no, width=550, height=530, menubar=no, scrollbars=yes'); 
if( self.focus ) {
fen.focus();
}
}
 
function navigationText() {
fen = window.open("","charger1", 'top=100, left=200, location=no, toolbar=no, width=550, height=150, menubar=no, scrollbars=yes'); 
if( self.focus ) {
fen.focus();
}
}
 
</SCRIPT>
et là RIEN ne marche !!!

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
30
31
32
 
 
<SCRIPT LANGUAGE="JavaScript">
 
function navigation() {
fen = window.open("","charger", 'top=100, left=200, location=no, toolbar=no, width=550, height=530, menubar=no, scrollbars=yes'); 
if( self.focus ) {
fen.focus();
}
}
 
function navigationText() {
fen = window.open("","charger1", 'top=100, left=200, location=no, toolbar=no, width=550, height=150, menubar=no, scrollbars=yes'); 
if( self.focus ) {
fen.focus();
}
}
 
function non() {
var msg="L'Énergie Radiesthésique au service de toutes et tous.";
IF (navigator.appName == "Netscape" && clic.which==3) {
alert(msg);
return false;
}
else
if (navigator.appName == "Microsoft Internet Explorer" && event.button==2) {
alert(msg);
return false;
}
return true;
}
document.onmousedown = non;
Je n'y comprends rien.

Si vous pouviez me donner la main...

Cordialement,