|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help on developing web pages
Hi All,
I am a novice in developing web sites. According to the requirements I need to develop web pages wherein if i right click, the user must not be allowed to cut copy paste the content of the web page. Please advice me as to how to do this. Bye Regards Susheel |
|
#2
|
|||
|
|||
|
http://web-wise-wizard.com/javascript-tutorials/disable-right-click.html
|
|
#3
|
||||
|
||||
|
to be honest, i disagree with such practises. i mean, it might help to stop people stealing images, but then, they can always 'screen-grab' anyway.
the whole point of being able to access people's code is so that other's learn from it. i mean, that is how i am guessing you learnt most your html? it is certainly where i learnt a lot. i see it's a requirement, fair enough, but avoid using it in the real world. if everybody did, half the designers would never learn much ![]() |
|
#4
|
||||
|
||||
|
Such a script does nothing to guard you. Give me a link and I'll steal everything on the page and e-mail it to you
![]() |
|
#5
|
|||
|
|||
|
lol ya. Greedy
![]() |
|
#6
|
|||
|
|||
|
Not really helpful. With Internet Explorer you can still VIEW --> SOURCE to get the code. You can also disable text selection but seriously, it serves no purpose.
|
|
#7
|
||||
|
||||
|
http://www.dynamicdrive.com/dynamicindex9/encrypter.htm
Source Code Encrypter ![]() |
|
#8
|
|||
|
|||
|
Quote:
Still doesn't prevent people from getting what they want. It wouldn't be hard at all to write a simple script that puts it all back to standard HTML. If you put it online, there is no way to prevent people from stealing your source code or graphics. Kinda sucks, but it comes in extremely handy. As stated above, that is how some people learn to make web sites. When I see a cool design, I normally take a quick look behind the scenes to see how they did it. |
|
#9
|
|||
|
|||
|
Quote:
Yup, you learn a lot from other designers. Stealing images and putting them onto their own server + crediting wouldn't be wrong but hotlinking is annoying.. |
|
#10
|
|||
|
|||
|
Quote:
Actually, I would say it could be wrong depending on the designer. Most don't like their images taken and used. Remember, they are copyrighted. Simply crediting the source may not be enough. They still have full control over the use of their images. |
|
#11
|
|||
|
|||
|
hi
try this.. Code:
<script language=JavaScript>
<!--
//Disable right mouse click Script
//For full source code, visit http://www.dynamicdrive.com
var message="Function Disabled!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
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("alert(message);return false")
// -->
</script>
Good luk ! Last edited by edwinbrains : September 18th, 2004 at 01:31 AM. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Help on developing web pages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|