今日网站计数器(网站计数器)

导读 大家好,小淋来为大家解答以上问题。网站计数器,网站计数器很多人还不知道,现在让我们一起来看看吧!htmlheadmeta http-equiv= Conte...

大家好,小淋来为大家解答以上问题。网站计数器,网站计数器很多人还不知道,现在让我们一起来看看吧!

htmlheadmeta http-equiv=' Content-Type ' Content=' text/html;charset=gb2312' /title邓丹的计算器/title style type=' text/CSS ' body{ background-image : URL(file :///E |/我的文档/邓丹/1 .jpg);} .样式1 {font-size : 18px;字体粗细:粗体;' color : # 6699 ffont-family : '快递新,快递,等宽;}#Layer1 { 位置:绝对;宽度:153 pxh高度:175pxz指数:1;left : 725 pxtop : 277 px }/style script language=' JavaScript ' var Deng=' ',dan=函数disp(dan) { Deng=文档。表格1。文本1。值丹;文档。表格1。文本1。值=邓;}函数庆玲(){文档。表格1。文本1。值=“”;}函数guanbi() { close()。}函数tuige() { var str 1=文档。表格1。文本1。价值;str1=str1.substring(0,str1。长度-1);文档。表格1。文本1。value=str 1;}函数邓禹(){ var str 1=文档。表格1。文本1。价值;var result=eval(str 1);文档。表格1。文本1。值=结果;}函数蔡波(){ var now=new Date();var hour=现在。get hours();var fen=现在。get minutes();var苗=现在。获取秒数();if(hour10) hour='0 '小时;if(fen 10)fen=' 0 ' fen;if(苗10)苗=' 0 '苗;var time='今天日期' now.getYear()'年now.getMonth() 1 '月' now.getDate()'日时间'小时' : '分' : '苗;文档。表格1。文本2。价值=时间;var time1=setTimeout('蔡波()',1000);}/script/headbody onLoad='蔡波()' centerform name=' form1 ' pnbsp/p表格宽度='247' border='5 '标题对齐='center' span class='STYLE1 '试做计算器/span/caption tr TD colspan=' 5 ' input name=' text 1 ' type=' text ' value=' 0 ' size=' 32 ' onFocus=' Qingling()'//TD TD input name=' Deng ' type=' button ' value='计算onClick='邓禹()'//TD/tr tr TD width=' 37 ' input name=' 1 ' type=' button value=' 1 ' onClick=' disp(1)'//TD TD TD width=' 2 ' type=' button ' value=' 2 ' onClick=' disp(2)'//TD TD TD width=' 37 ' input name=' 3 ' type=' button ' value=' 3 ' onClick=' disp(3)'//TD TD TD width=' 37 ' input name/TD TD TD width=' 15 ' input name=' tui ' type=' 按钮“值=”退格onClick=' tuige()'//TD/tr tr TD input name=' 4 ' type=' button ' value=' 4 ' onClick=' disp(4)'//TD TD input name=' 5 ' type=' button ' value=' 5 ' onClick=' disp(5)'//TD TD input name=' 6 ' type=' button ' value=' 6 ' onClick=' disp(6)'//TD TD input name=' Dian ' type=' button ' value=' . onClick='disp(' . ')'/TD TD input name=' mul ' type=' button ' value=' * ' onClick=' disp(' * )'//TD TD输入name=' Qing ' type=' button ' value='清零onMouseDown=' Qingling()'//TD/tr tr TD input name=' 7 ' type=' button ' value=' 7 ' onClick=' disp(7)'//TD TD TD input name=' 8 ' type=' button ' value=' 8 ' onClick=' disp(8)'//TD TD input name=' 9 ' type=' button ' value=' 9 ' onClick=' disp(9)'//TD TD input name=' add ' type=' button ' value=' ' onClick=' disp(')关闭onClick='关bi()'//TD/tr tr TD colspan=' 6 ' input name=' text 2 ' type=' text ' size=' 38 '/TD/tr/table! -下面的差异标签连接上面的身份选择器样式#层显示连接图片-/表单/中心/正文/html

这个是简易计算器的源代码!

至于怎么运行的嘛!你也应该明白哈!

本文到此结束,希望对大家有所帮助。

免责声明:本文由用户上传,如有侵权请联系删除!