l

이런프로그램도 제작이 가능활까요?

작은창에

텍스트창 하나

버튼 두개개 있고

생성하기 버튼을 누르면 텍스트창에 랜덤으로 숫자,영어가 조합된 10자리정도 텍스트가 나오고

복사하기 버튼을 누르면 다른곳에 붙여넣기 할수있도록 복사되는방식인데

만약 제작을 한다고 하면 이런건 제작비용이 얼마나 나올까요;;?
|

댓글 3개

돈십만원 쥐어 주시면 제가 10분안에 만들어 드리겠습니다....
ㅜㅜ 공부하시면 쉽습니다
<script>
function RndStr() {
this.str = '';
this.pattern = /^[a-zA-Z0-9]+$/;

this.setStr = function(n) {
if(!/^[0-9]+$/.test(n)) n = 0x10;
this.str = '';
for(var i=0; i<n-1; i++) {
this.rndchar();
}
}

this.setType = function(s) {
switch(s) {
case '1' : this.pattern = /^[0-9]+$/; break;
case 'A' : this.pattern = /^[A-Z]+$/; break;
case 'a' : this.pattern = /^[a-z]+$/; break;
case 'A1' : this.pattern = /^[A-Z0-9]+$/; break;
case 'a1' : this.pattern = /^[a-z0-9]+$/; break;
default : this.pattern = /^[a-zA-Z0-9]+$/;
}
}

this.getStr = function() {
return this.str;
}

this.rndchar = function() {
var rnd = Math.round(Math.random() * 1000);
if(!this.pattern.test(String.fromCharCode(rnd))) {
this.rndchar();
} else {
this.str += String.fromCharCode(rnd);
}
}
}

var rndstr = new RndStr();

rndstr.setType('a1');
rndstr.setStr(11);
document.write(rndstr.getStr() + "<br />");

rndstr.setType('A1');
rndstr.setStr(11);
document.write(rndstr.getStr() + "<br />");
</script>
이미 러셀러 파트너 베너 시스템에 있는 기능이라죠?ㅎㅎㅎㅎ
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

203,163건
+
제목 글쓴이 날짜 조회
10-11-03 조회 2,119
10-11-03 조회 1,987
10-11-03 조회 2,043
10-11-03 조회 1,820
10-11-03 조회 1,897
10-11-03 조회 1,932
10-11-03 조회 1,542
10-11-03 조회 1,919
10-11-03 조회 1,878
10-11-03 조회 2,095
10-11-03 조회 1,914
10-11-03 조회 1,950
10-11-03 조회 2,129
10-11-03 조회 1,829
10-11-03 조회 1,926
10-11-03 조회 2,038
10-11-03 조회 1,891
10-11-03 조회 2,101
10-11-03 조회 1,953
10-11-03 조회 1,821