July, 2007
In this tutorial we will show you how to insert a JavaScript code which will not allow anyone to save your pictures over the internet in Adobe Dreamweaver CS3.
Remember that this only works with the Internet Explorer Browser.
Lets start a New Document
Now Insert an Image.
I chose this one:
Then modify your new page as you want.
Ok, so we dont want anyone to save this copyright Image.What should we do?
Easy, do the following:
First select the view "Code" at the Coding Panel:
Now that you can see your Document code, Insert the following script between the <body> and </body> tags.
<script language="JavaScript" type="text/JavaScript">
function click(){
if(event.button==2){
alert(' Here type your desire message');
}
}
document.onmousedown=click
//-->
</script>
Heres a pic of how the code will look like:

Now save the document, preview it, and try to save the image...you will not be able to do so:

Its easy and remember, it only works with Internet explorer...now no one can save your images =)
Download the original source files from this tutorial in Zip format Here
Copyright (c) 2007, Beatriz Mariniello, All Rights Reserved