배경색상 사용자가 바꾸게 하기//
- 01-31
- 6,395 회
- 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>
식으로 붙여넣으면 됩니다.
그러나 어차피 자신이 보는 화면에서만 바뀝니다...
// 이것도 팁이될런가? ㅡ,,ㅡ;;
글자색이 잘 안보이는 경우가 있더군요..
배경색을 사용자가 바꾸게하기 //
사용스킨의 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>
식으로 붙여넣으면 됩니다.
그러나 어차피 자신이 보는 화면에서만 바뀝니다...
// 이것도 팁이될런가? ㅡ,,ㅡ;;
-
-
-
<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
-