
好例题
九月上
这个作者很懒,什么都没留下…
展开
-
好例题------注册学生信息
//注册 function Seg(stus){ this.arr=[]; this.inp(stus); this.out(); } //录入数据 Seg.prototype.inp=function(stus){ for(var i ...原创 2019-02-21 20:00:30 · 198 阅读 · 0 评论 -
好例题------轮播图
<style> #box{width: 590px;height: 470px;position: relative;margin-left: 400px} #con div{display: none} #con div.one{display: inline-block;} #head{width: 100%;pos...原创 2019-02-19 21:24:53 · 133 阅读 · 0 评论 -
好例题-----表单校验
<style> input{margin-top: 10px} span{color: red;font-size: 12px;margin-left: 5px;display: none} .one{width: 80px;height: 25px;background: #d1d1d1;border: none;border: 1p...原创 2019-02-19 19:49:55 · 147 阅读 · 0 评论 -
JS动画水平移动与垂直移动
水平移动分析: 可看成是一个物体的左边距变化。 比如:向右移动是左边距越来越大(数值为正),可调整物体的左边距来实现 向左移动是左边距越来越小(数值为负),可调整物体的左边距来实现 实际代码如下: <style> *{padding: 0;margin: 0px;} #box{wid...原创 2019-01-25 19:41:17 · 1750 阅读 · 0 评论