求点击按钮弹出比较美观的页面窗口代码 求点击按钮弹出比较美观的页面窗口代码。。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ext js 比较不错,推荐使用。 对啊,要界面效果,用Extjs就行了,华丽到不行... <html><body><div id="dd" style="position:absolute;top:200;left:300;display:none;width:80px;height:60px;z-index:100;background:white;"><table cellspacing="0" cellpadding="0" width="420" align="center" border="0"> <tr> <td height="25">管理员帐号</td> <td height="25"><input id="username" style="FONT-SIZE: 9pt; WIDTH: 120px; COLOR: black" maxlength="18" name="username" /></td> <td height="25"><input id="Button1" type="submit" value="管理登陆" name="Button1" /></td> </tr> <tr> <td height="25">管理员密码</td> <td height="25"><input id="userpwd" style="FONT-SIZE: 9pt; WIDTH: 120px; COLOR: black" type="password" maxlength="18" name="userpwd" /> <input name="action" type="hidden" id="action" value="login" /></td> <td height="25"><input type="reset" name="Submit" value="清除再来" /></td> </tr> </table></div><div id="d" style="position:absolute;top:0;left:0;width:800px;height:600px;filter:alpha(opacity=50);background:gray;display:none;z-index:88"> </div><input type="button" value="sdfsdfsdf" onclick="add()"/><script>var divh=0,divw=0;var num;function add(){document.getElementById("d").style.display="";document.getElementById("dd").style.display="";var w=document.body.scrollWidth;var h=document.body.scrollHeight;document.getElementById("d").style.width=w;document.getElementById("d").style.height=h;num=setInterval("divchange()",10);}function divchange(){divh+=4;divw+=10;if(divh<200){document.getElementById("dd").style.height=divh;document.getElementById("dd").style.width=divw;document.getElementById("dd").style.top=300-divh/2;document.getElementById("dd").style.left=500-divw/2;}elseclearInterval(num);}</script> </body></html> 下拉框友情链接的最佳实现 jquery ui dialog里嵌套iframe打开其他dialog时,会刷新前一个dialog HighChart做历史曲线,无数据的部分是否可以断开? .js文件的传递参数问题 如何横向打印????????? 定时自动刷新导致页面无法显示!!!请各位大虾帮忙!!!急!!!在线等!! 这个问题怎么解决 怎样在已有的表格下新增一行输入框,javaScript如何来实现??百分相送!多谢!! 有没有这种写法 jquery中如何把数字字符串转成*号显示 JavaScript伪代码在IE8浏览器下不能运行的问题 如何用JS制作那种带过度效果的图片切换
<html>
<body>
<div id="dd" style="position:absolute;top:200;left:300;display:none;width:80px;height:60px;z-index:100;background:white;">
<table cellspacing="0" cellpadding="0" width="420" align="center" border="0">
<tr>
<td height="25">管理员帐号</td>
<td height="25"><input id="username" style="FONT-SIZE: 9pt; WIDTH: 120px; COLOR: black" maxlength="18" name="username" /></td>
<td height="25"><input id="Button1" type="submit" value="管理登陆" name="Button1" /></td>
</tr>
<tr>
<td height="25">管理员密码</td>
<td height="25"><input id="userpwd" style="FONT-SIZE: 9pt; WIDTH: 120px; COLOR: black" type="password" maxlength="18" name="userpwd" /> <input name="action" type="hidden" id="action" value="login" /></td>
<td height="25"><input type="reset" name="Submit" value="清除再来" /></td>
</tr>
</table></div>
<div id="d" style="position:absolute;top:0;left:0;width:800px;height:600px;filter:alpha(opacity=50);background:gray;display:none;z-index:88">
</div><input type="button" value="sdfsdfsdf" onclick="add()"/>
<script>
var divh=0,divw=0;
var num;
function add()
{
document.getElementById("d").style.display="";
document.getElementById("dd").style.display="";
var w=document.body.scrollWidth;var h=document.body.scrollHeight;
document.getElementById("d").style.width=w;
document.getElementById("d").style.height=h;num=setInterval("divchange()",10);
}function divchange(){divh+=4;divw+=10;
if(divh<200)
{
document.getElementById("dd").style.height=divh;
document.getElementById("dd").style.width=divw;
document.getElementById("dd").style.top=300-divh/2;
document.getElementById("dd").style.left=500-divw/2;
}
elseclearInterval(num);
}
</script> </body>
</html>