반응형

 

net-snmp-5.6.1.1.zip

 

Ubuntu Linux _ net snmp 5.6.1.1

MRTG설치시 apt-get install snmp 로 하셨다가 낭패보신분들은 직접 소스를 올려보시기를..

반응형
반응형

 

HubFTPServer126.exe

 

허브FTP서버입니다.

윈도우서버등에서 사용하실수 있으며, 인터페이스가 매우 간편하게 되어있습니다.

 

반응형
반응형

<script type="text/javascript">

setInterval("dpTime()",1000);
 function dpTime(){
     now = new Date();
     hours = now.getHours();
     minutes = now.getMinutes();
     seconds = now.getSeconds();

     if (hours > 12){
      hours -= 12;
  ampm = "오후 ";
     }else{
      ampm = "오전 ";
     }
     if (hours < 10){
      hours = "0" + hours;
     }
     if (minutes < 10){
      minutes = "0" + minutes;
     }
     if (seconds < 10){
      seconds = "0" + seconds;
     }
document.getElementById("dpTime").innerHTML = "<b>"+ ampm + "</b>" + hours + ":" + minutes + ":" + seconds;
 }

</script>

 

그리고 시간이 들어갈 곳에

<span id="dpTime"></span>

반응형
반응형

<script language="Javascript" type="text/javascript">
var host = location.host.toLowerCase();
var currentAddress = location.href;
if (host.indexOf("www")== -1)
{
currentAddress = currentAddress.replace("//","//www.");
location.href = currentAddress;
}
</script>

 

http://wowasc.com/ 으로 접속하였을때,

자동으로 http://www.wowasc.com/ 으로 붙여준다.

물론 그 뒤에 하위주소로 접근하여도 www를 붙여준다.

반응형
반응형

 

cufon-yui.js

 

NanumGothic_400.font.js

 

NanumGothic_600.font.js

 

RixHead_M_400.font.js

 

 

소스 사용시

<head>

<script src="js/cufon-yui.js"></script>

<script src="js/NanumGothic_600.font.js"></script>
<script type='text/javascript' charset='utf-8'>
Cufon.replace('.stitle, h2', { 
 hover: true,
 fontFamily: 'NanumGothic'
 });
</script>

</head>

 

<div class="stitle">하하하</div>

<span class="stitle">하하하2</div>

 

이렇게 사용할 수 있다.

주의할점은 대제목이나 중제목까지는 사용해도 괜찮으나

본문 내용까지 사용하게 될경우 심각한 페이지로딩 속도를 느려지게 할수있음을 명심하자.

반응형
반응형

<style type="text/css">

a {outline: none;}

</style>

반응형
반응형

1. 자바스크립트 구문

//숫자만 입력 하세요

function checkNumber() {

var objEv = event.srcElement;

var numPattern = /([^0-9])/;

var numPattern = objEv.value.match(numPattern);

if (numPattern != null) {

alert("숫자만 입력하세요");

objEv.value = "";

objEv.focus();

return false;

}

}



2. 적용 해야 할 input 구문

<input type="text" name="holyDayLen" class="textField_Y" maxlength="5" size="5" value="10" onPropertyChange="checkNumber()">


//여기서 중요한 부분은 onChange가 아니라 onPropertyChange 라는 거다.. ㅡㅡ 많이 낚인다. 조심..!

// style="ime-mode:disabled;" 이건 한글만 못쓰게 만드는 구문 -!!


 

반응형
반응형

<script language="Javascript" type="text/javascript">
var host = location.host.toLowerCase();
var currentAddress = location.href;
if (host.indexOf("www")== -1)
{
currentAddress = currentAddress.replace("//","//www.");
location.href = currentAddress;
}
</script>

 

다른 PHP 소스들을 갖다 써본결과...

javascript 가 제일 잘 작동하고 나머지는 작동이 잘 안된다.

반응형

+ Recent posts