摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-01-12 16:02 季冬二十 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 要求:1、点击按钮,切换图片; 2、图片能够自动轮播; 3、鼠标移入,轮播停止;移出继续轮播; 知识点:1、定时器:setInterval(); 2、鼠标移入事件:onmouseenter/onmouseover; 鼠标移出事件:onmouseleave/onmouseout; 难点:假设轮播图轮播 阅读全文
posted @ 2020-01-12 15:30 季冬二十 阅读(6101) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2019-12-20 23:15 季冬二十 阅读(1204) 评论(0) 推荐(0) 编辑
摘要: //一、 画一个直角三角形 // 第几行 *号数 // * 1 1 // ** 2 2 // *** 3 3 // **** 4 4 // ***** 5 5 // 规律:行数 = *号数 function left(n){ // right为函数名,n为形式参数,用于接收实体参数。 for(var 阅读全文
posted @ 2019-12-20 23:05 季冬二十 阅读(2431) 评论(1) 推荐(0) 编辑