今天有一个同学问我怎么搞一个浮动窗。结果他们没有网站的源码,也没有修改的权限。 以下是示例 html css js ...
分类:
其他好文 时间:
2018-09-08 11:42:41
阅读次数:
298
添加并移除名为‘color’的属性: $('button').click(function () { var $x = $('div') $x.prop('color', 'f00') $x.append('The color 属性:' + $x.prop('color')) $x.removePr ...
分类:
Web程序 时间:
2018-09-07 19:13:06
阅读次数:
2765
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } .c-container{ } .c-container ul{ ...
分类:
其他好文 时间:
2018-09-06 16:21:48
阅读次数:
140
数据表格字段: {field: 'novelId', title: '小说ID',width:100,templet: '<div><a href="javascript:;" _href="/contentManage/content-chapters.html" novelName="{{d.n ...
分类:
其他好文 时间:
2018-09-05 21:36:15
阅读次数:
1004
弹出层或者下拉菜单被下面的 层遮挡住了解决办法 弹出层或者下拉菜单被下面的<div>层,或者jquery图片切换屋遮挡住了解决办法。这个一般是屋设置了position属性,如POSITION: relative;解决这个办法在当前层设置z-index都是无效的,即使将弹出层所在父层的z-index设 ...
分类:
其他好文 时间:
2018-09-03 17:19:13
阅读次数:
453
参考文章:深入理解 Promise、【翻译】Promises/A+规范 从入门Promise的正确姿势中我们已经了解到Promise的基本用法。那么现在给你一个需求:根据Promise的用法和Promise/A+规范,实现一个自己的Promise函数。 1、Promise构造函数的结构 根据Prom ...
分类:
其他好文 时间:
2018-09-03 12:04:37
阅读次数:
157
Recently, I joined on a program about the chrome extension and met with some problem that is about web cross doamin. so I collect some information abo ...
分类:
Web程序 时间:
2018-09-01 18:07:37
阅读次数:
165
疑问:为什么this.style.backgroundColor = oldColor中的this不能用$("tbody tr")[i]代替?? ...
分类:
Web程序 时间:
2018-08-31 23:24:56
阅读次数:
203
position();获取当前标签相对于最近一个父标签中有positon:relative属性的位置。 height();标签纯高度 innerHeight();标签内边距padding加上纯高度 outerHeight();标签边框高度加上纯高度 outerHeight(true);标签外边距ma ...
分类:
Web程序 时间:
2018-08-31 13:20:39
阅读次数:
183