How to disable right click event on an iframe?? 
Author Message
 How to disable right click event on an iframe??
How to disable right click event on an iframe??

Kiran



Sun, 14 Mar 2004 12:23:14 GMT  
 How to disable right click event on an iframe??
want a drastic solution ? try:
window.document.oncontextmenu=false

regards
Joost Devos


Quote:
> How to disable right click event on an iframe??

> Kiran



Sun, 14 Mar 2004 15:47:23 GMT  
 How to disable right click event on an iframe??
To be more specific:
oncontextmenu likes a event handler function so try:

function...
{
window.document.oncontextmenu  = NoContextMenu

Quote:
}

function NoContectMenu()
{
return false

Quote:
}

this will do
Joost


Quote:
> want a drastic solution ? try:
> window.document.oncontextmenu=false

> regards
> Joost Devos



> > How to disable right click event on an iframe??

> > Kiran



Mon, 15 Mar 2004 04:47:15 GMT  
 How to disable right click event on an iframe??
Hi

In the IFrame
<body oncontextmenu="return false">

--

--
Best Regards
  Vidar Petursson
 ==============================
   Microsoft Internet, Client, SDK MVP
 ==============================
 http://www.icysoft.com
 http://www.dna.is



 ==============================
  No matter where you go there you are
 ==============================

Quote:

> How to disable right click event on an iframe??

> Kiran



Tue, 16 Mar 2004 19:40:33 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Iframe dynamic build, using own right click does not work please advise

2. disable mouse right-click

3. Disable right click

4. Disable Right Click--> IE4

5. disable shortcut in right click

6. Disable right click

7. Disabling the right-click menu on a WebBrowser component

8. Disable right click

9. how to disable right-click contextMenu - but enable for form elements

10. right and double click events on images

11. Mouse Right Click Event

12. Mouse Right Click Event

 

 
Powered by phpBB® Forum Software