![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
阿木木的手套
邮箱:870072152@qq.com
展开
-
JavaScript基础---图片轮播
轮播先把所有图片遍历出来,然后隐藏,需要用谁的时候谁再出现就行了。这个轮播没用动态绑定仅供参考<!DOCTYPE html><html><head> <title>轮播图</title> <style type="text/css"> div{ width: 500px; height: 400px; margin: 50px auto; overflow: hidden; posit原创 2020-07-23 11:22:27 · 110 阅读 · 0 评论 -
JavaScript基础---全选与反选
全选与反选其实就是遍历出来之后看其状态是true还是false,如果是true就给他的值设置成false,反之亦然。仅供大家参考,不喜勿喷哈<!DOCTYPE html><html><head> <title></title> <style type="text/css"> .show{ width: 800px; margin: 50px auto; } table{ border: 1px原创 2020-07-23 11:18:36 · 254 阅读 · 0 评论 -
JavaScript基础案例---隔行换色
隔行换色其实很简单,就是通过遍历出来的下标与2取模,下面我把代码贴出来供大家参考,不喜勿喷哈<!DOCTYPE html><html><head> <title></title> <style type="text/css"> .show{ width: 800px; margin: 50px auto; } table{ border: 1px solid #ccc; width: 5原创 2020-07-23 11:14:52 · 235 阅读 · 0 评论