Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Senior Coder
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1,063
    Thanks
    2
    Thanked 0 Times in 0 Posts
    hmm

    Thanks, I'll try to figure that out
    Shawn

  2. #17
    Senior Coder
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1,063
    Thanks
    2
    Thanked 0 Times in 0 Posts
    hmm, I really can't see the problem there.
    Shawn

  3. #18
    New Coder
    Join Date
    Feb 2004
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by Antoniohawk
    Good work, but I have some bad news. I'm not so sure that this script meets the requirements man.

    "This is a new (and experimental) category added for seasoned JavaScripters to post a useful script or code snippet to benefit the public or for critiquing. The emphasis here is "seasoned" and "useful." For those new to JavaScript, this is not the forum to showcase "my first script", or ask for help debugging one."

    http://www.codingforums.com/showthre...&threadid=1510

    Since I had to be the guy to bring this to your attention, I'll offer you what every other script in this forum gets, input. I see a problem where when you click on the background black button, the text becomes unreadable. Some suggestions:

    - change text color on click of black
    - change text color on every button to the opposite of that color
    To fix the Black And White problem, add the folowing code:
    Code:
    <script language="JavaScript">if body.bgColor='black'
    {
    body.text='white'
    }
    if body.bgColor='white'
    {
    body.text='black'
    }
    </script>
    That might solve the problem. I don't know if it's "body.textColor" or "body.text".
    Bring it on

  4. #19
    Senior Coder
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1,063
    Thanks
    2
    Thanked 0 Times in 0 Posts
    That's good for black and white, but if you have any other color, it don't work no more. You would have to make hundreds of if statements.
    Shawn


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •