摘要: 先设置body的ID,然后获取body var Div = document.getElementById("BODY"); //touchstart类似mousedown Div.ontouchstart = function(e){ //事件的touches属性是一个数组,其中一个元素代表同一时 阅读全文
posted @ 2017-08-09 15:27 野望之风 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1. 将图标文件命名为favico.ico(有在线生成工具,不能只改后缀名),上传到网站根目录。2. 在网站首页的源文件<head> </head>之间插入下面的斜体部分代码<head> ……<link rel="shortcut icon" href="favicon.ico"></head>3. 阅读全文
posted @ 2017-08-09 10:55 野望之风 阅读(426) 评论(0) 推荐(0) 编辑