上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页
摘要: for(var i=0;i<10;i++){ setTimeout(function(){ console.log(i)//10个10 },1000) } 遇到这种问题 如何用解决呢 for(var i=0;i<10;i++){ ((j)=>{ setTimeout(function(){ cons 阅读全文
posted @ 2019-10-29 11:35 阿蒙不萌 阅读(5553) 评论(0) 推荐(0) 编辑
摘要: 网站为了国际化的需要,会使用到语言包,案例如下图。 这次尝试用js来打语言包,用到了插件 jquery.i18n.properties ,很明显,使用这个插件需要先加载jquery。 代码布局结构 代码下载那就来看一下具体代码吧: <!DOCTYPE html> <html> <head> <met 阅读全文
posted @ 2019-10-28 10:54 阿蒙不萌 阅读(1780) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/larger5/article/details/81286324 阅读全文
posted @ 2019-10-28 10:15 阿蒙不萌 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/liufunan/article/details/50715053 1:最简单的标签 <a href="xxx.xxx?username='liufukin'">请求服务器</a>2:用的最多的表单 <form action="xxx.xxx" me 阅读全文
posted @ 2019-10-25 14:09 阿蒙不萌 阅读(2317) 评论(0) 推荐(0) 编辑
摘要: https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html 根据以上网页下载自己电脑相应的版本的微信开发者工具(目录自己创建),然后进行运行安装(建议下载安装) 微信小程序和app比较相似的方式,都可以这个模式进行开 阅读全文
posted @ 2019-10-23 10:53 阿蒙不萌 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 网页布局的传统解决方案,基于盒状模型,依赖 display属性 + position属性 + float属性。它对于那些特殊布局非常不方便,比如,垂直居中就不容易实现。 2009年,W3C提出了一种新的方案 - Flex布局,可以简便、完整、响应式地实现各种页面布局。已经得到了所有浏览器的支持,最近 阅读全文
posted @ 2019-10-22 17:04 阿蒙不萌 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 放上代码: 放上效果图: 阅读全文
posted @ 2019-10-22 16:54 阿蒙不萌 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 一、数组的遍历: 首先定义一个数组 1 arr=['snow','bran','king','nightking']; 1 arr=['snow','bran','king','nightking']; 1 arr=['snow','bran','king','nightking']; arr=[' 阅读全文
posted @ 2019-10-22 16:28 阿蒙不萌 阅读(738) 评论(0) 推荐(0) 编辑
摘要: Animation 使用简写属性,将动画与 div 元素绑定: Internet Explorer 10、Firefox 以及 Opera 支持 animation 属性。 Safari 和 Chrome 支持替代的 -webkit-animation 属性。 注释:Internet Explore 阅读全文
posted @ 2019-10-22 14:05 阿蒙不萌 阅读(535) 评论(0) 推荐(0) 编辑
摘要: <input> 元素 <input> 元素是最重要的表单元素。 <input> 元素有很多形态,根据不同的 type 属性。 这是本章中使用的类型: 这里列出了一些常用的输入限制(其中一些是 HTML5 中新增的): 文本输入 <input type="text"> 定义用于文本输入的单行输入字段: 阅读全文
posted @ 2019-10-22 13:10 阿蒙不萌 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页