上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 需求:假设我有一个名为box的盒子,当内容撑大时会出现滚动条,每次我事件触发时,滚动条都在底部。 需求:如何判断滚动条是否滑到底部? 需求:滚动条滚动的事件? 阅读全文
posted @ 2017-10-19 16:06 佑之以航 阅读(7338) 评论(0) 推荐(0) 编辑
摘要: 表格 | Item | Value | Qty | | : | : | : : | | Computer | 1600 USD | 5 | 这是我的第一个markdown!! 代码高亮 阅读全文
posted @ 2017-10-19 15:53 佑之以航 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 数组截取 一:slice() slice() 方法可从已有的数组中返回选定的元素。 阅读全文
posted @ 2017-10-08 14:21 佑之以航 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: 字符串: 一:substr() substr() 方法可在字符串中抽取从 start 下标开始的指定数目的字符。 二:substring() substring() 方法用于提取字符串中介于两个指定下标之间的字符。 可选。一个非负的整数,比要提取的子串的最后一个字符在 stringObject 中的 阅读全文
posted @ 2017-10-08 13:43 佑之以航 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1.丢弃小数部分,保留整数部分parseInt(5/2) 2.向上取整,有小数就整数部分加1 Math.ceil(5/2) 3,四舍五入. Math.round(5/2) 4,向下取整 Math.floor(5/2) Math 对象的方法 原文地址:http://www.ablanxue.com/s 阅读全文
posted @ 2017-09-25 11:09 佑之以航 阅读(199) 评论(0) 推荐(0) 编辑
摘要: document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 document.documentElement.clientWidth ==> 可见区域宽度 document.documentElemen 阅读全文
posted @ 2017-09-22 16:17 佑之以航 阅读(392) 评论(0) 推荐(0) 编辑
摘要: cmd 写法 db + 表名 + find({属性名:{$regex:{/查询的内容/}}}) 例: db.admins.find(user:{$regex:{/hehe/}}) 假设显示:如有多条关于hehe的user内容,则返回多条内容。 express 写法 关联的数据库 + find({属性 阅读全文
posted @ 2017-09-21 16:57 佑之以航 阅读(17102) 评论(0) 推荐(0) 编辑
摘要: 一:vue 项目搭建 二:experss项目搭建 三:mongodb下载安装(转自网络)Ayers 四:实战篇(转自网络)highsea 阅读全文
posted @ 2017-09-21 14:57 佑之以航 阅读(216) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } .box{ width: 750px; height: 3 阅读全文
posted @ 2017-09-16 15:42 佑之以航 阅读(536) 评论(0) 推荐(0) 编辑
摘要: a,a:hover,a:active,a:visited,a:link,a:focus{ -webkit-tap-highlight-color:rgba(0,0,0,0); } 阅读全文
posted @ 2017-09-16 15:24 佑之以航 阅读(1806) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页