宗策

导航

2022年3月16日 #

IDEA背景界面护眼色设置-豆沙绿(中文版图解)

摘要: 步骤一:首先点击菜单--文件--设置,如下图 步骤二: 按照顺序依次点击:编辑器--》切换配色方案--》常规--》文本--》默认文件--》后台,如下图所示 步骤三: 设置颜色》R:199, G: 237, B:204, 如下图所示 注:R:202, G: 234, B:206 这个颜色也可以 步骤四 阅读全文

posted @ 2022-03-16 10:27 宗策 阅读(2895) 评论(0) 推荐(0) 编辑

2020年5月26日 #

oracle转mysql 企业级TNS教程

摘要: oracle转mysql 企业级TNS教程 步骤一: 需要安装三个软件: --Oracle客户端 下载地址:http://www.oracle.com/technetwork/cn/database/enterprise-edition/downloads/index.html 注意:下载时,根据电 阅读全文

posted @ 2020-05-26 09:57 宗策 阅读(216) 评论(0) 推荐(0) 编辑

2020年5月8日 #

事件取消,表单提交事件

摘要: 事件取消 - 在事件中执行return false; 则可以将当前事件取消掉 表单提交事件 onsubmit - 当表单提交时触发 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title 阅读全文

posted @ 2020-05-08 17:24 宗策 阅读(300) 评论(0) 推荐(0) 编辑

2020年5月7日 #

JavaScript-数组案例

摘要: 案例一: 遍历数组 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <script type="text/javascript"> function myfn(){ var i 阅读全文

posted @ 2020-05-07 17:49 宗策 阅读(168) 评论(0) 推荐(0) 编辑

JavaScript-div效果案例展示

摘要: 案例1: 代码: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <style type="text/css"> #big{ width: 150px; height: 150 阅读全文

posted @ 2020-05-07 17:23 宗策 阅读(142) 评论(0) 推荐(0) 编辑

正则表达式

摘要: 正则表达式 . :匹配任意字符 除了换行 \w : 匹配任意数字、字母、下划线 \d : 匹配任意数字 \s : 匹配任意空白 ^ : 开头 $ : 结尾 - 正则表达式的应用场景: 1. 查找内容 2. 校验文本 - 创建正则对象的两种方式: 1. 格式: var reg = /规则/模式(i:忽 阅读全文

posted @ 2020-05-07 17:00 宗策 阅读(168) 评论(0) 推荐(0) 编辑

JavaScript-对String,数,数组,日期使用总结

摘要: String使用总结 1. 创建字符串 - var s1 = "aaa";//单引号或双引号都可以 - var s2 = new String("aaa"); 2. 把字符串转数值 - parseInt(30.05) - parseFloat("4") "4.5"->4.5 "4"->4 - Num 阅读全文

posted @ 2020-05-07 16:28 宗策 阅读(175) 评论(0) 推荐(0) 编辑

2020年5月6日 #

JavaScript生成div效果

摘要: 页面效果: 脚本展示: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <style type="text/css"> .yellow{ width: 100px; heigh 阅读全文

posted @ 2020-05-06 11:20 宗策 阅读(230) 评论(0) 推荐(0) 编辑

JavaScript生成批量<div>标签

摘要: 页面展示效果: 脚本展示: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <style type="text/css"> div>div{ width: 50px; heig 阅读全文

posted @ 2020-05-06 11:06 宗策 阅读(1103) 评论(0) 推荐(0) 编辑

2020年4月30日 #

JavaScript简易猜数字

摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <script type="text/javascript"> //得到1-10的随机数 var x = parseInt(Ma 阅读全文

posted @ 2020-04-30 16:19 宗策 阅读(333) 评论(0) 推荐(0) 编辑