PDA

View Full Version : Right Clicking?!?!?



мϊкэ
12-07-2005, 04:54 PM
is there a way of disabling right clicking on some things but not others? :s

Mentor
12-07-2005, 06:54 PM
Disabling right clicking is kind of pointless all round "/

мϊкэ
12-07-2005, 07:03 PM
i dont want noob rippers ripping

JoeComins
12-07-2005, 07:05 PM
you can just click view >> soucre or File >> Save As

мϊкэ
12-07-2005, 07:13 PM
shhh your telling all the noobs ;)

splintercell!
12-07-2005, 07:16 PM
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>

Mentor
12-07-2005, 07:50 PM
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 "/

мϊкэ
12-07-2005, 08:01 PM
ive actually already done that what mentor said i wanted to know how to allow right clicking on some images eg the links

Mentor
12-07-2005, 08:33 PM
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 "/

x!-=cherry=-!x
15-07-2005, 07:06 PM
i need that code thanks, all visitors steal me work :o :(

Mentor
15-07-2005, 08:25 PM
The code wont stop anyone you know "/

splintercell!
15-07-2005, 09:12 PM
its stop real noob's who only know how to right click and copy but that isnt many. Also I only used that js one because it was the one sierk put up ages ago.

Mentor
15-07-2005, 09:20 PM
actaly most real noobs, just hold the mouse over the image till the copy icon comes up "/

Dan Williamson
15-07-2005, 10:30 PM
If Your Sick Of Rippers Create Your Own Icon Say A H Or A Letter For Your Name And Put It At Corner Of Image And It's Copyright So Sue Them.

Mentor
15-07-2005, 11:03 PM
Most people dont enjoy paying 1000's and 1000's in caugt fee's for no real reason "/

-JT-
15-07-2005, 11:21 PM
very true

Want to hide these adverts? Register an account for free!