亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 818 | 回復(fù): 0
打印 上一主題 下一主題

備忘 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2007-08-30 12:35 |只看該作者 |倒序?yàn)g覽
1、無(wú)提示關(guān)閉窗口

2、防止被人iframe
if (top.location != self.location)
{
  top.location.href="
http://www.34do.net
";
}
3、判斷一個(gè)對(duì)象存在不存在
document.all("a")==null(不存在)
4、彈出子窗口
window.open ('default.asp', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')
5、打開(kāi)模態(tài)窗口
window.showModalDialog('default.asp',window,'help: No; resizable: No; status: No;scrollbars:No;center: Yes;dialogWidth:width;dialogHeight:height;')
6、彈出的子窗口刷新父窗口
window.parent.location.reload();
7、模態(tài)窗口刷新父窗口
window.parent.dialogArguments.document.execCommand('Refresh');
8、一個(gè)js文件包含另外一個(gè)js文件
document.write('');
9、讓文字豎著寫(xiě)
佛羅倫
10、iframe引用自己
window.parent.document.getElementById("iframe_dg")
這樣在iframe文件里就可以操作它自己,比如:window.parent.document.getElementById("iframe_dg").height=200
11、根據(jù)內(nèi)容自動(dòng)調(diào)整IFrame高度
function autoSetIframeSize()
{
  var obj=self.parent.parent.document.all[self.name];
  if(obj!=null)
  {
    self.parent.parent.document.all[self.name].style.pixelHeight=self.document.body.scrollHeight+5;
  }
}
必須定義iframe的name屬性
將a.asp的修改為:
12、為單元格添加漸變色效果(ie支持,firefox不支持)
.bg3
{
  FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#842B00, EndColorStr=#FFFFFF);
}
效果如圖

13、定時(shí)執(zhí)行任務(wù)
規(guī)定一項(xiàng)任務(wù)在一定時(shí)間內(nèi)執(zhí)行:delayID=setTimeout(vCode, iMilliSeconds),在需要的時(shí)候,可以強(qiáng)制停止該任務(wù):clearTimeout(delayID)
14、自動(dòng)選中復(fù)制
選中我并復(fù)制我
15、產(chǎn)生隨機(jī)數(shù)
VB的Rnd函數(shù)產(chǎn)生的隨機(jī)數(shù)范圍為0-1。假如要從(min,max)這個(gè)范圍內(nèi)隨機(jī)抽取一個(gè)數(shù),具體公式如下: 隨機(jī)數(shù) = (max - min) * Rnd() + min,min和max可以是任意整數(shù),只是min

本文來(lái)自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u/27608/showart_371097.html
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP