摘要: 查看原文 阅读全文
posted @ 2017-11-24 20:26 绿林豪士 阅读(135) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <style type="text/css"> li { list-style-type: none; width: 300px; height: 30px; } </style> < 阅读全文
posted @ 2017-11-24 20:23 绿林豪士 阅读(326) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <style type="text/css"> * { margin: 0; padding:10px; border: 0; } #text1,#text2 { width:150p 阅读全文
posted @ 2017-11-22 22:08 绿林豪士 阅读(702) 评论(0) 推荐(0) 编辑
摘要: <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>简易日历的实现</tit 阅读全文
posted @ 2017-11-22 19:13 绿林豪士 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 方法一:for循环+if判断当前点击与自定义数组是否匹配 方法二:自定义index为当前点击 方法三:className 方法四:className+匿名函数的自执行 阅读全文
posted @ 2017-11-22 10:04 绿林豪士 阅读(2254) 评论(0) 推荐(0) 编辑
摘要: white循环: for循环: if循环: 查看原文 阅读全文
posted @ 2017-11-21 18:12 绿林豪士 阅读(217) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <style type="text/css"> #div1 { width: 100px; height: 100px; border: 1px solid red; } .box { 阅读全文
posted @ 2017-11-21 18:06 绿林豪士 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 函数传参一: 函数传参二: 阅读全文
posted @ 2017-11-21 18:01 绿林豪士 阅读(327) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <script> function settext(){ var otext=document.getElementById('text1'); otext.value='123'; 阅读全文
posted @ 2017-11-21 11:06 绿林豪士 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 无标题文档 阅读全文
posted @ 2017-11-21 11:04 绿林豪士 阅读(4078) 评论(0) 推荐(0) 编辑