网页特效
建站首页
|
广告代码
|
源码下载
|
站长工具
|
字体下载
|
网页模板
|
收藏本站
|
设为首页
网站首页
菜单导航
日期时间
背景图像
图层样式
鼠标键盘
页面窗口
色彩表格
链接文字
表单按钮
计数转换
游戏娱乐
综合实例
特效
热门搜索:
特效代码
js脚本
导航菜单
热点推荐:
英文字体
人民币汇率
dw插件
站长常用软件
alexa排名查询
您的位置:
网页特效
->
计数转换
-> 一个再普通不过的计算器网页代码
一个再普通不过的计算器网页代码
作者:一个再普通不过的计算器 网页特效代码 发布时间:2007-11-21 23:06:18 发布人: admin
要完成此效果把如下代码加入到<body>区域中 <script language="JavaScript"> </script> <form name="calc"> <table border="1"> <td colspan="4"><input type="text" name="expr" size="30" action="compute(this.form)"> <tr> <td><input type="button" value=" 7 " onclick="enter(this.form, seven)"> <td><input type="button" value=" 8 " onclick="enter(this.form, eight)"> <td><input type="button" value=" 9 " onclick="enter(this.form, nine)"> <td><input type="button" value=" / " onclick="enter(this.form, divide)"> <tr><td><input type="button" value=" 4 " onclick="enter(this.form, four)"> <td><input type="button" value=" 5 " onclick="enter(this.form, five)"> <td><input type="button" value=" 6 " onclick="enter(this.form, six)"> <td><input type="button" value=" * " onclick="enter(this.form, multiply)"> <tr><td><input type="button" value=" 1 " onclick="enter(this.form, one)"> <td><input type="button" value=" 2 " onclick="enter(this.form, two)"> <td><input type="button" value=" 3 " onclick="enter(this.form, three)"> <td><input type="button" value=" - " onclick="enter(this.form, minus)"> <tr><td colspan="2"><input type="button" value=" 0 " onclick="enter(this.form, zero)"> <td><input type="button" value=" . " onclick="enter(this.form, decimal)"> <td><input type="button" value=" + " onclick="enter(this.form, plus)"> <tr><td colspan="2"><input type="button" value=" = " onclick="compute(this.form)"> <td colspan="2"><input type="button" value="AC" size="3" onclick="clear(this.form)"> </table> </form> <a href="http://web.archive.org/web/20150530050013/http://myjs.jz123.cn/">欢迎访问中国建站之家网页特效集</a>
一个再普通不过的计算器 网页特效代码
将本文收藏到QQ书签与更多好友分享
上一篇:文章:
来访统计 网页特效代码
下一篇:文章:
给出一个数,可以计算出他的因子网页特效代码
本类浏览排行 »
搜索页面中的内容
又一款综合搜索引擎代码
标题栏显示当前时间
倒影效果的电子表,显示当前时间
自动记录当前页面最新的更新日期
JS让网页每隔2秒弹出一次对话框
一款超酷的CSS列表排行榜
鼠标悬停放大的纯CSS分页效果
本站推荐文章 »
垂直三栏自适应等高布局
仿QQ消息管理器的文本内容样式
支付宝的控制台动画效果菜单
文字、图片拖曳移动
可拉伸移动的DIV层效果
很酷的图片伸缩放大功能
较好的视觉效果的网页选项卡
CSS实例:通过定义渐变边框给图片加阴影