YPE html PUBLIC "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w***3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
js 计算器
document.onkeyup = function(e)
{
var evt = utils.fixevent(e);if ((evt.keycode >= 48 && evt.keycode (evt.keycode >= 96 && evt.keycode {
if (evt.keycode > 57)
{
calculator.input(evt.keycode - 96);
}
else
{
calculator.input(evt.keycode - 48);
}
}
else if ((evt.keycode == 107 && !evt.shiftkey) || (evt.keycode == 61 && evt.shiftkey) || (evt.keycode == 187 && evt.shiftkey))
{
calculator.calculate('+');
}
else if ((evt.keycode == 109 && !evt.shiftkey) || (evt.keycode == 189 && !evt.shiftkey))
{
calculator.calculate('-');
}
else if ((evt.keycode == 106 && !evt.shiftkey) || (evt.keycode == 56 && evt.shiftkey))
{
calculator.calculate('*');
}
else if ((evt.keycode == 111 && !evt.shiftkey) || (evt.keycode == 191 && !evt.shiftkey))
{
calculator.calculate('/');
}
else if (evt.keycode == 13 || (evt.keycode == 61 && !evt.shiftkey) || (evt.keycode == 187 && !evt.shiftkey))
{
calculator.calculate('=');
}
else if ((evt.keycode == 110 && !evt.shiftkey) || (evt.keycode == 190 && !evt.shiftkey))
{
calculator.input('.');
}
else if (evt.keycode == 27)
{
calculator.clear();
}
else if (evt.keycode == 8)
{
calculator.backspace();
}return false;
//alert(evt.keycode);
}
//-->
疯狂医院达什医生中文版(Crazy Hospital)
疯狂医院达什医生最新版是一款医院模拟经营类游戏,逼真的场景画
宝宝庄园官方版
宝宝庄园官方版是一款超级经典好玩的模拟经营类型的手游,这个游
桃源记官方正版
桃源记是一款休闲娱乐类的水墨手绘风格打造的模拟经营手游。玩家
长途巴士模拟器手机版
长途巴士模拟器汉化版是一款十分比真好玩的大巴车模拟驾驶运营类
房东模拟器最新版2024
房东模拟器中文版是一个超级有趣的模拟经营类型的手游,这个游戏