欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

js中window.open打開一個新的頁面

 更新時間:2014年08月10日 09:17:08   投稿:whsnow  
js中window.open打開一個新的頁面,其實它的參數(shù)有很多,在本例沒有涉及到,感興趣的朋友可以研究下
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<title>Insert title here</title> 
<script type="text/javascript"> 
/* 打開同一個新的頁面,不會再次打開新頁面 */ 
function open1(){ 
  window.open("html01.html","aaa"); 
} 
function open2(){ 
  window.open("html02.html","aaa"); 
} 
</script> 
</head> 
<body> 
  <a href="#" rel="external nofollow" rel="external nofollow" onclick="open1()">點擊進入1</a> 
  <a href="#" rel="external nofollow" rel="external nofollow" onclick="open2()">點擊進入2</a> 
</body> 
</html>

相關(guān)文章

最新評論