473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cancel Left-Click Options

Hi there,
I was wondering how to stop the user from being able to left-click on a
picture and being able to save it or anythings... there should be no options
of left-clicking a picture

how would i do that??
thanks
--
Ad****@hotmail.com
Nov 19 '05 #1
3 1577
You can disable the right-click operation that shows the save image item
through javascript. There are lots of these at javascript.internet.com and
www.dynamicdrive.com. If you're trying to bullet-proof safeguard your
images, this doesn't protect the image because it actually exists on their
computer in their temporary internet folders. Not to mention all they have
to do is tkae a screenshot of their browser than they can get the picture
right out of the clipboard.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"ACaunter" <Ad****@hotmail.com> wrote in message
news:15**********************************@microsof t.com...
Hi there,
I was wondering how to stop the user from being able to left-click on a
picture and being able to save it or anythings... there should be no
options
of left-clicking a picture

how would i do that??
thanks
--
Ad****@hotmail.com

Nov 19 '05 #2
It's ok if they take a screen-shot of the images... my only problem is that i
say that all images are j-pegs when some are bitmaps or whatever...
I just don't want them to be able to right-click and go to save as, and see
that it is really not jpeg..
i'll go look at the website you gave now to find some code..
thanks

"Mark Fitzpatrick" wrote:
You can disable the right-click operation that shows the save image item
through javascript. There are lots of these at javascript.internet.com and
www.dynamicdrive.com. If you're trying to bullet-proof safeguard your
images, this doesn't protect the image because it actually exists on their
computer in their temporary internet folders. Not to mention all they have
to do is tkae a screenshot of their browser than they can get the picture
right out of the clipboard.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"ACaunter" <Ad****@hotmail.com> wrote in message
news:15**********************************@microsof t.com...
Hi there,
I was wondering how to stop the user from being able to left-click on a
picture and being able to save it or anythings... there should be no
options
of left-clicking a picture

how would i do that??
thanks
--
Ad****@hotmail.com


Nov 19 '05 #3
You're wasting your time. The right-click context menu is only one of dozens
of ways to save images and/or find out information about them. Not only
that, but disabling right-click marks your web site as having been developed
by an amateur, effectively driving people AWAY from your site.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ACaunter" <Ad****@hotmail.com> wrote in message
news:7B**********************************@microsof t.com...
It's ok if they take a screen-shot of the images... my only problem is
that i
say that all images are j-pegs when some are bitmaps or whatever...
I just don't want them to be able to right-click and go to save as, and
see
that it is really not jpeg..
i'll go look at the website you gave now to find some code..
thanks

"Mark Fitzpatrick" wrote:
You can disable the right-click operation that shows the save image item
through javascript. There are lots of these at javascript.internet.com
and
www.dynamicdrive.com. If you're trying to bullet-proof safeguard your
images, this doesn't protect the image because it actually exists on
their
computer in their temporary internet folders. Not to mention all they
have
to do is tkae a screenshot of their browser than they can get the picture
right out of the clipboard.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"ACaunter" <Ad****@hotmail.com> wrote in message
news:15**********************************@microsof t.com...
> Hi there,
> I was wondering how to stop the user from being able to left-click on a
> picture and being able to save it or anythings... there should be no
> options
> of left-clicking a picture
>
> how would i do that??
> thanks
> --
> Ad****@hotmail.com


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alexander van Meerten | last post by:
Hello, I have to make an application that works on pc and apple mac. Therefore I am investigating if it's possible to use html/javascript. The database has 10000 records and is sequentially...
3
by: Dalan | last post by:
I have been using a module for printing labels in Access 97, and although it works fine, I would like to resolve a minor problem. The module allows for setting the number of labels to print and/or...
6
by: allyn44 | last post by:
HI--what I am trying to do is 2 things: 1. Open a form in either data entry mode or edit mode depending on what task the user is performing 2. Cancel events tied to fields on the form if I am in...
1
by: AP | last post by:
Hi, I'm trying to use c# to pop up a dialog box when a user attempts to close word to prompt them if they want to exit or cancel (obviously other stuff needs to happen based on their selection...
6
by: Carl | last post by:
Hi you al I am new to this stuff and I found this code to close a form in the help files and I do not understand it or where its goe ' Calls this method from the InitializeComponent() method of...
2
by: andrew.roberts | last post by:
This is my second post now on this subject has I seem to be getting no where and the problem is really starting to bug me now. I can get a datagrid into an editable state but then neither the...
4
by: martin | last post by:
Hello, Is there a way to make a kind of "cancel" button on a form? Suppose you accidently changed or overwrote some data in a form, then I'd like to leave this form at once and cancel any...
0
by: David C | last post by:
I have a GridView with a Delete link and wondered where the best place was to check and cancel delete of a row/record that is bound to an SqlDatasource. I can use datasource Deleting event or...
4
by: navyjax2 | last post by:
My question is closely related to http://www.thescripts.com/forum/thread444945.html and was not answered there, so I figured I'd revive it since I think I have the same issue. Here is my...
0
by: Eraser | last post by:
Hi to all .NET guru guys... I have a problem in my delete button inside gridview. How to avoid postback on when i select cancel on confirmation message? But postback is okay on Ok confirmation....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
isladogs
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.