
js/css/html
kuaile112
这个作者很懒,什么都没留下…
展开
-
弹出框窗口的父窗口的获取
通常使用window.open的方式开启新窗口的话要取得父窗口的控件,可以用window.opener来取得父窗口 然而如果使用showModalDialog的话...却无效如果有需要的话,需要修改开启的语法以及showModalDialog中的语法 开启语法第2个参数请下self,范例如下 var rc=window.showModalDialog(strURL,self,sFeat...2010-03-08 17:51:59 · 690 阅读 · 0 评论 -
对表单数字值的改进
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <2010-03-30 13:57:11 · 89 阅读 · 0 评论 -
是iframe看起来和页面是一个整体,没有凹下去的感觉
<iframe iframeborder="0"></iframe>2010-03-03 11:22:13 · 168 阅读 · 0 评论 -
iframe自适应高度
<script language="JavaScript" type="text/JavaScript"> <!-- function autoResize() { try { document.all["iframe1"].style.height=iframe1.document.body.scrollHeight } catch(e...2010-03-03 11:23:33 · 88 阅读 · 0 评论 -
table的边框线设置
<table class="t FCK__ShowTableBorders" cellspacing="0" cellpadding="8" width="600" border="0"> <tbody> <tr> <td width="220&qu2010-03-03 14:23:06 · 389 阅读 · 0 评论 -
使table的border变细
<table width="80%" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" bordercolorlight="#FFFFFF" bordercolordark="#000000"> <tr2010-03-03 14:39:57 · 129 阅读 · 0 评论 -
form提交后弹出不带状态栏窗口
<script language="javascript"> function xxx() {win = window.open("","xxx","width=100,height=100")} </script> <form action="xxx.asp" target="xxx" onsubmit="r原创 2010-06-01 14:59:12 · 116 阅读 · 0 评论