 |
| HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

December 25th, 2004, 08:01 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How to disable Right-click to Save Picture As....
Hello
I wanted how I can disable the Right-click to Save Picture As with images. Don't know if this is a Javascipt, css, or html question.
|
|

December 25th, 2004, 08:11 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
You can't stop people from saving your images. That said, what you think of is JavaScript. It doesn't work and it's highly annoying. Maybe you yourself sometimes use the context menu for something else than to steal other people's work? :D
|
|

December 27th, 2004, 06:40 AM
|
|
Friend of Wrox
|
|
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
however, least! u can disable MSIE 'pop-up' for image->save as
<meta http-equiv="imagetoolbar" content="no">
( u may create members area, let them login or pay for ur images )
sometimes, i've seen i can't save a web page ( though images can be saved )
X "This Web page colud not be saved"
HTTP is a stateless protocol, i think, this is a error in local pc.
|
|

December 27th, 2004, 03:53 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
There is no way to prevent people from saving any image that you display. Even if you were to disable the context menu and the image toolbar, you can just disable JavaScript or even crop a screen capture.
-Snib - http://www.snibworks.com
Where will you be in 100 years?
|
|

January 6th, 2005, 10:26 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Dear Snib,
What you said is not possible is possible.
Check out http://www.mitsucars.com/eclipse/index.html
JS files work but when I tried to take . js file and .gif files I get error message.
How do you think they did this???
|
|

January 7th, 2005, 04:35 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Which image? Trying to save the main car photo worked as expected.
--
Joe ( Microsoft MVP - XML)
|
|

January 7th, 2005, 11:03 PM
|
|
Friend of Wrox
|
|
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|

January 9th, 2005, 01:45 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello richard.york,
What do you mean by going directly to the browser cache? How do you do this??
|
|
 |