jQuery立体质感科学计算器代码
插件描述:界面立体质感非常美观的jQuery科学计算器代码,多功能在线网页计算器,一款功能齐全、一款功能比较精简。
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>jQuery立体质感科学计算器代码</title>
<link rel="stylesheet" type="text/css" href="https://www.jq22.com/demo/jQueryjsq202401172344/css/normalize.css" /><!--CSS RESET-->
<link rel="stylesheet" type="text/css" href="https://www.jq22.com/demo/jQueryjsq202401172344/css/demo.css"><!--演示页面样式,使用时可以不引用-->
<link rel="stylesheet" href="https://www.jq22.com/demo/jQueryjsq202401172344/css/index.css" />
<link rel="stylesheet" href="https://www.jq22.com/demo/jQueryjsq202401172344/css/jsRapCalculator.css" />
</head>
<body><script src="https://www.jq22.com/demo/jQueryjsq202401172344/demos/googlegg.js"></script>
<div id="divMain">
<div>Demo 1</div>
<div id="demo1"></div>
<div>Demo 2</div>
<div id="demo2"></div>
<br>Examples of notation
<br>Five raised to the third power = <b>pow(5,3)</b> = 125
<br>Square root of 4 = <b>pow(4,1/2)</b> = 2
<br>Cube root of 27 = <b>pow(27,1/3)</b> = 3
<br>Fourth root of 16 = <b>pow(16,1/4)</b> = 2
<br>Sine of 1/2 π = <b>sin(1/2*PI)</b> = 1
<br>Binary 101 = <b>0b101</b> = 5
<br>Octal 402 = <b>0402</b> = 258
<br>Hexadecimal 1F = <b>0x1F</b> = 31
<br>Exponentiation 2 * 1000 = <b>2e3</b> = 2000
<br>Exponentiation 3 * 0.01 = <b>3e-2</b> = 0.03
</div>
<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="https://www.jq22.com/demo/jQueryjsq202401172344/js/jsRapCalculator.js"></script>
<script>
$(document).ready(function(){
$('#demo1').jsRapCalculator({name:'name1'});
$('#demo2').jsRapCalculator({showMode:false,showBitwise:false,showHistory:false,maximumFractionDigits:2});
});
</script>
</body>
</html>
页:
[1]