<html>

<head>
<script language="javascript">

/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}

</script> 
</head>

<body>

<a href="http://wsabstract.com" onclick="NewWindow(this.href,'name','400','400','yes');return false">Website Abstraction</a>

</body>

</html>

'script' 카테고리의 다른 글

이미지 미리 로딩  (0) 2014.02.28
마우스 오버시 나타나는 메뉴  (0) 2012.02.17
롤오버시 배경색 변화  (0) 2012.02.17
스크린 사이즈  (0) 2012.02.17
툴팁 하단 텍스트  (0) 2012.02.17

+ Recent posts