Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<html>
<head>
<title>htc文件巧妙应用实现反转按钮</title>
<style>
* { font-size:12px; font-family:Arial; }
body { overflow:auto; background-color:buttonface; border-style:none; }
.toggleButton {
display:inline; background-color:buttonface;
padding:2px 10px; margin:0px 10px; cursor:pointer;
border:2px outset white;
behavior:url(/jscss/demoimg/201009/21-4.htc); /* 定义反转按钮行为 */
}
</style>
</head>
<body>
<div class="toggleButton" onclick="this.toggle();">反转按钮1</div>
<div class="toggleButton" onclick="this.toggle();">反转按钮2</div>
</body>
</html>
CSS代码...
JS代码...
xxxxxxxxxx