My hosting service is HostMonster, and they gave me this
script :
quote:
<h1>And here is the 'no right clicks'
script.</h1>
<p>You can stop right clicks with a script (copy and
paste it from this page if you want to) in the HEAD section of your
page.</p>
<p><font color="#cc0000">
<script type="text/javascript"><BR><BR>
var msg="mouse right click disabled.nn(or any message you
want)";<BR><BR>
function click(e) {<BR>
if (document.all) {<BR>
if (event.button == 2) {<BR>
alert(msg);<BR>
return false;<BR>
}<BR>
}<BR><BR>
if (document.layers) {<BR>
if (e.which == 3) {<BR>
alert(msg);<BR>
return false;<BR>
}<BR>
}<BR>
}<BR><BR>
if (document.layers) {<BR>
document.captureEvents(Event.MOUSEDOWN);<BR>
}<BR>
document.onmousedown=click;<BR><BR>
</script><BR></font></p>
they did not tell me what I am supposed to change to make it
my own, can u tell me?>>
they did not tell me what I am supposed to change to make it
my own, can u tell me?
>>
if you really insist on this despite all our less-than-subtle
"don´t count on this" hints, copy the attached script in
between your document´s <head>...</head> section,
means:
<head>
other stuff here...
copy attached script here
</head>