求教自动弹出小窗口并自动消失问题 能不能实现在点击了一个按钮之后,在click事件中用if,else判断好了然后自动在右下角弹出一个提示框,并自动消失呢??找了好多资料都没有实现这个效果,望高手指点下啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Thread.Sleep(1000); 用这个看可以吗? http://blog.csdn.net/qiuzhengxiang/archive/2008/08/27/2840596.aspx是这样的效果吗?? 这个可以,你看符合要求不<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>右下角弹出框</title></head><style type="text/css">#rbbox{position:absolute;right:0;bottom:0;width:300px;height:0px;overflow:hidden}.button{display:inline;float:right;font-size:12px;cursor:pointer}</style><body><div id="rbbox"><a class="button" onclick="closeBox()">关闭</a><iframe src="http://kyouj.com/3/" frameborder="0" height="190" width="300" scrolling="no"></iframe></div></body></html><script language="javascript" type="text/javascript">window.onload=function(){showBox();setTimeout("closeBox()",5000)}function showBox(o){ if (o==undefined) o=document.getElementById("rbbox"); o.style.height=o.clientHeight+2+"px"; if (o.clientHeight<200) setTimeout(function(){showBox(o)},5);}function closeBox(){document.getElementById("rbbox").style.display="none";}</script> 网站不同栏目目录采用不同验证方式的配置问题(Form) SQL TREE 系统更新导致的问题[数据重要,有点着急。。] 求弹出类似于Csdn弹出层的JS代码或思想! 发布网页之前要不要将网页进行编译 新手求助,有点经验的都来帮帮吧 请问com组件和NET Framework组件有什么区别!! 关于用户控件问题 请问这种类型的数据库显示怎么做? 大家来看这两个帖子!! 为什么我的网页有的人可以打开有的人打不开? 关于js控制div和iframe 高度 只能伸长 不能缩短??
是这样的效果吗??
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>右下角弹出框</title>
</head>
<style type="text/css">
#rbbox{position:absolute;right:0;bottom:0;width:300px;height:0px;overflow:hidden}
.button{display:inline;float:right;font-size:12px;cursor:pointer}
</style><body>
<div id="rbbox"><a class="button" onclick="closeBox()">关闭</a><iframe src="http://kyouj.com/3/" frameborder="0" height="190" width="300" scrolling="no"></iframe></div>
</body>
</html>
<script language="javascript" type="text/javascript">
window.onload=function(){showBox();setTimeout("closeBox()",5000)}
function showBox(o){
if (o==undefined) o=document.getElementById("rbbox");
o.style.height=o.clientHeight+2+"px";
if (o.clientHeight<200) setTimeout(function(){showBox(o)},5);
}
function closeBox(){document.getElementById("rbbox").style.display="none";}
</script>