menu.js

来自「客户」· JavaScript 代码 · 共 31 行

JS
31
字号
//menu.htm
//定义快速启动处的鼠标行为
function over(the){
	the.style.borderRight='1px solid #000000';
	the.style.borderBottom='1px solid #000000';
	the.style.borderLeft='1px solid #ffffff';
	the.style.borderTop='1px solid #ffffff';
}

function out(the){
	the.style.border='1px solid #cccccc';
	the.style.position='relative';
	the.style.left='0px';
	the.style.top='0px';
}

function down(the){
	the.style.borderLeft='1px solid #000000';
	the.style.borderTop='1px solid #000000';
	the.style.borderRight='1px solid #ffffff';
	the.style.borderBottom='1px solid #ffffff';
}

function up(the){
	the.style.borderRight='1px solid #000000';
	the.style.borderBottom='1px solid #000000';
	the.style.borderLeft='1px solid #ffffff';
	the.style.borderTop='1px solid #ffffff';
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?