摘要: <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 绿林豪士 阅读(703) 评论(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 绿林豪士 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 方法一:for循环+if判断当前点击与自定义数组是否匹配 方法二:自定义index为当前点击 方法三:className 方法四:className+匿名函数的自执行 阅读全文
posted @ 2017-11-22 10:04 绿林豪士 阅读(2274) 评论(0) 推荐(0) 编辑