Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 29th, 2005, 11:52 AM
victorsk victorsk is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 4 victorsk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 33 sec
Reputation Power: 0
How to disable right-click

Hello,

Does anybody know how to disable SVG's right-click menu and provide a custom SVG menu on right-click?

Thank you,
Victor.

Reply With Quote
  #2  
Old August 11th, 2005, 02:47 AM
san_j2ee san_j2ee is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 1 san_j2ee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 39 sec
Reputation Power: 0
right click menu in svg

yes Victor

just go thr' this url ... this will help you

http://pilat.free.fr/ifs_loc/ifs.svg?l=english

thanks

santosh

Reply With Quote
  #3  
Old July 29th, 2009, 03:55 AM
gkumar gkumar is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 13 gkumar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 26 m 52 sec
Reputation Power: 0
How to disable right-click

I use a "no right click script" that works for images only, so that if someone likes to use their mouse to navigate, it won't impede them. The script can be found at Dynamic Drive - look for "Disable right click script II (on images)- By Dynamicdrive.com". It needs to go at the bottom before the </body> tag, so stick it in the wrapper.footer (or at the bottom of each page you want to protect, up to you...)

I realize this isn't going to stop someone really determined, but it stops the casual right click and save people. I also disable Microsoft's Image Tool Bar (stupid thing, what WERE they thinking!!). AS WELL...you can add this little bit of code to your <body> tag:

ondragstart="return false" onselectstart="return false"
-- and images can't be dragged off the page in IE - but it doesn't stop Netscape users.

All that being said, the determined thief will either search his/her cache files for your images or take a screen print or whatever. I just try to give them lots of time to think about it while trying to remove an image from my site.

All artists have the right to say "NO, you can't take my images." You don't need a reason other than the image belongs to you.

And before I get too preachy on THAT subject.... :roll:

I'll sign off for now!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > How to disable right-click


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap