Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable rightclick of Web Browser Control
Message
De
20/12/2001 15:07:45
 
 
À
20/12/2001 12:18:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00595476
Message ID:
00596965
Vues:
44
This message has been marked as the solution to the initial question of the thread.
>>>>Look at appendChild, insertAdjacentElement, insertAdjacentHTML, innerHTML methods on MSDN for ways to insert the script into the loaded HTML page. If all else fails you can always write the original file as a local file, modify it there and reload it with the changes.
>
>Ok. No problem with insert strings into my loaded HTML... the big problem is that I didn´t find a JavaScript that does the job correctly... every script I found just shows an alert window, and if I rip off the allert, the code doesn´t work...

If changing the HTML is no problem then change the body tag to include the following: (remove the extra space)
< BODY oncontextmenu="return false" >
I don't know if this works in Netscrape, it works in IE.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform