//判断iframe是否加载完成,RMid为iframe的ID
document.getElementById("RMid").onload = function () {
alert("加载完成");
}
//在父框架操作iframe页面里的AddReceipt2方法
window.frames["RMid"].AddReceipt2();...
分类:
其他好文 时间:
2014-06-09 23:16:14
阅读次数:
238
cocos2d 笔记
目录介绍
cocosdx ----->cocos2d主要代码
CocosDenshion---->cocos2d的声音的
Document------>文档
extensions ---->cocos2d一些拓展
projects ----->一些工程
samples------>cocos2d的一些提供的案例
scripting ----->脚...
分类:
其他好文 时间:
2014-06-08 18:21:51
阅读次数:
194
今天有个需求:点击某个按钮之后,弹出对话框,然后无论如何点击都做同样的事情。主要代码如下:
function dialogues(){
var r = window.confirm();
var form1 = document.getElementById("form1");
if(r) form1.action = "";
else ...
分类:
其他好文 时间:
2014-06-08 15:52:57
阅读次数:
179
delta的值是负的即-1,那么滚轮就是向下滚动,正的1就是向上。
插件方法:
1.为了监听滚轮事件,该插件引入了mousewheel事件,所以我们可以监听元素的mousewheel事件
2.该插件还提供了元素快捷方法mousewheel和unmousewheel用于监听和去掉元素对鼠标滚轮事件支持
$(document)
.mous...
分类:
Web程序 时间:
2014-06-08 14:58:49
阅读次数:
263
摘自http://www.west263.com/info/html/wangyezhizuo/css/20080225/42390.html
当我们制作页面的时候,总会在它的源码头部看到一串声明,比如最常见的
如果我们把这些代码去掉,会发现页面可能会有比较明显的变化,因为这样造成了有些样式的表现不一样。
这些代码我们称做DOCTYPE声明。DOCTYPE是document type(文...
分类:
Web程序 时间:
2014-06-08 10:25:52
阅读次数:
302
后缀MIME
類型.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document.docmapplication/vnd.ms-word.document.macroEnabled.12.dotxapplica...
分类:
其他好文 时间:
2014-06-08 07:13:38
阅读次数:
269
今天写代码遇到这样一个问题,先上代码 1 2 function textout(obj){ 3
if(opac==60){opac=0;return;}; 4 opac+=10; 5 if(document.all){ 6
obj.style.filter=...
分类:
Web程序 时间:
2014-06-08 06:23:46
阅读次数:
277
获取标题,当点击时弹窗 $(document).ready(function(){ var
options = { chart: { plotBackgroundColor: null, plotBorderWidth: null,
plotShadow: fal...
分类:
其他好文 时间:
2014-06-07 23:49:15
阅读次数:
395
LayoutsIn this document 在这个文档Write the
XML写XML文件Load the XML Resource加载xml资源Attributes属性ID IdLayout
Parameters布局参数Layout Position 布局位置Size, Padding .....
分类:
其他好文 时间:
2014-06-07 22:05:56
阅读次数:
399
做手机Web开发做浏览器兼容用到了,所以在网上找了些汇总下。alert($(window).height()); //浏览器当前窗口可视区域高度
alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());...
分类:
Web程序 时间:
2014-06-07 20:10:32
阅读次数:
312