2007년 8월 17일 금요일

팝업관련 자바스크립트

1. 옵션을 HEAD안에...
<script language="JavaScript">
function openNewWindow(window) {
open (window,"NewWindow","left=0, top=0, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, width=200, height=200");
}
</script>
<a href=javascript:openNewWindow("주소입력")>새창열기</a>

2. 링크에 옵션을 지정...
<a href="javascript:;" onclick="window.open('주소입력','name','resizable=no width=200 height=200');return false">새창열기</a>

* 옵션 *
새창 뛰울때 용도에 맞게 옵션 설정을 해줍니다. "YES" 또는 "NO" 로 지정 해주면 됩니다.
menubar - 파일, 편집, 보기....부분
toolbar - 뒤로, 앞으로, 새로고침 아이콘등이 있는 부분
directories - 연결 디렉토리가 표시되는 부분
location - 주소 입력창
status - 아래 브라우저 상태 바
scrollbars - 스크롤
resizable - 리사이즈 옵션



1.자동 띄우기

팝업창에 삽입
<html>
<head>
<title></title>
<script language="javascript">
<!--
function pop(){
window.open("팝업창파일", "pop", "width=400,height=500,history=no,resizable=no,status=no,scrollbars=yes,menubar=no")
}
//-->
</script>
</head>
<body onload="javascript:pop()">
이벤트 팝업창을 띄우기
</body>
</html>  


2.프레임이 있는 팝업창 닫기

팝업창에 삽입
<html>
<head>
<title></title>
<script language="Javascript">
<!--
function frameclose() {
parent.close()
window.close()
self.close()
}
//-->
</script>
</head>
<body>
<a href="javascript:frameclose()">프레임셋 한방에 닫기</a>
</body>
</html>


3.팝업창 닫고 프레임이 없는 부모창에서 원하는 페이지로 이동하기

팝업창에 삽입
<html>
<head>
<title></title>
<script language="javascript">
<!--
function MovePage() {
window.opener.top.location.href="연결할파일"
window.close()
}
//-->
</script>
</head>
<body>
<a href="javascript:MovePage();">자세한내용보기</a>
</body>
</html>


4.팝업창 닫고 프레임이 있는 부모창에서 원하는 페이지로 이동하기

팝업창에 삽입하고 팝업창의 설정은 프레임셋 페이지에 해야함
오픈창이 아닐경우에는 window.top.프레임이름.location.href="연결할파일" 적용한다
<html>
<head>
<title></title>
<script language="javascript">
<!--
function MovePage() {
window.opener.top.프레임이름.location.href="연결할파일"
//팝업창이 아닌것우..
window.close()
}
//-->
</script>
</head>
<body>
<a href="javascript:MovePage();">자세한내용보기</a>
</body>
</html>


5.팝업창 자동으로 닫기

팝업창에 삽입
<html>
<head>
<title>Close Window Timer</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function closeWin(thetime) {
setTimeout("window.close()", thetime); //1000 은 1초를 의미합니다.
}
//-->
</script>
</head>
<body onLoad="closeWin('5000')">
이창은 5초후 자동으로 창이 닫힘니다.<br>
</body>
</html>


6.프레임 나눈 팝업창 한번에 닫기

팝업창에 삽입
<html>
<head>
<title>Close Window Timer</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function closeWin(thetime) {
setTimeout("window.close()", thetime); //1000 은 1초를 의미합니다.
}
//-->
</script>
</head>
<body onLoad="closeWin('5000')">
이창은 5초후 자동으로 창이 닫힘니다.<br>
</body>
</html>


7.하루동안 팝업창 띄우지 않기 소스 예제1

