473,659 Members | 2,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1592
You can disable the right-click operation that shows the save image item
through javascript. There are lots of these at javascript.inte rnet.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******** *************** ***********@mic rosoft.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.inte rnet.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******** *************** ***********@mic rosoft.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******** *************** ***********@mic rosoft.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.inte rnet.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******** *************** ***********@mic rosoft.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
2792
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 searched. This may take 20 seconds or so. I want the user to be able to quit the search and also I want the outputscreen to be updated immediately when a hit is found and not wait until the complete search is finished. The problem is that the...
3
2475
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 to skip; however, the Cancel command button does not function at all, nor does clicking the X-close. Clicking either one is the same as clicking the OK button. I have tried virtually everything, but to no avail. Since the module creates and...
6
2136
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 edit mode. The reason I want to do this is becasue when entering a new record the form is entered in data entry mode and I have lots of stuff happening upon entering and leaving fields. In edit mode I do not want the events to fire.
1
8337
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 but that's the gist of it.) I have everything set up, and it seems to work except that setting Cancel to true and returning from my c# method appears to do nothing. Word still closes. Am I doing something wrong? private void...
6
8565
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 your form Private Sub OtherInitialize( AddHandler Me.Closing, AddressOf Me.Form1_Cance End Sub 'OtherInitializ Protected Sub Form1_Cancel(sender As Object, e As CancelEventArgs If Not myDataIsSaved The
2
1575
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 Update or Cancel events seem to be firing and I am at a lost to explan why. My code is below, if any one can tell me what I am doing wrong then that would be excellent! using System; using System.Collections; using System.ComponentModel;
4
7821
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 change made in this form. Hopefully someone has a clue for me. thanks a lot!
0
1415
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 GridView_RowDeleting event. I need to get 2 values from the row I am trying to delete so I can perform another function returns whether I can delete the record or not. I am trying to do this in gridview event (see code below) but it is not working....
4
2873
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 applicable code: do { var f=prompt('Would you like the output to be displayed in this page (1) or as a pop-up (2)','1'); } while (f != "1" && f != "2" && f != ""); // Begin case statement to make the code do its stuff based on "f"
0
2804
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. What happened is if I select cancel on my confirmation button, it executes the griedview postback which i assigned in my code behind. Please see my codes below... Code beind: protected void gvDefectCatalog_RowDataBound(object sender,...
0
8330
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8850
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, 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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8746
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6178
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2749
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
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.