📄 sample.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>BIR - Boolean Input Replacement Sample</title>
<link href="crir/crir.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="crir/crir.js"></script>
</head>
<body>
<h1>CRIR: Checkbox Radio Input Replacement</h1>
<form action="" method="get">
<h2>Checkboxes</h2>
<label for="checkbox1">Normal (not replaced)</label>
<input name="checkbox1" id="checkbox1" type="checkbox" value="true" />
<label for="checkbox2">This is the Label</label>
<input name="checkbox2" id="checkbox2" type="checkbox" value="true" class="crirHiddenJS" />
<label for="checkbox3">This is the Label with a long name</label>
<input name="checkbox3" id="checkbox3" type="checkbox" value="true" class="crirHiddenJS" checked="checked" />
<label for="checkbox4">This is the Label</label>
<input name="checkbox4" id="checkbox4" type="checkbox" value="true" class="crirHiddenJS" />
<br />
<h2>Radio Buttons - <i>all in the same group</i></h2>
<label for="radio1">Normal (not replaced)</label>
<input name="radio_group" id="radio1" type="radio" value="true" />
<label for="radio2">This is the Label</label>
<input name="radio_group" id="radio2" type="radio" value="true" class="crirHiddenJS" />
<label for="radio3">This is the Label with a long name</label>
<input name="radio_group" id="radio3" type="radio" value="true" class="crirHiddenJS" checked="checked" />
<label for="radio4">This is the Label</label>
<input name="radio_group" id="radio4" type="radio" value="true" class="crirHiddenJS" />
</form>
<a href="http://www.chriserwin.com/scripts/crir/">Documentation</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -