怎么退出整个框架如:最简单的方法:Response.Write( "
");退出登录详细介绍:下面的表格列出了 window 对象某些属性的相关信息。 属性 方法 描述 opener open opener 属性仅在使用
window.open 方法打开的页面中可用。 parent, top 无 ....
分类:
其他好文 时间:
2014-05-14 02:18:17
阅读次数:
308
导入两个包:
import android.view.Window;
import android.view.WindowManager;
public class MainActivity extends ActionBarActivity {@Override protected void onCreate(Bundle savedInstanceState) { super.onCrea...
分类:
移动开发 时间:
2014-05-13 23:19:51
阅读次数:
509
TriangleGiven a triangle, find the minimum path
sum from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given...
分类:
其他好文 时间:
2014-05-13 18:51:44
阅读次数:
297
在window下查看ip情况是ipconfig在Linux下查看是ip是
ifconfigwindow装上虚拟机后,会虚拟出两个网卡 vmnet1 vmnet8在window下用ipconfig在VMware
Workstation中,默认有3个虚拟交换机,分别是VMnet0(使用桥接网络)、VMn...
分类:
系统相关 时间:
2014-05-13 18:41:26
阅读次数:
402
在Android模拟器下,创建个大屏幕的AVD,每次运行都弹出“Unfortunately,
System UI has stopped”!解决方法是:修改AVD下的config.ini中的hw.mainKeys,由no
改为yes!Windows下,其路径在:C:\Users\RaulYang\....
分类:
其他好文 时间:
2014-05-13 09:42:33
阅读次数:
376
在虚拟机下来实现在windows下共享一个文件夹:
(前提已安装完成vmtools:http://blog.csdn.net/pipisorry/article/details/21318931)
打开VMware->工具栏—>虚拟机->选择 设置->选项 共享文件夹
点添加,按提示来添加一个windows下的文件夹。在/mnt/hgfs下就是你在windows下共享的文件夹了...
//need to wait until onload so body is available
window.onload = function(){
function getWindowWidth(){
if (window.innerWidth){
ret...
分类:
Web程序 时间:
2014-05-13 07:37:26
阅读次数:
394
可以用递归简洁的写出,但是会超时。
dp嘛。这个问题需要从后往前算,最右下角的小规模是已知的,边界也很明显,是最后一行和最后一列,行走方向的限制决定了这些位置的走法是唯一的,可以先算出来。然后不断的往前推算。
用distance[i][j]保存从当前位置走到最右下角所需的最短距离,状态转移方程是从distance[i+1][j]和distance[i][j+1]中选一个小的,然后再加上自身的。...
分类:
其他好文 时间:
2014-05-13 00:13:56
阅读次数:
339
帖子:http://bbs.csdn.net/topics/390785395?page=1#post-397369340
如何将拖拉事件跟点击事件分离?
需要做到:拖拉时不触动点击事件
js拖拽组件1
window.onload = function(){
Dra...
分类:
Web程序 时间:
2014-05-12 23:40:55
阅读次数:
471
有时候用到Android模拟器来模拟SD卡相关操作,在Eclipse中可以直接查看SD卡目录;
首先,新建模拟器的时候要创建SD卡,存储的大小根据需要创建;
启动模拟器,在Eclipse中打开视图窗口:Window--Show View--File Explorer;
可以看到下面有mnt目录,mnt--sdcard 就是SD卡的目录,
也就是代码中 Environment...
分类:
移动开发 时间:
2014-05-12 22:38:13
阅读次数:
498