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

  • 01-31
  • 8,895 회
  • 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

Linux Apache에서 GPTBot·Amazonbot·AhrefsBot의 게시판 이미…
Others Midjourney, DALL·E, ChatGPT에서 Y2K 파스텔 UI 프롬프…
Linux Cloudflare R2 자동 업로드 구성하기. 특정 폴더에 파일…
WordPress 워드프레스 7.0 관리자 링크 색상 변경 후 이전 색상으…
WordPress 캐시 환경에서 AJAX 댓글(코멘트) 분리로 서버 응답시간…
Linux 아파치 일반 계정 파일 접근 권한 설정과 mod-ruid2 적…
Delphi Delphi IDE 메인 폼 안열림 dproj 설정으로 해결
Dev tips VSCode 한국어 설정법, Configure Display Language로 U…
Others RustDesk 자체 서버 구축으로 공용 서버 로그인 문제 해…
Linux Dante SOCKS5 프록시 서버 구축 및 설정
Windows 윈도우 실행파일(exe) 서비스 등록 자동화 쉽게 하는 방…
Others CLIProxyAPI Windows 설치 가이드
WordPress 그누보드7 데이터를 WordPress WXR로 변환하기
Others Ollama 설치 경로 C드라이브 고정 문제 해결 및 드라이…
Dev tips Apache Access Log 기반 도메인별 방문자 카운터 구현
Windows ZImage AI 이미지 생성 환경 구축 방법
Windows 파일 복사 후 실행 배치파일 - 에러 감지 포함
Dev tips 네이버 검색 Open API
Dev tips 네이버 검색광고 키워드 도구 API 검색
Dev tips MariaDB column_stats 테이블 오류 해결 방법
Dev tips PHP-FPM 에러 로그 실시간 모니터링
Windows 윈도우11 업데이트 후 네트워크 드라이브 접근 불가 문…
Dev tips 다국어 번역 함수 구현 방법
WordPress "치명적인 오류가 발생했습니다" 디버깅 가이드
Linux Apache 웹 로그 분석하기 – awk와 GoAccess 활용
Kilho.net 칼무리 - 외부 명령으로 캡처 자동화하기
Windows 윈도11 강제업데이트 피하고 윈도10 계속 쓰기
Linux PHP 파일 업로드 용량 늘리기
Dev tips 애드센스 충돌 문제 해결하기
Python Python Playwright로 Edge 브라우저 제어하기