|
| |
|
|
cantes903
Posts: 10 Joined: 10/5/2005 Status: offline
|
No Right Click with image - 2/11/2006 15:49:02
Hey! I want to know if it is possible, and if so how, to use the no right click option and put an emoticon in the message. So basically I want it to say something like: "Oops, sorry. No right click! " I'd appreciate input.
|
|
|
|
cantes903
Posts: 10 Joined: 10/5/2005 Status: offline
|
RE: No Right Click with image - 2/11/2006 16:11:45
Yes, I know it can be worked around however, I'm doing a site for a friend who wants it. I have scripts to do the basic "no right click" I want to add a graphic in the pop up message. I can't find a script with that in it. I've searched in here and I can find references to the basic scripts but not adding an image into the message.
|
|
|
|
d a v e
Posts: 4170 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: No Right Click with image - 2/11/2006 17:00:40
quote:
Yes, I know it can be worked around however, I'm doing a site for a friend who wants it. does that mean that it can't be worked around then if it's for a friend? ;) how about one that says "use print screen" "look in your browser cache" "use firefox" "use opera" "disable javascript" also what about users that use their right click for 'legitimate' uses? i think the trouble you're going to trying to find a script that does what you want is a waste of time, but hey it's your time! sorry if this seems a bit rude but you seem to be missing the point: putting images on the web means they can be taken easily and putting a message there saying they can't is both annoying and a waste of time. :)
_____________________________
David Prescott Gekko web design
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: No Right Click with image - 2/11/2006 17:04:50
quote:
putting images on the web means they can be taken easily ...sort of like newspapers and magazines saying "no scissors allowed!!!"
_____________________________
Dan
|
|
|
|
cantes903
Posts: 10 Joined: 10/5/2005 Status: offline
|
RE: No Right Click with image - 2/11/2006 17:07:26
What's with you people? Why bother having a forum to answer questions if you don't want to answer them? I don't care what you think of the no right click feature. I'm not missing the point that, yes, it can be worked around. I KNOW that, I've DONE that. Most anyone who works with graphics knows that. As for your sarcastic comment about "for a friend", it shouldn't matter to you all WHO wants to do this. As for myself if it were my site I wouldn't bother with it but since the person I'm making it for wants it then I'll do it. C'mon people, get over yourself and help for Gods sake! I'll take my question elsewhere to people who are REALLY there to help! Thanks for nothing. BTW, Dave YES you are being rude and you are the one missing the point.
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: No Right Click with image - 2/11/2006 17:11:59
quote:
to answer questions ..ok, to answer your question, the javascript to disable right click calls the alert method which, I believe, is text only and thus not able to display and image. If you are good at object-oriented programing, you might be able to create a new class that displays to a standard window, instantiate an instance of that class and utilize standard window functionality but im not sure.
_____________________________
Dan
|
|
|
|
cantes903
Posts: 10 Joined: 10/5/2005 Status: offline
|
RE: No Right Click with image - 2/11/2006 17:57:02
Thank you very much.
|
|
|
|
spitfire
Posts: 424 Joined: 8/6/2005 Status: offline
|
RE: No Right Click with image - 2/11/2006 18:24:05
cantes903 Did you take Spooky's advice and search the forum? Spooky probably helps more people and answers more questions than most forum moderators I know. I just did a quick search and found this thread on disabling right-click. The third post down offers a suggestion on how to treat an image to make it irritatingly, frustratingly, annoyingly difficult to copy. All you need to do is make your message and the smiley an image. But there are some excellent ideas later on.
|
|
|
|
cantes903
Posts: 10 Joined: 10/5/2005 Status: offline
|
RE: No Right Click with image - 2/11/2006 19:15:05
K thanks. I'll look around and see if I can find something like that.
|
|
|
|
coreybryant
Posts: 2480 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: No Right Click with image - 2/12/2006 12:13:34
Something like <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<script language=JavaScript>
<!--
function clickIE4(){
if (event.button==2){
window.open('http://www.google.com/images/firefox/google.gif', '', 'width=100,height=100,top=200,left=200');
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
window.open('http://www.google.com/images/firefox/google.gif', '', 'width=100,height=100,top=200,left=200');
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("window.open('http://www.google.com/images/firefox/google.gif', '', 'width=100,height=100,top=200,left=200')")
// -->
</script>
<body>
</body>
</html> could be a start.
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
coreybryant
Posts: 2480 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: No Right Click with image - 2/12/2006 12:21:03
Sorry this will stop the context menu as well <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<script language=JavaScript>
<!--
function clickIE4(){
if (event.button==2){
window.open('http://www.google.com/images/firefox/google.gif', '', 'width=100,height=100,top=200,left=200');
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
window.open('http://www.google.com/images/firefox/google.gif', '', 'width=100,height=100,top=200,left=200');
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("window.open('http://www.google.com/images/firefox/google.gif', '', 'width=100,height=100,top=200,left=200');return false")
// -->
</script>
<body>
</body>
</html>
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
cantes903
Posts: 10 Joined: 10/5/2005 Status: offline
|
RE: No Right Click with image - 2/12/2006 12:26:02
Cool! Thank you..that's the closest I've gotten to what I'm trying to do. I appeaciate all your suggestions!
|
|
|
|
coreybryant
Posts: 2480 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: No Right Click with image - 2/12/2006 12:44:19
Anytime - good luck with everything!
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|