![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html css
墨梓霖
JAVA爱好者
展开
-
彻底解决 Flash 挡住遮罩层
1.在Object标签内,加入 <param name="wmode" value="transparent"> <param name="wmode" value="Opaque"> 如果添加了上面2个属性在IE下还不能解决,那么,请仔细检查,他是否用JS或者其他前端脚本 设置了Object的属性。我之前也是设置了上面的属性原创 2011-12-29 11:38:51 · 747 阅读 · 0 评论 -
IFrame关闭了,但页面中的定时器依然在执行
1.JQuery方式 $("iframe").attr("src","javascript:false"); 2.js方式 document.getElementById("iframe").src="javascript:false";原创 2011-12-29 17:39:47 · 1118 阅读 · 0 评论 -
点击按钮实现文件上传
通过点击按钮实现上传的主要目的是对用户友好。新浪微博则是通过点击文本实现图片上传。一个简单的例子:<form method="post" action="http://localhost/" enctype="multipart/form-data"> <input type="button" value="请选择文件" size=&qu原创 2012-04-24 14:17:36 · 1884 阅读 · 0 评论 -
window.open让窗口最大化
下面的代码能让 新打开的页面自动最大化 window.open(url,"",'left=0,top=0,width='+ (screen.availWidth) +',height='+ (screen.availHeight) +',scrollbars,resizable=yes,toolbar=no'); ...原创 2012-01-30 15:54:09 · 222 阅读 · 0 评论 -
IFrame 跨域自适应高度 JQuery
转自:http://blog.csdn.net/helloint/article/details/5823346原创 2012-03-30 11:32:31 · 95 阅读 · 0 评论