is there a way of disabling right clicking on some things but not others? :s
Printable View
is there a way of disabling right clicking on some things but not others? :s
Disabling right clicking is kind of pointless all round "/
i dont want noob rippers ripping
you can just click view >> soucre or File >> Save As
shhh your telling all the noobs ;)
Lol I suppose it stops all the freewebs users who just like to copy images into the site builder, the code is
<script LANGUAGE="JavaScript">
<!--
function click() {
if (event.button==2) {
alert('Habbox has disabled right-clicking.');
}
}
document.onmousedown=click
// -->
//-->
</script>
if your going to use one dont use the annoying javascrip popup ones, just deactiavete it.
just ad to the body tag so its
<body oncontextmenu="return false;">
That will disable it without the noobish js popups, athogh athogh still only cause annoyance and dosent stop anything IMO "/
ive actually already done that what mentor said i wanted to know how to allow right clicking on some images eg the links
Im not 100% if this will work, but try keeping that in the header, then attaching
oncontextmenu="return true;"
in to the images you want to be right clickable "/
i need that code thanks, all visitors steal me work :o :(