Hi,
How can i disable "RightClick Menu" in Internet Explorer, when
access the frontpage ?
tks a lot !
Ken 8 2439
Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl... Hi,
How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ?
tks a lot ! Ken
Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot !
Ken
"Eliyahu Goldin" <re*************@monarchmed.com> ¼¶¼g©ó¶l¥ó·s»D:uh****************@TK2MSFTNGP10.phx .gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.com> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Hi,
How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ?
tks a lot ! Ken
isn't that a javascript thing?
On Mon, 1 Nov 2004 16:39:07 +0800, "Ken Yu" <no**@none.com> wrote: Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re*************@monarchmed.com> ¼¶¼g©ó¶l¥ó·s»D:uh****************@TK2MSFTNGP10.phx .gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.com> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Hi,
How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ?
tks a lot ! Ken
Ken,
When you right-click an html element, browser triggers oncontextmenu event.
The menu you see now is generated by the default event handler. You want to
disable the default behavior. To do this, you can write your own javascript
event handler for oncontextmenu event that will just do nothing. So nothing
will happen when you right-click.
Eliyahu
"Ken Yu" <no**@none.com> wrote in message
news:OZ****************@TK2MSFTNGP09.phx.gbl... Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re*************@monarchmed.com>
¼¶¼g©ó¶l¥ó·s»D:uh****************@TK2MSFTNGP10.phx .gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.com> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Hi,
How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ?
tks a lot ! Ken
Chances are, you don't want to disable right-click. You only think you do.
What do you think yuou will accomplish with this? For example, some newbie
web developers think that they can prevent people from copying images with
such a trick. However, this is not possible. Generally speaking, disabling
browser functionality is a bad idea, and is usually a kluge that substitutes
for good design.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Ken Yu" <no**@none.com> wrote in message
news:OZ**************@TK2MSFTNGP09.phx.gbl... Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re*************@monarchmed.com>
¼¶¼g©ó¶l¥ó·s»D:uh****************@TK2MSFTNGP10.phx .gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.com> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Hi,
How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ?
tks a lot ! Ken
I agree to the point that disabling browser functionality is a bad idea, but
you don't have to disable the standard menu whatsoever.
I am using rightclick a lot for standard windows form-like popup menu
functionality. In a standard screen, where you have a datagrid for selecting
rows, it is quite naturally to be able to rightclick a row and choose an
action from the popup. You still can get the browser's standard menu when
you click on other areas of the window.
Eliyahu
"Kevin Spencer" <ks******@takempis.com> wrote in message
news:uI*************@TK2MSFTNGP10.phx.gbl... Chances are, you don't want to disable right-click. You only think you do. What do you think yuou will accomplish with this? For example, some newbie web developers think that they can prevent people from copying images with such a trick. However, this is not possible. Generally speaking, and is
usually a kluge that substitutes for good design.
-- HTH, Kevin Spencer .Net Developer Microsoft MVP I get paid good money to solve puzzles for a living
"Ken Yu" <no**@none.com> wrote in message news:OZ**************@TK2MSFTNGP09.phx.gbl... Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re*************@monarchmed.com> ¼¶¼g©ó¶l¥ó·s»D:uh****************@TK2MSFTNGP10.phx .gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.com> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... > Hi, > > How can i disable "RightClick Menu" in Internet Explorer,
when> access the frontpage ? > > tks a lot ! > Ken > >
Hi Eliyahu,
Now, THERE's an example of good design!
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl... I agree to the point that disabling browser functionality is a bad idea,
but you don't have to disable the standard menu whatsoever.
I am using rightclick a lot for standard windows form-like popup menu functionality. In a standard screen, where you have a datagrid for
selecting rows, it is quite naturally to be able to rightclick a row and choose an action from the popup. You still can get the browser's standard menu when you click on other areas of the window.
Eliyahu
"Kevin Spencer" <ks******@takempis.com> wrote in message news:uI*************@TK2MSFTNGP10.phx.gbl... Chances are, you don't want to disable right-click. You only think you
do. What do you think yuou will accomplish with this? For example, some
newbie web developers think that they can prevent people from copying images
with such a trick. However, this is not possible. Generally speaking, and is usually a kluge that substitutes for good design.
-- HTH, Kevin Spencer .Net Developer Microsoft MVP I get paid good money to solve puzzles for a living
"Ken Yu" <no**@none.com> wrote in message news:OZ**************@TK2MSFTNGP09.phx.gbl... Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re*************@monarchmed.com> ¼¶¼g©ó¶l¥ó·s»D:uh****************@TK2MSFTNGP10.phx .gbl... > Ken, > > Setup your oncontextmenu event handler that will do nothing. > > Eliyahu > > "Ken Yu" <no**@none.com> wrote in message > news:%2******************@TK2MSFTNGP12.phx.gbl... >> Hi, >> >> How can i disable "RightClick Menu" in Internet Explorer, when >> access the frontpage ? >> >> tks a lot ! >> Ken >> >> > >
just handle the oncontextmenu event of the document object, and return false.
Example:
<script language="Javascript">
function document.oncontextmenu() {
return false;
}
</script>
hope this helps!
"Kevin Spencer" <ks******@takempis.com> wrote in message news:<Ok**************@TK2MSFTNGP09.phx.gbl>... Hi Eliyahu,
Now, THERE's an example of good design!
-- HTH, Kevin Spencer .Net Developer Microsoft MVP I get paid good money to solve puzzles for a living
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:eK**************@TK2MSFTNGP09.phx.gbl... I agree to the point that disabling browser functionality is a bad idea, but you don't have to disable the standard menu whatsoever.
I am using rightclick a lot for standard windows form-like popup menu functionality. In a standard screen, where you have a datagrid for selecting rows, it is quite naturally to be able to rightclick a row and choose an action from the popup. You still can get the browser's standard menu when you click on other areas of the window.
Eliyahu
"Kevin Spencer" <ks******@takempis.com> wrote in message news:uI*************@TK2MSFTNGP10.phx.gbl... Chances are, you don't want to disable right-click. You only think you do. What do you think yuou will accomplish with this? For example, some newbie web developers think that they can prevent people from copying images with such a trick. However, this is not possible. Generally speaking, and is usually a kluge that substitutes for good design.
-- HTH, Kevin Spencer .Net Developer Microsoft MVP I get paid good money to solve puzzles for a living
"Ken Yu" <no**@none.com> wrote in message news:OZ**************@TK2MSFTNGP09.phx.gbl... > Eliyahu, > > Sorry ! I want to disable "RightClick Menu" in WebForm ? > > How can do that ? > > tks a lot ! > Ken > > > "Eliyahu Goldin" <re*************@monarchmed.com> ¼¶¼g©ó¶l¥ó·s»D:uh****************@TK2MSFTNGP10.phx .gbl... > > Ken, > > > > Setup your oncontextmenu event handler that will do nothing. > > > > Eliyahu > > > > "Ken Yu" <no**@none.com> wrote in message > > news:%2******************@TK2MSFTNGP12.phx.gbl... > >> Hi, > >> > >> How can i disable "RightClick Menu" in Internet Explorer, when > >> access the frontpage ? > >> > >> tks a lot ! > >> Ken > >> > >> > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Simon Wigzell |
last post by:
Is it possible within javascript to stop the little pulldown menu (with the
values that the browser remembers have previously been entered into the
field) from appearing? I have one very dense form...
|
by: maitrepoy |
last post by:
Hello
I have to create a small addin which works on Powerpoint, Word, Outlook, and Excel on Office 2000, XP, and 2003.
This addin consists in adding 2 new Buttons in the "File" Menu of office....
|
by: maitrepoy |
last post by:
hello
I have to create a small addin which works on Powerpoint, Word, Outlook, and Excel on Office 2000, XP, and 2003.
This addin consists in adding 2 new Buttons in the "File" Menu of office....
|
by: xlar54 |
last post by:
Can someone tell me why this menu would be disabled? In the solution
explorer, right click on a project, then "Add". A submenu usually
appears allowing you to add a new item, etc, but this menu...
|
by: jerunyon |
last post by:
Recently I noticed that if you "right click" and "open link" on my
site, you bypass the javascript code that fires "onclick". I have
several pages that fall victim to this, and I could probably...
| |
by: Firoz72000 |
last post by:
Hi All,
I am using WindowsXP operating system. I was able to hide the files and to see them : I was going to the "Tool" menu then "Folder Option" and then "View" tab and "show the hidden files and...
|
by: rmgalante |
last post by:
I was wondering if anyone knows whether MS has a fix for the Menu
Control. If the page is loading while you mouse over a menu control
with child menus that pop out, you can generate the following...
|
by: =?Utf-8?B?cmZsYXphcm8=?= |
last post by:
Hi All,
We are trying to build an automation utility to configure OS. I found a way
to automate the process below via registry:
Control Panel -Taskbar and Start Menu ->Start Menu Tab
--Select...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |