Html & Script

전체창으로 띄우기 2 (작업표시줄표시)

페이지 정보

본문

------------------------------------------------------

<script type=text/javascript>
var win= null;
function NewWindow(mypage,myname,w,h,scroll,toolbar,directories,location,status,menubar,scrollbars,resizable,copyhistory){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
</script>

<a href="http://user.chol.com/~pilasry/frameset/index_main.htm" onclick="NewWindow(this.href,'name','100%','100%','no','no','no','no','no','no','no','no','no');return false" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'http://user.chol.com/~pilasry/photo1.jpg', true, this.style.cursor='hand');"><img src="http://user.chol.com/~pilasry/photo.jpg" width="680" height="466" border="0" name="image1"></a></p>


-------------------------------------------------------

<script language="JavaScript">

function pop(pPage,pName,Opt) {
/*
//var sc_x = screen.availWidth - 10;
//var sc_y = screen.availHeight - 30;

var sc_x = 1000;
var sc_y = 730;

Opt = "width=" + sc_x + ",height="+sc_y+","+ Opt;
alert(Opt);
*/

 popUpWin = window.open(pPage,pName,Opt);

 popUpWin.focus();
 }
//-->
</script>
<BODY>

<a href="javascript:pop('http://daum.net,'nuno','scrollbars=yes,status=no,toolbar=no,top=0,left=0,resizable=no')">여기</a>

관련자료

Today's proverb
우정에 정력을 쏟아라. 그러면 당신에게 돌아오는 대가는 놀라울 만큼 만족스러울 것이다. 친구들이 당신을 필요로 할 때 당신이 그들에게 도움을 준다면, 당신이 후원과 위안을 얻기 위해 그들을 필요로 할 때 좋은 친구들이 도움을 줄 것이다. 롱펠로우가 말했듯이 친구를 가지려면 친구가 되어라. (어니 젤린스키 "결혼하지 않는 즐거움"中에서)