Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining....
分类:
移动开发 时间:
2014-09-01 21:01:33
阅读次数:
220
C#WebBrowser控件使用教程与技巧收集--苏飞收集先来看看常用的方法[C#]纯文本查看复制代码?010203040506070809101112131415161718192021222324Navigate(string urlString):浏览urlString表示的网址Nav...
分类:
Web程序 时间:
2014-09-01 12:27:03
阅读次数:
268
今年秋招,阿里有道前端试题:用js实现getElementsByClass,简单说下,该函数主流浏览器都支持(除了ie8),那么该如何处理ie8呢?用querySelectorAll函数,var elems = document.querySelectorAll('.foo.bar');不过貌似ie...
分类:
Web程序 时间:
2014-08-31 17:13:31
阅读次数:
238
iOS 7 按钮无边框,操作栏透明,控制器全屏
Auto Layout会帮助app自动调整新的UI元素度量,
并且对字号自动动态调整。
iOS 7,app的图标尺寸是120 x 120像素(高分辨率下)。提供包含 状态栏部分的图像。
iOS 7,视图控制器统一采用了全屏视图
自定义bar的icon。
使用Auto Layout帮助你的app完成相...
分类:
移动开发 时间:
2014-08-29 18:19:38
阅读次数:
449
注:代码:所有的宽度都应该写%或em,不应该用px。效果如下图:代码如下: 建站指导.nav_bg{ width: 100%; height: 70px; background: url('images/ico2.png') no-repeat 7em center #e60012;}.nav...
分类:
其他好文 时间:
2014-08-29 12:48:57
阅读次数:
225
1,if ([[[UIDevice currentDevice] systemVersion] floatValue] < 7.0) { [application setStatusBarStyle:UIStatusBarStyleDefault]; } else { [applica...
分类:
移动开发 时间:
2014-08-29 12:35:47
阅读次数:
164
<!--?Base?application?theme?is?the?default?theme.?-->
<style?name="Theme"?parent="android:Theme"></style>
<!--?Variation?on?the?Holo?Light?theme?that?styles?the?Action?Bar?...
分类:
其他好文 时间:
2014-08-28 17:04:11
阅读次数:
244
2.2 如何运用布尔算子?AND(且)是缺省使用的布尔算子。例如:如果要搜索foo和bar同时出现的文件:foo bar如果从两者之中任一个都可以,则用|介于两者之间。例如:如果要搜索.jpg或.bmp文件:.jpg | .bmp(注:在|两侧有空格)。2.3 如何运用通配符?通配符*可以匹配任意长...
分类:
其他好文 时间:
2014-08-28 16:53:00
阅读次数:
209
实例见锐意先行《手机test》中《手机test5》。针对a写两段样式:.nav_ul > li > a { display: block; background: url('images/down.png') no-repeat scroll right center transparent; pa...
分类:
Web程序 时间:
2014-08-28 13:04:09
阅读次数:
544
一、兼容类库ActionBarSherlock: Action Bar是Android 3.0后才开始支持的,ActionBarSherlock是让Action Bar功能支持2.X后的所有平台,而且他会自动的判断是调用原生Action Bar还是使用扩展ActionBar。在我的小熊词典里有用到这...
分类:
移动开发 时间:
2014-08-27 18:20:58
阅读次数:
406