| Tannhäuzer | samedi 03 mars 2001 - 15h23 Je souhaiterai mettre dans un fichier indépendant en ext js, un script, puis le taguer dans maz feuille html. Par exemple : <script> function right(e) { if (document.layers && (e.which==3 || e.which==2)) { window.status="NO RIGHT CLICK ALLOWED!" return false; } else if (document.all && (event.button==2 || event.button==3)) { window.status="NO RIGHT CLICK ALLOWED!" openclosewindow() return false; } } function openclosewindow() { var windownews=window.open("", "", "status=no,location=no,toolbar=no,menubar=no,resizable=no,scrollbars=no,width=50,height=50,top=20000,left=200"); windownews.close() } if (document.all) { document.onmouseup=right; window.onmouseup=right; } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); document.onmousedown=right; } </script> Comment le faire reconnaitre par ma page une fois dans son fichier. Houlà ! je sais pas si je suis très clair là. Merci de votre aide (si vous arriver à me suivre) @++ - tann |