부모창인 index.htm에 삽입
<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="javascript">
<!--
function getCookie(name)
{
var Found = false
var start, end
var i = 0
// cookie 문자열 전체를 검색
while(i <= document.cookie.length)
{
start = i
end = start + name.length
// name과 동일한 문자가 있다면
if(document.cookie.substring(start, end) == name)
{
Found = true
break
}
i++
}
// name 문자열을 cookie에서 찾았다면
if(Found == true) {
start = end + 1
end = document.cookie.indexOf(";", start)
// 마지막 부분이라 는 것을 의미(마지막에는 ";"가 없다)
if(end < start)
end = document.cookie.length
// name에 해당하는 value값을 추출하여 리턴한다.
return document.cookie.substring(start, end)
}
// 찾지 못했다면
return ""
}
function openMsgBox()
{
var eventCookie=getCookie("memo");
if (eventCookie != "no")
window.open('팝업창파일','_blank','width=300,height=300,top=50,left=150');
//팝업창의 주소, 같은 도메인에 있어야 한다.
}
openMsgBox();
//-->
</script>
</head>
<body>
</body>
</html>


팝업창인 pop.htm에 삽입
<html>
<head>
<title></title>
<head>
<script language="JavaScript">
<!--
function setCookie( name, value, expiredays )
{
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
function closeWin()
{
if ( document.myform.event.checked )
setCookie("memo", "no" , 1); // 1일 간 쿠키적용

}
//-->
</script>
</head>
<body onunload="closeWin()">
<form name="myform">
<input type="checkbox" name="event">다음부터 이 창을 열지않음
<input type=button value="닫기" onclick="self.close()">
</form>
</body>
</html>


8.하루동안 팝업창 띄우지 않기 소스 예제2

부모창인 index.htm에 삽입
<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function change(form)
{
if (form.url.selectedIndex !=0)
parent.location = form.url.options[form.url.selectedIndex].value
}
function setCookie( name, value, expiredays )
{
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
function getCookie( name )
{
var nameOfCookie = name + "=";
var x = 0;
while ( x <= document.cookie.length )
{
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}
if ( getCookie( "Notice" ) != "done" )
{
noticeWindow = window.open('pop.htm','notice','toolbar=no,location=no,directories=no,status=no,
menubar=no,scrollbars=no, resizable=no,width=400,height=400');
//winddow.open의 ()의 것은 한줄에 계속 붙여써야 오류가 안남, 줄바뀌면 오류남
noticeWindow.opener = self;
}
//-->
</script>
</head>
<body>
</body>
</html>


팝업창인 pop.htm에 삽입
<html>
<head>
<title></title>
<head>
<SCRIPT language="JavaScript">
<!--
function setCookie( name, value, expiredays )
{
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}


function closeWin()
{
if ( document.forms[0].Notice.checked )
setCookie( "Notice", "done" , 1);
self.close();
}
//-->
</script>
</head>
<body onunload="closeWin()">
<form>
<input type=CHECKBOX name="Notice" value="">다시 팝업 안뜸
<a href="javascript:window.close()">닫기</a>
</form>
</body>
</html>


9.같은 브라우져에서 팝업 띄우기 않기

부모창인 index.htm에 삽입
<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="javascript">
<!--
function getCookie(name)
{
var Found = false
var start, end
var i = 0
// cookie 문자열 전체를 검색
while(i <= document.cookie.length)
{
start = i
end = start + name.length
// name과 동일한 문자가 있다면
if(document.cookie.substring(start, end) == name)
{
Found = true
break
}
i++
}
// name 문자열을 cookie에서 찾았다면
if(Found == true) {
start = end + 1
end = document.cookie.indexOf(";", start)
// 마지막 부분이라 는 것을 의미(마지막에는 ";"가 없다)
if(end < start)
end = document.cookie.length
// name에 해당하는 value값을 추출하여 리턴한다.
return document.cookie.substring(start, end)
}
// 찾지 못했다면
return ""
}
function openMsgBox()
{
var eventCookie=getCookie("memo");
if (eventCookie != "no")
window.open('팝업창파일','_blank','width=300,height=300,top=50,left=150');
//팝업창의 주소, 같은 도메인에 있어야 한다.
}
openMsgBox();
//-->
</script>
</head>
<body>
</body>
</html>


팝업창인 pop.htm에 삽입
<html>
<head>
<title></title>
<head>
<script language="JavaScript">
<!--
function setCookie( name, value, expiredays )
{
//같은 창에서만 안띄움.
//expiredays 값은 상관없음.
document.cookie = name + "=" + escape( value ) + "; path=/;";
function closeWin()
{
if ( document.myform.event.checked )
setCookie("memo", "no" , 1); // 1일 간 쿠키적용

}
//-->
</script>
</head>
<body onunload="closeWin()">
<form name="myform">
<input type="checkbox" name="event">다음부터 이 창을 열지않음
<input type=button value="닫기" onclick="self.close()">
</form>
</body>
</html>


10.팝업창 가운데에 자동띄우기

팝업창에 삽입
<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function winCentre() {
if (document.layers) {
var sinist = screen.width / 2 - outerWidth / 2;
var toppo = screen.height / 2 - outerHeight / 2;
} else {
var sinist = screen.width / 2 - document.body.offsetWidth / 2;
var toppo = -75 + screen.height / 2 - document.body.offsetHeight / 2;
}
self.moveTo(sinist, toppo);
}
//-->
</script>
</head>
<body onLoad="winCentre()">
</body>
</html> 


11.부모창에서 클릭하면 팝업창 가운데에 띄우기

부모창에 삽입
<html>
<head>
<title></title>
<head>
<script language="JavaScript">
<!--
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>
<body>
<a href="팝업창파일" onclick="NewWindow(this,'name','100','100','yes');return false">
링크</a>
</body>
</html>


12.같은 브라우져에서만 팝업 띄우기 않기

부모창인 index.htm에 삽입 _새로 브라우져를 열면 팝업창이 뜸
<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="javascript">
<!--
function getCookie(name)
{
var Found = false
var start, end
var i = 0
// cookie 문자열 전체를 검색
while(i <= document.cookie.length)
{
start = i
end = start + name.length
// name과 동일한 문자가 있다면
if(document.cookie.substring(start, end) == name)
{
Found = true
break
}
i++
}
// name 문자열을 cookie에서 찾았다면
if(Found == true) {
start = end + 1
end = document.cookie.indexOf(";", start)
// 마지막 부분이라 는 것을 의미(마지막에는 ";"가 없다)
if(end < start)
end = document.cookie.length
// name에 해당하는 value값을 추출하여 리턴한다.
return document.cookie.substring(start, end)
}
// 찾지 못했다면
return ""
}
function openMsgBox()
{
var eventCookie=getCookie("memo");
if (eventCookie != "no")
window.open('팝업창파일','_blank','width=300,height=300,top=50,left=150');
//팝업창의 주소, 같은 도메인에 있어야 한다.
}
openMsgBox();
//-->
</script>
</head>
<body>
</body>
</html> 


팝업창인 pop.htm에 삽입
<html>
<head>
<title></title>
<head>
<script language="JavaScript">
<!--
function setCookie( name, value, expiredays )
{
//같은 창에서만 안띄움.
//expiredays 값은 상관없음.
document.cookie = name + "=" + escape( value ) + "; path=/;";
}
function closeWin()
{
if ( document.myform.event.checked )
setCookie("memo", "no" , 1); // 1일 간 쿠키적용
}
//-->
</script>
</head>
<body onunload="closeWin()">
<form name="myform">
<input type="checkbox" name="event">다음부터 이 창을 열지않음
<input type=button value="닫기" onclick="self.close()">
</form>
</body>
</html>


13.링크걸어서 지정된 사이즈로 열기

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language='JavaScript'>
<!--
function winopen(url)
{
window.open(url,"url","width=517,height=450,history=no,resizable=no,status=no,
scrollbars=yes,menubar=no");
}
//-->
</script>
</head>
<body>
<a HREF="javascript:winopen('주소')">링크걸기</a>
</body>
</html>


14.자동으로 지정된 크기로 브라우저 열기

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language='JavaScript'>
<!--
window.resizeTo(300,300);
window.moveTo(0,0);
//-->
</script>
</head>
<body>
<!--원하는 가로,세로의 크기를 입력해준다.-->
</body>
</html>


15.해상도에 맞추어 전체장으로 늘어남

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
function winMaximizer() {
if (document.layers) {
larg = screen.availWidth - 10;
altez = screen.availHeight - 20;
} else {
var larg = screen.availWidth;
var altez = screen.availHeight;
}
self.resizeTo(larg, altez);
self.moveTo(0, 0);
}
</script>
</head>
<body onload="winMaximizer()">
해상도에 맞추어 전체장으로 늘어남
</body>
</html>


16.이미지 클릭시 html문서없이 큰이미지로 새창띄우기

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
var win1Open = null
function displayImage(picName, windowName,
windowWidth, windowHeight){
return window.open(picName,windowName,"toolbar=no,

scrollbars=no,resizable=no,width=" + (parseInt(windowWidth)+20) + ",height=" + (parseInt(windowHeight)+15))
} function winClose(){
if(win1Open != null) win1Open.close()
} function doNothing(){}
</script> <script language="JavaScript1.1">
function displayImage(picName, windowName,

windowWidth, windowHeight){
var winHandle = window.open("" ,windowName,"toolbar=no,scrollbars=no,

resizable=no,width=" + windowWidth + ",height=" + windowHeight)
if(winHandle != null){
var htmlString = "<html><head><title>Picture</title></head>"
htmlString += "<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>"
htmlString += "<a href=javascript:window.close()><img src=" + picName + " border=0
alt=닫기></a>"
htmlString += "</body></html>"
winHandle.document.open()
winHandle.document.write(htmlString)
winHandle.document.close()
}
if(winHandle != null) winHandle.focus()
return winHandle
}
</script>
</head>
<body>
<a href="javascript:doNothing()"
onClick="win1Open=displayImage('큰 이미지파일', 'popWin1', '300', '400')" onMouseOver="window.status='Click to display picture'; return true;" onMouseOut="window.status=''">
<img src=이미지파일" border="0"></a>
</body>
</html>


17.몇초후 웹페이지이동하기 소스예제1

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
function nextWin()
{location = "이동할 URL"}
</script>
</head>
<body onLoad="setTimeout('nextWin()', 1000)"> <!--1000 이 1초 입니다.-->
바로 이동한 원하는 사이트로 이동함
</body>
</html>


18.몇초후 웹페이지이동하기 소스예제2

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
self.location.replace('이동할 URL');
</script>
</head>
<body>
바로 이동한 원하는 사이트로 이동함
</body>
</html>


19.자동새로고침하기

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
setTimeout("history.go(0);", 3000); // 1초는 1000 입니다.
-->
</script>
</head>
<body>
자동새로고침하기
</body>
</html>


20.해상도에 따라 다른 웹페이지 열기

<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function redirectPage() {
var url800x600 = "main1.html"; //800*600 에서 열릴문서
var url1024x768 = "main2.html"; //1024*768 에서 열릴문서
var url1152x864 = "main3.html"; //1152*864 에서 열릴문서

if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else if ((screen.width == 1152) && (screen.height == 864))
window.location.href= url1152x864;
else window.location.href= url800x600;
}
//-->
</script>
</head>
<body Onload="redirectPage()"> 
</body>
</html>


30.HTML파일 없이 이미지 사이즈에 맞게 팝업창 띄우기.
<script Language="Javascript">
<!-- //////////////////////////////////////////////////////////////
//*****************************************************************
// Web Site:
http://www.CginJs.Com
// CGI 와 JavaScript가 만났을 때 = C.n.J ☞ http://www.CginJs.Com
// CGI 와 JavaScript가 만났을 때 = C.n.J ☞ webmaster@CginJs.Com
// C.n.J 자바스크립트 자동 생성 마법사 ☞ http://www.CginJs.Com
// C.n.J 자바스크립트(JavaScript) 가이드 ☞ http://www.CginJs.Com
// C.n.J CSS(Cascading Style Sheet) 가이드 ☞ http://www.CginJs.Com
// Editer : Web Site: http://www.CginJs.Com
//*****************************************************************
/////////////////////////////////////////////////////////////// -->
var cnj_img_view = null;
function cnj_win_view(img){
img_conf1= new Image();
img_conf1.src=(img);
cnj_view_conf(img);
}

function cnj_view_conf(img){
if((img_conf1.width!=0)&&(img_conf1.height!=0)){
cnj_view_img(img);
} else {
funzione="cnj_view_conf('"+img+"')";
intervallo=setTimeout(funzione,20);
}
}

function cnj_view_img(img){
if(cnj_img_view != null) {
if(!cnj_img_view.closed) { cnj_img_view.close(); }
}
cnj_width=img_conf1.width+20;
cnj_height=img_conf1.height+20;
str_img="width="+cnj_width+",height="+cnj_height;
cnj_img_view=window.open(img,"cnj_img_open",str_img);
cnj_img_view.focus();
return;
}
</script>


<a href="javascript:cnj_win_view('../img/cnjlogo.gif')"><img src="../img/cnjlogo.gif" border="0" width="247" height="55"></a>

32.이미지사이즈에 맞게 새창이 열리며 휠마우스 효과를 내줌
그리고 메인(imgmove-main.html)에서 새창 띄워주는 부분

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function cnjOpen() {
window.open('img-move.html','cnjOpenWin','width=350,height=250,toolbar=0,scrollbars=0,location=0,status=0,menubar=0,resizable=0');
}
// End -->
</script>
<a href="javascript:cnjOpen()"><img src="test.jpg" width="200" height="150" border="0"></a>
</center>

이 부분은 이미지를 보여줄 새창(img-move.html)입니다.
<style>
body {cursor:move;}
</style>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad="fitWindowSize();">

<SCRIPT LANGUAGE="JavaScript">
// 이미지는 별도로 제공하지 않습니다.
<!-- CGI 와 JavaScript가 만났을 때=CnJ ☞
http://www.cginjs.com -->
<!-- CGI 와 JavaScript가 만났을 때=CnJ ☞
webmaster@cginjs.com -->
var ie = 1;
var windowX, windowY;
var bLargeImage = 0;
var x,y;

var InitX = 500;

// 이미지가 새창에 맞게 조절되는 부분

function fitWindowSize()
{
if( ie )
{
window.resizeTo( InitX, InitX );
width = InitX - (document.body.clientWidth - document.images[0].width);
height = InitX - (document.body.clientHeight - document.images[0].height);
windowX = (window.screen.width-width)/2;
windowY = (window.screen.height-height)/2;
if( width > screen.width-50 )
{
width = screen.width-50;
windowX = 20;
bLargeImage = 1;
}
if( height > screen.height-80 )
{
height = screen.height-80;
windowY = 20;
bLargeImage = 1;
}
window.moveTo( windowX, windowY );
window.resizeTo( width, height+4 );
}
else
{
window.innerWidth = document.layers[0].document.images[0].width;
window.innerHeight = document.layers[0].document.images[0].height;
}
}

// 휠마우스 효과

function move() {
if(bLargeImage){ window.scroll(window.event.clientX - 50,window.event.clientY -50);
}
}

// 오른쪽 왼쪽 마우스 클릭시 창닫는 부분

function click() {
if ((event.button==1) || (event.button==2) || (event.button==3)) {
top.self.close();
}
}
document.onmousedown=click

</script>
<img src="
http://www.cginjs.com/cgi/js/test.jpg" border="0" ONMOUSEMOVE="move();">

2007년 8월 13일 월요일

ECU 리셋

1. ecu휴즈 를 60초 이상 빼었다가 다시 부착한다 .
(1번 과정에 의해 ecu의 메모리가 다 지워지고 초기화 됨)

2. 키를 넣고 시동을 건후 30초 이상 그냥둔다 (최소 전기 소비량이 자동으로 입력됨)
3. 기어를 드라이브로 옮기고 30초 유지. 이 후 기어 중립.
4. 미등을 켠후 30초 이상 그냥 둔다.
5. 전조등을 켜고 30초 이상 그냥 둔다.
6. 에어컨을 켜고 30초 이상 그냥 둔다
7. 기어를 드라이브로 옮기고 브레이크를 밟은 채 30초 정도 그냥 두며 기다린다
(6, 7 과정에서 최대 전기 요구량 자동 입력됨)

이상의 순서는 ecu에서 자동차가 필요로 하는 전기를 자동 측정하여 세팅하게 하는 학습과정입니다.
즉 최소 전기 요구량과 최대 전기 요구량을 입력 시켜 주는 것이지요.

8. 기어 중립 혹은 파킹.
9. 에어컨 끔 (30초 유지)
10. 전조등 끔 (30초 유지)
11. 미등 끔 (30초 유지)
12. 시동 끔 (1분 유지)
13. 시동키고 알피엠을 2000~2500정도로 고정 하고 1분간 유지
14.시동 끔

위 과정들을 통해 ecu에서 자동차가 주행에 따른 여러 조건에서 요구되는 전기 소모량을

자동으로 측정하여 입력함으로서 초기화 및 재설정이 됩니다.

ecu 리셋팅으로 효과를 볼 수 있는 차량은, 허접하게 끌고 다닌 차량은 즉각적인 반응이 나타날 수 있으나,

평소 관리 잘 한 차들은 별 다른 차이를 못느낀다고 합니다.

예를 들어, 처음에 고속도로서 180까지 잘 달리던 차가 어느때 인가 부터 160까지 밖에 달리지 못한다.

다른 소모품과 정비 내역은 잘 되어 있는데도 이런 증상이 발생한다. 이런 경우의 자동차는 ecu 리셋팅으로다시

180까지 잘 달릴 수 있게 됩니다.

2007년 8월 6일 월요일

차 관리표

^^ A4사이즈 인쇄로 가능

2007년 7월 16일 월요일

관리자와 리더의 차이점

학원쪽에서 일하시는 분이 쓴글을 인용하였습니다.

<리더와 관리자의 11가지 차이점>

-스튜어트 크레이너의 '경영 구루들의 살아있는 아이디어' 중에서- (평림, 306p)



1. 관리자는 관리를 하지만, 리더는 혁신을 한다.

-> 학원에서 직책을 보며 관리직 이라는 호칭을 예전에는 많이 사용했었죠?

    요즘에도 완전히 사라지지는 않은 것 같습니다. 요즘 시대는 관리의 시대가 아니라 혁신의 시대입니다. 기존에 호황을 누리던 학원들도 관리만 잘 하면 될 줄 알지만, 결국에는 혁신적인 학원들에게 잠식당하고 있습니다.



2. 관리자는 모방하지만, 리더는 창조한다.

 -> 모방과 창조하면 생각나는 구절이 혹시 없으신가요?

    "모방은 창조의 어머니"다 라는 애기를 어려서부터 수업이 많이 들어본 얘기 입니다.

  관리자는 모방을 하죠, 흔히 말하는 벤치마킹 정도라고 보면 될 것입니다. 그러나, 리더는 창조한다고 합니다.


 창조란 무에서 유를, 유에서 또다른 유를 창조하는 것입니다. 관리자들이 열심히 모방을 해서 적용하는 사이에 리더들은 모방을 넘어 새로운 창조를 해내고 경쟁자들을 저만치 따돌리고 또다시 새로운 창조의 모험에 앞장섭니다.

  여러분들의 학원에 근무하시는 교직원분들중 어떤 사람이 관리자형이고 리더형인지 생각해 보시기 바랍니다.



3. 관리자는 유지하지만, 리더는 개발한다.


 -> 정말 가슴에 와닿는 말입니다.

     관리자는 현상태에서 안전하게 유지하는 성향이 있습니다. 개선이라고 해도 수동적이거나 아주 미미한 개선이죠.

   리더는 개발합니다. 즉, 새로운 무언가를 위해 찾고 만들고 적용해서 성취감을 즐깁니다.

     사람은 누구나 타고난 성격이 있다고 합니다. 그 성격에 맞는 적성을 발견하고 알맞은 업무를 찾는것이 중요하고, 또한편으론, 자신의 타고난 성격을 인정하고 조금은 부족한 부분을 위해서 노력해 나가는 것이 중요합니다. 그리고, 리더들은 그 부분은 날카롭게 케치해서 인정하고, 도와주어야 합니다.

     이부분은 제가 에니어그램 이라는 성격심리검사도구 프로그램을 배우고 나서 실제적으로 유용하게 활용하고 있는 부분이기도 합니다.


4. 관리자는 시스템과 구조에 초점을 두지만, 리더는 사람들에게 초점을 둔다.

 -> 사람이 중심이어야 합니다. 만사가 인사인지라, 때론 순간적으로 사람을 중심에 두지않고 판단하고 평가하고 결정하는 경우가 많이 있습니다. 시스템에 너무 치중하다보면 사람을 놓치고 그 사람은 상처를 받을 수 있습니다. 현명한 판단이

 조직을 살리고 희망의 미래를 약속합니다. 매순간 선택의 순간이기에 많은 지식과 지혜를 쌓으셔야 합니다.  만약, 리더가 되고 싶다면...



5. 관리자는 통제에 의존하지만, 리더는 신뢰를 고취시킨다.

 -> 관리자는 안전을 추구하기 때문에 통제를 할려고 합니다. 리더는 신뢰를 하기에 권한한 책임을 위임하려고 하죠.

     잘 진행되고 있는지 관리자는 감시를 하려 하지만, 리더는 잘 진행되고 있는지 관심을 갖고 피드백을 해줍니다.



6. 관리자는 짧은 시각을 가지지만, 리더는 긴 전망을 갖는다.
 

 -> 리더는 지금 당면한 문제에도 관심을 갖고 적극적으로 대처하지만, 긴 안목을 갖고 미래를 내다보기를 게을리 하지 않습니다.



7. 관리자는 언제, 어떻게를 묻지만, 리더는 무엇, 왜를 묻는다.

 -> 언제? 어떻게? 에 초점을 맞추는 것은 관리하고 통제하기 위해서 물어보는 질문입니다.

     반면에, 무엇을? 어떻게? 는 생각과 의도를 들어보고 피드백을 해주기 위해 물어보는 질문입니다.



8. 관리자는 수직적 이지만, 리더는 수평적이다.


 -> 서로 논의하고 의견교환하고 새로운 아이디어를 창출하는 과정이 있느냐 없느냐의 문제입니다. 관리자는 전단하고 전달받지만, 리더는 토론하고 협의하고 새로운 합의점을 도출해서 신바람 나는 조직을 형성해 나갑니다. 



9. 관리자는 현상을 유지하려 하지만, 리더는 그것에 도전한다.


 -> 현상유지는 곧 도태되거나, 뒷쳐짐을 의미합니다. 리더는 항상 미래를 내다보며 준비하고 혁신해야 합니다. 학원이나 교육사업에도 마찬가지 입니다.


10. 관리자는 전형적인 병사이지만, 리더는 몸소 일하는 사람이다.


 -> 솔선수범의 중요함은 누구나 알지만, 실천에 옮기는 리더는 몇 없습니다.

     진정한 리더는 같이 땀흘리려는 행동이 있어야 합니다. 그러다 보면, 옆에서 말립니다. 저희가 한다고.


11. 관리자는 과업이 적절하도록 하지만, 리더는 적절한 과업을 한다.

-> 곰곰히 생각해 보시기 바랍니다. 전자는 과업에 한계를 두고 일하지만, 후자는

    한계를 넘어서 가치에 초점을 맞추고 있는 것입니다.

2007년 7월 9일 월요일

노트북에서 한영키 변환(인식)이 안될 때

원인 : 윈도우 설치시에 101 키보드로 설정해야 하는데 다른 키보드로 설정이 되어 발행되는 문제

증상 : 한영키가 오른쪽 ALT 키로 인식

해결방법  

   1. 제어판 -> 키보드 -> 하드웨어 에서 101호환 키보드로 변경

   2. 시작->실행->regedit 를 실행하여 101 키보드로 변환

        Hkey_Local_Machine\System\CurrentControlSet\Services\i8042prt\Parameters

            OverrideKeyboardIdentifier : PCAT_101Akey
            OverrideKeyboardSubtype : 3
            OverrideKeyboardType : 8
            LayerDriverKOR : KBD101A.DLL

   3. 재부팅

2007년 7월 5일 목요일

공유폴더 나만 안들어 갈 때

다른 사람은 다 되는데 나만 안됀다...TT
공유폴더 엑세스 권한이 없다고 하면
1) Guest에대한 사용자계정을 "사용함"으로 변경하여 사용한다.

안돼면

2)레지스트리를 수정한다.
1. "REGEDIT" 엔터
2.  HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Control->Lsa
3. 오른쪽 에서 "restrictanonymous"  항목값이 1로 되어있으면 0으로 수정후 재부팅!! OK?