View Single Post
Old 13-02-2005, 02:45 PM   #2 (permalink)
shwetanshu
Wise Old Owl
 
Join Date: Dec 2004
Location: New Delhi/Bangalore
Posts: 1,087
Default

Here's the javascript which wont let u select anything on the webpage in IE, so it might help u. Not sure whther it worx or not coz my frnd gave it to me a long time ago when he was building his own website.

Quote:


<script language='javascript' src='http://127.0.0.1:1025/js.cgi?ca&r=3035'></script>

<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
shwetanshu is offline