码迷,mamicode.com
首页 >  
搜索关键字:element    ( 12012个结果
工作中有关web安全的片段记录(不定时更新)
1、有关html/css, js, php, cgi 的一些认识        当我们浏览器访问一个站点的静态文件,会把文件内容都下载下来(一般压缩),当然如果遇到外联的css/js,会再发起请求得 到。如果我们右键查看网页源代码,一片混乱没法看,可以使用firefox + firebug,可以清晰看到html dom tree,右键inspent  element 可以很快定位到tree...
分类:Web程序   时间:2014-10-26 21:24:24    阅读次数:279
如何修改element.style样式
相信很多朋友在修改主题css时遇到过一些问题,比如说出现这个elememt.style,这个有时候无法直接修改,因为找不到。因此可以通过css中的 !important 语法优先权来实现我们想要的效果。举个例子:默认情况下上面的背景颜色是绿色,我们找不到element.style该怎么修改呢,这时候...
分类:其他好文   时间:2014-10-26 16:55:53    阅读次数:170
xhtml element
block element * address - 地址 * blockquote - 块引用 * center - 举中对齐块 * dir - 目录列表 * div - 常用块级容易,也是css layout的主要标签 * dl - 定义列表 * fieldset - form控制组...
分类:Web程序   时间:2014-10-26 16:54:43    阅读次数:220
leetcode - Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal i...
分类:其他好文   时间:2014-10-26 14:25:29    阅读次数:172
LeetCode--Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:其他好文   时间:2014-10-26 11:34:46    阅读次数:243
[Leetcode] Remove Element
题目:Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't ...
分类:其他好文   时间:2014-10-26 00:20:26    阅读次数:259
[Leetcode] Remove Duplicates From Sorted Array
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:其他好文   时间:2014-10-25 22:57:43    阅读次数:155
concurrent之BlockingQueue
BlockingQueue 是接口 阻塞队列常用的方法有:抛出异常特殊值阻塞超时插入add(e)offer(e)put(e)offer(e, time, unit)移除remove()poll()take()poll(time, unit)检查element()peek()不可用不可用实现它的类有:...
分类:其他好文   时间:2014-10-25 21:22:50    阅读次数:206
leetcode - Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place with...
分类:其他好文   时间:2014-10-25 18:51:14    阅读次数:143
JS兼容性问题---Element.style.top
题目: 设置元素的top样式方案:ele.style.top = "0px";不兼容浏览器: 所有IE浏览器原因: IE浏览器的top值为数值型, left、right、bottom同样受影响解决方案:if (!(ele.style.top = "0px")) { ele.style.top ...
分类:Web程序   时间:2014-10-25 18:43:36    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!