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

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

길호넷에서 제공되는 클립 맹글기!!
비밀방 개설시 오류가 생기는경우!!!
[펌] HTTP 에러 코드표
공유기-zio5040쓰시는분 팁.
[펌] DNS설정으로 인터넷 빠르게!(설정법포함)
XP sp2 팝업창 상태표시줄 없애기 (사용자측면)
길호챗IRC 비회원 접속 못하게 하기.
윈도우 IIS에서 로그인 문제 해결보는 법
irc용 대화방 입장 시 소리 넣기
ZIO사의 INB3040씨리즈 공유기 쓰시는분들 계실까봐...
제로보드 로그인 문제의 근원적 이유
길호쳇IRC에"채팅프로그램을 설치하셔야됩니다."해결방…
★ kchatirc 설치 메뉴얼!!
윈도우XP SP2 사용자, 한번에 접속하기
(공유기-에니게이트)이렇게 해결~
XP sp2 설치후 대화방 프로그램 설치 해결 방법
길호챗: 자신의 길호챗은 어떤것?
IRC버젼 로딩메세지들 없애기
'제로보드' 쓰시는 분들 중 길호챗 로그인 문제
계속 로그인 하라고 뜨시는분들 해결책!! (제로보드 연…
현재 운영중인 길호챗 IRC에서 클릭시 로그인으로 요청…
길호챗에 대해서 정리해봤습니다.
AIr-Band 공유기 사용자 공유기 설정
초보자를 위한 설치 메뉴얼 <동영상>
공유기 하는 확실한 방법(AnyGate 사용자)
Views 배경색상 사용자가 바꾸게 하기//
답변글 [re] 배경색상 사용자가 바꾸게 하기//
공유기 사용시 방만들기 [확실히 분석]
[편법] 가짜(?) 상설 채팅방 만들기
[모듈] 이지보드용 모듈 - NE 멤버 - 모듈 0.9211