压力单位MPa、Psi和bar之间换算公式1bar=10^5PaPsi为英制压力单位.“磅力每平方英寸(1bf/in2)为1psi=6894.76 pa; 1bar等于10的5次方=10^5 pa ;1atm等于一个标准大气压=101325pa ;1at等于一project大气压(千克力每平方厘米k...
分类:
其他好文 时间:
2015-05-07 20:06:47
阅读次数:
118
$(window).scroll(function(){ var scrollTop = $(this).scrollTop(); var scrollHeight = $(document).height(); var windowHeight = $(this).height(); if...
分类:
其他好文 时间:
2015-05-07 15:57:38
阅读次数:
122
无标题文档
$(function(){
$("#showInfo").scroll(function(){
if($(this).height()+$(this).scrollTop()==$("#innerInfo").outerHeight(true)){
var str="你好"+new Date()+""+"你好"+new Date()+""+"你好"+new Date()...
分类:
其他好文 时间:
2015-05-07 12:33:12
阅读次数:
116
How can I (automatically) move to the currently playing track in the playlist?[edit] By default, double-clicking the status bar will highlight the cur...
分类:
其他好文 时间:
2015-05-07 11:55:03
阅读次数:
224
Trapping Rain Water
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.
For example,
Given ...
分类:
移动开发 时间:
2015-05-06 17:52:41
阅读次数:
142
场景:在一个panel里面有非常多的自定义绘制的控件,在拖拉滚动条的时候,控件的画面上有残影不知道大家遇到过这种情况没,一直做web的winform经验太少,有更好的解决办法请贡献首先放出我的解决思路:需要再滚动停止的时候重绘一下控件,panel的所有事件都加了一个打印输出,发现,滚动条在滚动的时候...
前面一篇文章中介绍了lua给下面代码生成最终的字节码的整个过程,这次我们来看看lua vm执行这些字节码的过程。1 foo = "bar"2 local a, b = "a", "b"3 foo = a生成的字节码如下所示:之前lua是在luaY_parser函数(入口)中完成了lua脚本的解析生成...
分类:
其他好文 时间:
2015-05-05 21:12:39
阅读次数:
178
1.overFlow: visible却省值,没有DIV滚动条,根据内容自动扩撑区域的大小,即定义的区域无效 scroll总是显示滚动条 hidden没有滚动条,超出区域的内容不可见 auto根据内容自动判断是否添加滚动条 2.DIV滚动条颜色属性: face-color:滑块颜色 hightlig...
分类:
其他好文 时间:
2015-05-05 16:07:00
阅读次数:
121
info.plist文件中,View controller-based status bar appearance项设为YES,则View controller对status bar的设置优先级高于application的设置。为NO则以application的设置为准,view controlle...
分类:
移动开发 时间:
2015-05-05 14:09:41
阅读次数:
168
安卓开发项目文件中有一个目录叫做menu,里面有tybmain.xmlitem选项里有一句 android:showAsAction = "never"那么这句话是做什么用的呢?原来是特定版本用到的,当你的应用程序目标设为蜂巢平台(即 Android 3.0)时,你可以利用Action Bar部件提...
分类:
移动开发 时间:
2015-05-05 12:00:43
阅读次数:
166