배경색상 사용자가 바꾸게 하기//

  • 01-31
  • 12,519 회
  • 4

검은 배경스킨을 대략 만들다보니
글자색이 잘 안보이는 경우가 있더군요..

배경색을 사용자가 바꾸게하기 //

사용스킨의 room-bg.php
<body>아래에

<center>
<table border="0" cellpadding="0" cellspacing="0" width=600  height="40">
      <td width="600" height="40" align=center>                        
                        <input type="button" name="bg01" onclick="document.bgColor='#ffffff'"  style="color:whitesmoke; background-color:#ffffff;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#ffffcc'"  style="color:whitesmoke; background-color:#ffffcc;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#ffff66'"  style="color:whitesmoke; background-color:#ffff66;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#999966'"  style="color:whitesmoke; background-color:#999966;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#ffccff'"  style="color:whitesmoke; background-color:#ffccff;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#ff66ff'"  style="color:whitesmoke; background-color:#ff66ff;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#ff6666'"  style="color:whitesmoke; background-color:#ff6666;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#ff0066'"  style="color:whitesmoke; background-color:#ff0066;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#66ff00'"  style="color:whitesmoke; background-color:#66ff00;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#336600'"  style="color:whitesmoke; background-color:#336600;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#009900'"  style="color:whitesmoke; background-color:#009900;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#003300'"  style="color:whitesmoke; background-color:#003300;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#336699'"  style="color:whitesmoke; background-color:#336699;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#0033ff'"  style="color:whitesmoke; background-color:#0033ff;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#0000cc'"  style="color:whitesmoke; background-color:#0000cc;" onfocus='this.blur()'>                        
                        <input type="button" name="bg01" onclick="document.bgColor='#6600ff'"  style="color:whitesmoke; background-color:#6600ff;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#330099'"  style="color:whitesmoke; background-color:#330099;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#330033'"  style="color:whitesmoke; background-color:#330033;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#330000'"  style="color:whitesmoke; background-color:#330000;" onfocus='this.blur()'>                        
                        <input type="button" name="bg01" onclick="document.bgColor='#555555'"  style="color:whitesmoke; background-color:#555555;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#222222'"  style="color:whitesmoke; background-color:#222222;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#000033'"  style="color:whitesmoke; background-color:#000033;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#111122'"  style="color:whitesmoke; background-color:#111122;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#111111'"  style="color:whitesmoke; background-color:#111111;" onfocus='this.blur()'>
                        <input type="button" name="bg01" onclick="document.bgColor='#000000'"  style="color:whitesmoke; background-color:#000000;" onfocus='this.blur()'>            
     </font></td></table>
</center>

식으로 붙여넣으면 됩니다.
그러나 어차피 자신이 보는 화면에서만 바뀝니다...

// 이것도 팁이될런가? ㅡ,,ㅡ;;

Comments

  1. 색깔이 강해서 흐른거루...노가다 봉사^^*그리구 난 room.php 파일에 있던데...
  2. <table border="0" cellpadding="0" cellspacing="0" width=600  height="40">      <td width="600" height="40" align=center>                                                <input type="button" name="bg01" onclick="document.bgColor='#ffffff'"  style="color:whitesmoke; background-color:#ffffff;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#FFF7F7'"  style="color:whitesmoke; background-color:#FFF7F7;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#FFDCD4'"  style="color:whitesmoke; background-color:#FFDCD4;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#FFF7EF'"  style="color:whitesmoke; background-color:#FFF7EF;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#FFF5D9'"  style="color:whitesmoke; background-color:#FFF5D9;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#FFFAC7'"  style="color:whitesmoke; background-color:#FFFAC7;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#F2F9E8'"  style="color:whitesmoke; background-color:#F2F9E8;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#E7F2F1'"  style="color:whitesmoke; background-color:#E7F2F1;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#C6DBDC'"  style="color:whitesmoke; background-color:#C6DBDC;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#E0F4FF'"  style="color:whitesmoke; background-color:#E0F4FF;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#E7F0FF'"  style="color:whitesmoke; background-color:#E7F0FF;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#EBEBF9'"  style="color:whitesmoke; background-color:#EBEBF9;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#E7DCEF'"  style="color:whitesmoke; background-color:#E7DCEF;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#FFE2FE'"  style="color:whitesmoke; background-color:#FFE2FE;" onfocus='this.blur()'>                        <input type="button" name="bg01" onclick="document.bgColor='#FFD6ED'"  style="color:whitesmoke; background-color:#FFD6ED;" onfocus='this.blur()'>                                                <input type="button" name="bg01" onclick="document.bgColor='#EEEEEE'"  style="color:whitesmoke; background-color:#EEEEEE;" onfocus='this.blur()'></td>
    </table>
  3. 오오~ 멋지네요

Tips & Tech

Windows 설치하려고 하는 앱이 Microsoft에서 확인된 앱이 아닙니다.
Delphi 권한상승
Delphi Glyph 에 사용할 이미지 생성하기
Windows WMI 복구하기
Python 파이썬 아나콘다 업데이트
Delphi bsNone 인 폼에서 드래그 및 크기조절
Kilho.net 윈도우7 에서 WinDivert 2.2 관련 오류 발생시
Linux Composer 설치하기
Windows WinHTTP 사용에서 12175 에러 발생시
Dev tips 날짜필드 연장하기
WordPress 회원가입시 닉네임 필드 추가하기
GnuBoard 임의로 테마설정하기
Linux Swap 생성/수정
Linux 바이러스 검사
GnuBoard CKEditor 5 플러그인
Dev tips 실시간 화면 출력
GnuBoard 클라우드플레어(Cloudflare) 사용시 아이피 주소 및 URL Schemes 정…
Windows 원격 데스크탑 접속 기록 삭제하기
Windows 네트워크 드라이브 커맨드 명령으로 연결하기
Dev tips 계정 추가 및 외부 접속 허용
Dev tips 변수를 텍스트로 저장 및 캐시로 사용하기
Windows VS Code 설치방법
Kilho.net 시크릿SNI 화이트 리스트 등록하기
Others 구글 google 영어 사이트로 접속하기
Dev tips 지정 폴더 내 PHP 파일 최종 수정일 확인하기
Others 안드로이드에서 구글 검색기록 끄기
Windows 레지스트리 변경값 추적하는 프로그램
Linux 간단한 보안 체크하기
Windows 크롬 알림창 해제하기
GnuBoard 훅을 통한 글쓰기, 댓글 알림