Otuatail wrote:
> Can anyone tell me what code I use so that when someone right clicks
> on a web page youi get the Whats this message instead of a popup
> window for view source or save image.
It's a waste of time - anyone who has the ability to use copied source has
the ability to get round the no-right-click script. If it's JavaScript code
that you're after, all anyone has to do is switch off js.
By the time a browser is displaying the page, the source is in the cache of
the visitor's computer and, once it's there, it's always going to be a
simple task to look at it - and the same with images.
Your site may be the exception to the rule but, in my experience, the more
someone tries to hide their code, the less it is worth stealing. The major
sites - which have cost hundreds of thousands to develop - don't use
no-right-click scripts and they have a far greater investment to protect.
If you really must have a script, there are 2,000,000+ pages referenced at:
http://www.google.com/search?q=right+click+script
Or you could let others explain the problem more eloquently than I by having
a look at:
http://www.allmyfaqs.com/faq.pl?Hide_source
--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.