<STYLE>
Body {
Scrollbar-face-color: #E8F5FE;
Scrollbar-highlight-color: #AAC7E9;
Scrollbar-shadow-color: #fcfcfc;
Scrollbar-3dlight-color: #fcfcfc;
Scrollbar-arrow-color: #240024;
Scrollbar-track-color: #fcfcfc;
Scrollbar-darkshadow-color: #AAC7E9;
Scrollbar-base-color: #fcfcfc
}
</STYLE>
<script>
function Click (e) {
if (document.all) {
if (event.button==1| | event.button==2| | event.button==3) {
Oncontextmenu= ' return false ';
}
}
if (document.layers) {
if (E.which = = 3) {
Oncontextmenu= ' return false ';
}
}
}
if (document.layers) {
Document.captureevents (Event.mousedown);
}
Document.onmousedown=click;
Document.oncontextmenu = new Function ("return false;")
var travel=true
var hotkey=17/* Hotkey is the key value of the hotkey, is the ASII code, here 99 represents the C key * *
if (document.layers)
Document.captureevents (Event.keydown)
function Gogo (e)
{if (document.layers) {
if (e.which==hotkey&&travel) {
Alert ("The operation is wrong. Maybe you pressed the wrong button!");
} }
else if (document.all) {
if (event.keycode==hotkey&&travel) {
Alert ("The operation is wrong. Maybe you pressed the wrong button!");
}}
}
Document.onkeydown=gogo
</script>
<link id= "CSS" href= "style1.css" type= "Text/css" rel= "stylesheet" >
<script src= "Common.js" language= "JavaScript" type= "Text/javascript" ></script>
<div style= "MARGIN-LEFT:8PX;" > Welcome to Cloud Habitat Community web Scripting Effects Center, click the Run button to demonstrate special effects:<br/>
<BR/><textarea id= "temp57711" class= "Htmlarea" >
<title> website Special Effects code | jscode.cn|---Select all and copy the contents of the form </title>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service