Hi,
How can i disable "RightClick Menu" in Internet Explorer, when
access the frontpage ?
tks a lot !
Ken 8 2450
Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.co m> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l... 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.co m> ¼¶¼g©ó¶l¥ó·s»D: uh************* ***@TK2MSFTNGP1 0.phx.gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.co m> wrote in message news:%2******** **********@TK2M SFTNGP12.phx.gb l... 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.co m> wrote: Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re************ *@monarchmed.co m> ¼¶¼g©ó¶l¥ó·s»D: uh************* ***@TK2MSFTNGP1 0.phx.gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.co m> wrote in message news:%2******** **********@TK2M SFTNGP12.phx.gb l... 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.co m> wrote in message
news:OZ******** ********@TK2MSF TNGP09.phx.gbl. .. Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re************ *@monarchmed.co m>
¼¶¼g©ó¶l¥ó·s»D: uh************* ***@TK2MSFTNGP1 0.phx.gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.co m> wrote in message news:%2******** **********@TK2M SFTNGP12.phx.gb l... 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.co m> wrote in message
news:OZ******** ******@TK2MSFTN GP09.phx.gbl... Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re************ *@monarchmed.co m>
¼¶¼g©ó¶l¥ó·s»D: uh************* ***@TK2MSFTNGP1 0.phx.gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.co m> wrote in message news:%2******** **********@TK2M SFTNGP12.phx.gb l... 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******@takem pis.com> wrote in message
news:uI******** *****@TK2MSFTNG P10.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.co m> wrote in message news:OZ******** ******@TK2MSFTN GP09.phx.gbl... Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re************ *@monarchmed.co m> ¼¶¼g©ó¶l¥ó·s»D: uh************* ***@TK2MSFTNGP1 0.phx.gbl... Ken,
Setup your oncontextmenu event handler that will do nothing.
Eliyahu
"Ken Yu" <no**@none.co m> wrote in message news:%2******** **********@TK2M SFTNGP12.phx.gb l... > 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.co m> wrote in message
news:eK******** ******@TK2MSFTN GP09.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******@takem pis.com> wrote in message news:uI******** *****@TK2MSFTNG P10.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.co m> wrote in message news:OZ******** ******@TK2MSFTN GP09.phx.gbl... Eliyahu,
Sorry ! I want to disable "RightClick Menu" in WebForm ?
How can do that ?
tks a lot ! Ken
"Eliyahu Goldin" <re************ *@monarchmed.co m> ¼¶¼g©ó¶l¥ó·s»D: uh************* ***@TK2MSFTNGP1 0.phx.gbl... > Ken, > > Setup your oncontextmenu event handler that will do nothing. > > Eliyahu > > "Ken Yu" <no**@none.co m> wrote in message > news:%2******** **********@TK2M SFTNGP12.phx.gb l... >> 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="Javas cript">
function document.oncont extmenu() {
return false;
}
</script>
hope this helps!
"Kevin Spencer" <ks******@takem pis.com> wrote in message news:<Ok******* *******@TK2MSFT NGP09.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.co m> wrote in message news:eK******** ******@TK2MSFTN GP09.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******@takem pis.com> wrote in message news:uI******** *****@TK2MSFTNG P10.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.co m> wrote in message news:OZ******** ******@TK2MSFTN GP09.phx.gbl... > Eliyahu, > > Sorry ! I want to disable "RightClick Menu" in WebForm ? > > How can do that ? > > tks a lot ! > Ken > > > "Eliyahu Goldin" <re************ *@monarchmed.co m> ¼¶¼g©ó¶l¥ó·s»D: uh************* ***@TK2MSFTNGP1 0.phx.gbl... > > Ken, > > > > Setup your oncontextmenu event handler that will do nothing. > > > > Eliyahu > > > > "Ken Yu" <no**@none.co m> wrote in message > > news:%2******** **********@TK2M SFTNGP12.phx.gb l... > >> 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 where the pulldown menu
appears on top of the push button that causes an action when the field
content is changed. It is unnescessary and causes an...
|
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. This is properly done, but the events which should be triggered with the button.click method are not triggered in Word.
I don't understand because it...
|
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. This is properly done, but the events which should be triggered with the button.click method are not triggered in Word.
I don't understand because it...
|
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 has now
become completely greyed out on my machine. Any thoughts?
|
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 refractor
the page and put checking on both javascript and cs side but before I
did that I wanted to know if there were any other ideas on how to get...
| |
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 folders" check box ...
But from some days I am not able to get that "Folder Option" in the menu from the "Tool" menu. So I am not able to...
|
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 error in
IE.
Internet Explorer cannot open the Internet site...
http://www....
Operation aborted
|
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 "Classic Start Menu". Click Apply. Click OK
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
DWORD Value name Value...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |