right click menu |
Author: |
Message: |
DJKAL
Senior Member
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. right click menu
is there anyway i can block the right click menu on my website/ msn space/ etc...?
"You don't sleep, you defragment!"
|
|
11-12-2005 08:17 PM |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
Joined: Jul 2003
|
RE: right click menu
in the <body> tag, add code: oncontextmenu="return false"
Can't remember which browsers it works in as I don't use it anymore, although FireFox/Mozilla can overide disabling menus.
And I don't think you can modify the body tag on your MSN Space.
|
|
11-12-2005 08:24 PM |
|
|
DJKAL
Senior Member
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: right click menu
quote: Originally posted by Dempsey
in the <body> tag, add code: oncontextmenu="return false"
Can't remember which browsers it works in as I don't use it anymore, although FireFox/Mozilla can overide disabling menus.
And I don't think you can modify the body tag on your MSN Space.
sorry - i dont understnd where to type this - but thanks for helping
"You don't sleep, you defragment!"
|
|
11-12-2005 08:25 PM |
|
|
hmaster
Senior Member
Posts: 716 Reputation: 24
33 / /
Joined: Nov 2004
|
RE: right click menu
he means
code: <body oncontextmenu="return false">
|
|
11-12-2005 08:27 PM |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
Joined: Jul 2003
|
RE: right click menu
quote: Originally posted by Dempsey
in the <body> tag, add
code: oncontextmenu="return false"
like this:
code: <body oncontextmenu="return false">
|
|
11-12-2005 08:28 PM |
|
|
DJKAL
Senior Member
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: right click menu
where do i type it ? - and do i include the < and >?
"You don't sleep, you defragment!"
|
|
11-12-2005 08:29 PM |
|
|
ddunk
Veteran Member
Posts: 1228 Reputation: 51
35 / /
Joined: Mar 2004
|
RE: right click menu
<html>
<head>
</head>
<body oncontextmenu="return false">
</body>
</html>
While I'm here, you know that everything in the right click menu can be worked around by viewing the source, right?
This post was edited on 11-12-2005 at 08:34 PM by ddunk.
|
|
11-12-2005 08:31 PM |
|
|
DJKAL
Senior Member
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: right click menu
quote: Originally posted by Ddunk
<html>
<head>
</head>
<body oncontextmenu="return false">
</body>
</html>
i dont understand - where do i type in things? - and people have goven codes which 1?
"You don't sleep, you defragment!"
|
|
11-12-2005 08:33 PM |
|
|
ddunk
Veteran Member
Posts: 1228 Reputation: 51
35 / /
Joined: Mar 2004
|
RE: right click menu
Open your index.html/whatever page document. Somewhere near the top there should be something that says "<body>". Replace that with "<body oncontextmenu="return false">". Save and upload.
This post was edited on 11-12-2005 at 08:41 PM by ddunk.
|
|
11-12-2005 08:40 PM |
|
|
DJKAL
Senior Member
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: right click menu
cant find <body>
"You don't sleep, you defragment!"
|
|
11-12-2005 08:43 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|