会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Frank-f
博客园
首页
新随笔
联系
订阅
管理
2021年7月12日
JS异步请求跳转新标签页被浏览器拦截
摘要: // 用户点击时执行 var newWindow= window.open('about:blank'); // 异步获取res.url成功后执行 newWindow.location.href =res.url
阅读全文
posted @ 2021-07-12 18:43 Frank-f
阅读(253)
评论(0)
推荐(0)
2020年4月28日
input file 上传图片显示上传的文件
摘要: 1 <input type="file" id="upload"> 2 <img id="qrcode"> 3 4 var upload = document.querySelector("#upload"); 5 var qrcode= document.querySelector("#qrcod
阅读全文
posted @ 2020-04-28 17:58 Frank-f
阅读(307)
评论(0)
推荐(0)
2019年3月1日
input type=submit iOS下面,背景颜色和圆角对不上
摘要: 处理方法
阅读全文
posted @ 2019-03-01 16:59 Frank-f
阅读(183)
评论(0)
推荐(0)
2019年2月28日
移动端软键盘弹出,页面被压缩
摘要: 移动端页面,点击input输入框时,软键盘会占据页面高度。 强制设定body高度为窗口高度即可
阅读全文
posted @ 2019-02-28 11:55 Frank-f
阅读(884)
评论(0)
推荐(0)
2019年1月25日
ios移动端 软键盘收起后 ,出现白底,未跟随软键盘收回
摘要: 解决方案: $('input,textarea').on('blur',function(){window.scroll(0,0);});$('select').on('change',function(){window.scroll(0,0);}); 原理: 原理就是弹起键盘的时候,window.
阅读全文
posted @ 2019-01-25 10:08 Frank-f
阅读(449)
评论(0)
推荐(0)
2019年1月21日
border-image
摘要: border-image 属性之间用 '/' 分隔。 slice 其有1~4个参数,代表上右下左四个方位的剪裁,九宫格方式裁剪outset 相当于把原来的贴图位置向外延伸。不能为负值repeat 可选参数 stretch(默认,拉伸) round(凑整填充,适当拉伸) repeat(不拉伸,不凑整)
阅读全文
posted @ 2019-01-21 17:46 Frank-f
阅读(120)
评论(0)
推荐(0)
2019年1月15日
ios中 input 焦点光标不垂直居中
摘要: ios中 input 焦点光标不垂直居中,input元素不设置line-height即可
阅读全文
posted @ 2019-01-15 14:20 Frank-f
阅读(334)
评论(0)
推荐(0)
css绝对居中
摘要: Title
阅读全文
posted @ 2019-01-15 11:55 Frank-f
阅读(93)
评论(0)
推荐(0)
手机web前端调试
摘要: https://www.cnblogs.com/xy-nb/p/web.html
阅读全文
posted @ 2019-01-15 11:46 Frank-f
阅读(104)
评论(0)
推荐(0)
公告