알짜게시판

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

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

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

사용스킨의 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>

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

// 이것도 팁이될런가? ㅡ,,ㅡ;;
    • 색깔이 강해서 흐른거루...노가다 봉사^^*그리구 난 room.php 파일에 있던데...
    • 05-04-14
    • <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>
    • 05-04-14
    • 오오~ 멋지네요
    • 04-01-31
번호 제목 글쓴이 조회 날짜
191 [FTP] 500 Illegal PORT command. 46,667 09-03
190 [리눅스] .htaccess 를 이용해서 https 이동하기 44,848 08-31
189 [PHP] Imagek 를 이용한 썸네일 생성 45,292 08-26
188 [PHP] 파일 포맷 알아내기 45,072 08-23
187 [그누보드] 1364 : Field 'xxxxx' doesn't have a default value 44,738 08-20
186 [그누보드] 웹폰트 적용하기 45,450 08-13
185 [그누보드] CKEditor 5 플러그인 90,542 08-11
184 [리눅스] 윈도우 프로그램 실행 (centos7, wine 7.0) 44,146 08-09
183 [시크릿DNS] 프록시 혼합 사용 예제 1 245,395 08-07
182 [윈도우] IPv6 켜기, 끄기 43,396 08-03
181 [그누보드] 회원 가입일 기준으로 이용기간 정하기 40,702 07-28
180 [그누보드] sql_fetch, sql_query 안쓰고 직접 mysql 사용하기 40,336 07-24
179 [리눅스] 웹서버 상태 확인 후 자동 재시작 쉘 스크립트 40,531 02-28
178 WinDivert 1753 에러 발생시 40,196 12-20
177 [PHP] PHP 수정시 적용이 안되는 경우 해결 (opcache 중지) 34,825 03-31
176 [맥OS] 마우스 휠 스크롤 방향 윈도우와 일치시키는 방법 25,675 02-28
175 [Ruby] 윈도우에서 pod install 실행시 UTF-8 오류 26,446 02-28
174 [Ruby] Could not open library 'libcurl' 24,821 02-28
173 WinDivert 서비스 종료 38,835 02-08
172 [Android] Error type 3: Activity class {com.?.MainActivity} … 16,189 02-02
171 [윈도우] 윈도우 서버 2016 IIS 중지 8,337 01-29
170 [그누보드] 새 글 정리하기 3,252 01-28
169 WinDivert 오류코드 3,723 01-24
168 [PHP] Curl 을 이용하여 파일 다운로드 5,062 01-19
167 [PHP] Curl 을 이용하여 json 을 post 보내기 5,743 01-19
166 [그누보드] CKEditor 5 플러그인 10 5,248 01-14
165 칼무리 자동실행이 안 되는 원인를 찾았습니다 1 2,208 12-31
164 [PHP] 워드프레스와 그누보드 연동 모듈 2,745 12-27
163 설치하려고 하는 앱이 Microsoft에서 확인된 앱이 아닙니다. 14,394 10-11
162 [Delphi] 권한상승 1,762 09-04
161 [Delphi] Glyph 에 사용할 이미지 생성하기 1,384 09-02