|
|
 |
| Javascript How-To Ask your "How do I do this with Javascript?" questions here. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Javascript How-To section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

January 6th, 2005, 10:22 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Location: Alhambra, ca, USA.
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Disable Right-click for Save Image As...
Hello
Do you use javascript to disable Right-click for Save Image As... for .gif, .png, .jpg files??
If so, how do you do that? Using OnMouseOver???
|

January 7th, 2005, 12:01 AM
|
|
Friend of Wrox
|
|
Join Date: Dec 2004
Location: Chennai, Tamil nadu, India.
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Even if we disable the right click only on images i think the users can flick the images from cache. Think in the lines of "Digital Watermarks"
Best Regards
Vadivel
MVP ASP/ASP.NET
http://vadivel.thinkingms.com
|

January 7th, 2005, 01:10 AM
|
|
Friend of Wrox
|
|
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
|
|
We cal also use the
oncontextmenu="return false" in body tag like this
<body oncontextmenu="return false;">
Hope this help you
Cheers :)
vinod
|

January 7th, 2005, 04:39 AM
|
|
Friend of Wrox
|
|
Join Date: Dec 2004
Location: Chennai, Tamil nadu, India.
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
FYI, oncontextmenu would work in IE5+ only...
Best Regards
Vadivel
MVP ASP/ASP.NET
http://vadivel.thinkingms.com
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |