마소 컬러 선택 대화상자

<script>
function chooseColor(){
var color;
with(document.appendChild(document.createElement("object"))){
classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b";
color=ChooseColorDlg().toString(16);
removeNode(true);
return (color.length<6)?("000000".substring(0,6-color.length)).concat(color):color;
}
}
</script>

<input id="temp" type="text">
<button onclick="temp.style.backgroundColor=temp.value=chooseColor()">컬러 선택</button><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
19년 전 조회 2,494
19년 전 조회 2,297
19년 전 조회 3,458
19년 전 조회 2,585
19년 전 조회 2,564
19년 전 조회 3,405
19년 전 조회 4,616
19년 전 조회 2,947
19년 전 조회 2,792
19년 전 조회 3,336
19년 전 조회 6,272
19년 전 조회 2,175
19년 전 조회 1,980
19년 전 조회 1,932
19년 전 조회 1,993
19년 전 조회 3,179
19년 전 조회 2,249
19년 전 조회 1,941
19년 전 조회 1,613
19년 전 조회 2,066
19년 전 조회 3,350
19년 전 조회 3,199
19년 전 조회 1,896
19년 전 조회 1,468
19년 전 조회 3,160
🐛 버그신고