Forums

This topic is locked

disabling downloads/form handlers

Posted 28 Apr 2002 23:36:32
1
has voted
28 Apr 2002 23:36:32 Ira W posted:
I am very new to Dreamweaver and web sites, and have a few questions:
1) I have hand-drawn items I will be selling and showing on the web. I do not want people to right-click and download the pictures. How do I prevent that?

2) Apparently I need a "form handler" to get me back the input from the form I set up? How do I create that, or where do I get one from?

Thanks,
Ira

Replies

Replied 29 Apr 2002 09:23:19
29 Apr 2002 09:23:19 Viktor Farcic replied:
This JavaScript will disable right mouse button. Place it between <head> and </head> tags.
<SCRIPT LANGUAGE="JavaScript1.1">

<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("Copyright Notice";
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
// End -->
</script>

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I am very new to Dreamweaver and web sites, and have a few questions:
1) I have hand-drawn items I will be selling and showing on the web. I do not want people to right-click and download the pictures. How do I prevent that?

2) Apparently I need a "form handler" to get me back the input from the form I set up? How do I create that, or where do I get one from?

Thanks,
Ira


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Viktor Farcic

TalkZone Manager

Reply to this topic