- 博客(5)
- 收藏
- 关注
原创 ie10 【bug】元素使用position:absolute后不能点击
问题描述: 现有一个i标签模拟checkbox复选框的样式,后紧跟span标签里面显示文字,在这两个标签之上定为(position:absolute)一个input复选框(不可见),点击input时 i标签和变span换样式,但是再点击时,再i标签和span标签上不能选中;代码如下:div{position:relative;}i{disp
2017-07-05 10:47:38
2096
原创 visibility在ie 伪类元素下的表现
当我有有一个元素span,并且其有伪类元素::before{content:"123",...}当在除ie浏览器外的其他浏览器下:给span标签一个属性visibility:hidden,其伪类元素也会跟着消失,但是当在伪类元素中添加visibility:visible时,伪类元素可见。在ie浏览器下:给span标签一个属性visibility:hidden,其伪类元素也会跟着消失
2017-07-04 14:05:44
548
转载 window.location.replace 在ie下不起作用
有3个页面(a.html, b.html, c.html).默认打开a.html页面,然后在a.html页面中通过一个链接转向b.html页面。现在,我在b.html页面中用window.location.replace("c.html");与用window.location.href("c.html");分别进入c.html页面.从用户界面来看是没有什么区别的,但是现在c.html页
2017-07-04 13:54:05
3469
原创 h5 download 兼容性
$scope.download= function () {AttachmentService.download().success(function(data){varfilename = $stateParams.type+ $stateParams.id+ '.zip';
2017-06-28 23:47:56
2135
原创 angular ng-change $event undefined
今天用到ng-change事件,但是打印其$event时发现为undefined,网上找了些解释,以下为觉得解释的较为明白的。ngChange is an directive, not an event-handler. The working is quite different. ngChange works by setting an scope.$watch, ngCl
2017-06-28 23:43:56
1783
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