会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
柔和的天空
博客园
首页
联系
订阅
管理
[置顶]
IT网址大全
摘要: ###图像处理 [素材] 在线作图 [素材] 思缘设计论坛 [素材] ps联盟 [素材] ps学习网 [素材] ps教程论坛 [素材] ps爱好者 [素材] 46ps [素材] 勤学网 [素材] 艺术字体转换器 [模板] 视达千图 [模板] 千图网 [模板] 千库网 [模板] 包图网 [模板] 摄图
阅读全文
posted @ 2018-03-06 16:55 柔和的天空
阅读(783)
评论(1)
推荐(1)
2023年2月4日
axios 请求
摘要: 完整文档 官网文档 html <input type="file" multiple id="files"> <button onclick="postAxios()">上传文件s</button> <p id="files_progress" style="width:0px; height: 1
阅读全文
posted @ 2023-02-04 14:36 柔和的天空
阅读(74)
评论(0)
推荐(0)
2023年2月3日
原生 js 中 XMLHttpRequest
摘要: 完整文档 使用 XMLHttpRequest 对象的 open() 方法来初始化一个请求,open() 方法的语法格式如下: XMLHttpRequest.open(method, url, async, user, password); 参数说明如下: method:请求的类型(使用的 HTTP
阅读全文
posted @ 2023-02-03 19:22 柔和的天空
阅读(1457)
评论(0)
推荐(0)
jquery 中 ajax
摘要: 完整文档 ajax 调用 html <input type="file" multiple id="files"> <button onclick="jqueryAjax2()">上传文件s</button> <p id="files_progress" style="width:0px; heig
阅读全文
posted @ 2023-02-03 19:16 柔和的天空
阅读(46)
评论(0)
推荐(0)
2023年1月31日
Js 判断属性和方法
摘要: 判断浏览器是否支持js属性或方法 if(typeof addEventListener 'undefined'){ console.log('不支持') }else{ console.log('支持') } 判断浏览器是否支持html标签属性 html属性 in DOM对象 :判断是否支持这个属性,
阅读全文
posted @ 2023-01-31 16:56 柔和的天空
阅读(376)
评论(0)
推荐(0)
Js/Jquery 操作 url
摘要: <script> // 设置或获取整个 URL 为字符串 // 文件访问 file:///F:/phpStud/PHPTutorial/WWW/CasPHP/public/js/js_url.html // 域名访问 http://casphp.com/js/js_url.html console.
阅读全文
posted @ 2023-01-31 15:52 柔和的天空
阅读(64)
评论(0)
推荐(0)
Js/Jquery 设置获取属性
摘要: <body> <div id="tree" data-leaves="47" data-plant-height="2.4m"></div> <script> var tree = document.getElementById("tree"); console.log(' js attr ');
阅读全文
posted @ 2023-01-31 14:25 柔和的天空
阅读(63)
评论(0)
推荐(0)
2023年1月19日
git 关联 github、gitee 仓库
摘要: github 官网创建仓库,取得仓库地址,我的这个是 https://github.com/xue-y/pay.git gitee 官网点击创建仓库,右上角 新建导入,进入导入页面 选择语言,点击导入 按钮 本地克隆远程仓库 Think@Think-PC MINGW64 /f/phpStud/PHP
阅读全文
posted @ 2023-01-19 14:03 柔和的天空
阅读(151)
评论(0)
推荐(0)
2022年12月17日
requestAnimationFrame
摘要: window.requestAnimationFrame() 用浏览器刷新频率(通常是每秒60/75次)执行一个动画,并且要求浏览器在下次重绘之前调用指定的回调函数更新动画。该方法需要传入一个回调函数作为参数,该回调函数会在浏览器下一次重绘之前执行。 优点 【1】requestAnimationFr
阅读全文
posted @ 2022-12-17 16:55 柔和的天空
阅读(364)
评论(0)
推荐(0)
2022年12月16日
js 实现 移动端 拖拽效果
摘要: 点击下面 目录标题 在线预览效果 网页 head 部分 <!-- 禁止缩放 --> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> 公共 js 部分 //提取非行间样式
阅读全文
posted @ 2022-12-16 16:06 柔和的天空
阅读(1186)
评论(0)
推荐(0)
移动端拖拽事件
摘要: MDN touch 介绍 手指在屏幕上的操作 rotate 旋转:手指在屏幕上旋转pan 平移:手指触碰屏幕,移动,最后离开。click(tap)点击:手指在某个位置范围内进行快速点击。swipe 快扫:手指在设备上快速移动。press 按压:手指按下一段时间且不移动。pinch 缩放:两个(或多个
阅读全文
posted @ 2022-12-16 14:34 柔和的天空
阅读(628)
评论(0)
推荐(0)
下一页
公告