Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006

Prevent the "separate" and the entire election code of the mouse?

I remember there was a very short and to prevent separate code, which his party. . .

The document does not exist in the first month plus Iframe, this is a separate defense
The election was to prevent the entire downstairs, on the "body> Lane

Onselectstart= "return false" oncontextmenu= "return false"

Ah well spent. . . . . . . . . . . . . . .
Details can even point.
Thank you, I know nothing about the code

[code]
"Body onselectstart=" return false "oncontextmenu=" return false, ""
"/body>
[/code]

"Script language=" JavaScript ""
EnableCtxt function () (if (null event>) event.cancelBubble=false; return true;}document.onmousedown=enableCtxt; document.oncontextmenu=enableCtxt;document.onmouseup=enableCtxt;document.onselectstart=enableCtxt; var frs=document.frames;if (frs> null) (for (i i=0; "frs.length; i++) (frs[i].document.onmousedown=enableCtxt; frs[i].document.oncontextmenu=enableCtxt; frs[i].document.onmouseup=enableCtxt; frs[i].document.onselectstart=enableCtxt; }}
"/script>

But the entire election code to prevent IE only, ah firefox does not support, in fact if people want to pursue things from the website, it is certainly achievable, I think this little meaning.




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com