一下午一个这破问题,浪费了不少时间,怎么也实现不了我的上上级iframe 刷新。NND。实现了,记录一下下吧: window.parent.parent.document.getElementById("content_frame").contentWindow.location.reload();...
分类:
Web程序 时间:
2014-07-29 11:14:16
阅读次数:
221
#finalPyPong.pyimport pygame,sysclass MyBallClass(pygame.sprite.Sprite): def __init__(self,image_file,speed,location=[0,0]): pygame.sprite.S...
分类:
编程语言 时间:
2014-07-29 11:02:36
阅读次数:
404
一,响应报头 响应报头允许服务器传递不能放在状态行中的附加响应信息,以及关于服务器的信息和对Request-URI所标识的资源进行下一步访问的信息常用的响应报头Location Content-Type Referer二,在Servlet中设置HTTP响应报头HttpServletResponse....
分类:
其他好文 时间:
2014-07-28 19:15:44
阅读次数:
737
直接在阿里云上进行配置
然后进入nginx/conf/nginx.conf 中添加
注意是放在server里面
location ~ \.php$ {
root /home/jsckdao/www; #这是你网站的根目录
fastcgi_pass 127.0.0.1:3344; #这里指定了f...
分类:
Web程序 时间:
2014-07-28 16:29:23
阅读次数:
274
本篇主要介绍一些常用的IO操作,对文件和目录的操作;留给自己复习之用。1.创建文件 string sPath1=Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); string ...
分类:
其他好文 时间:
2014-07-28 15:27:43
阅读次数:
288
1 #region 生成验证码图片 2 //[OutputCache(Location = OutputCacheLocation.None, Duration = 0, NoStore = false)] 3 public ActionResult Sec...
分类:
Web程序 时间:
2014-07-28 15:21:54
阅读次数:
274
var s = PointToScreen(txt1.Location); 获取控件的坐标 var s = PointToScreen(控件名.Location); txt1中txtbox控件名
分类:
其他好文 时间:
2014-07-28 03:01:29
阅读次数:
167
Problem Description
FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q < n. At e...
分类:
其他好文 时间:
2014-07-28 00:02:49
阅读次数:
319
ViewFunctionality--------------->逻辑Data----------------------->实体,包括从View、Net、其他对象比如Location,Cookie等获得的数据StorageNet
分类:
移动开发 时间:
2014-07-27 22:31:09
阅读次数:
221
在搭建struts2框架时jsp页面的如果struts.xml文件中配置了namespace="/login"上面的action属性不能加.action后缀如果struts.xml文件中没有配置namespace则需要加上.action * index.jsp直接指向login.jsp,通过访问.....
分类:
移动开发 时间:
2014-07-27 21:36:25
阅读次数:
227