Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2005
    Thanked 0 Times in 0 Posts

    security script and change the color of background

    Ok, I'm looking for a security script now, I have to make a database of like a 100 people and give everyone a different login id and password.

    I'm also looking to find some code that will help me allow the webpage viewer to change the color of the background - this is for people with learning disabilities.

  • #2
    Regular Coder martin_narg's Avatar
    Join Date
    Jul 2002
    Chamonix, France
    Thanked 3 Times in 3 Posts
    I'm a little disappointed there is no code to see you've tried this yourself, or tracked some code down that you have attempted to modify But here goes:

    With regards to the users colour preferences, save them to your database - if you are using username/password then you pretty well have to be using a server-side language such as php/asp/etc and therefore you can set the background colour of the page accordingly.

    there's a huge amount of posts with regards to changing the background colour of the page, but simply put, here it is:

    <a href="#" onclick="document.body.style.backgroundColor='orange';return false">Orange</a>
    "Cos it's strange isn't it. You stand in the middle of a library and go 'Aaaaaaaaaaaaaaaaggggggghhhhhhh!'
    and everybody just stares at you. But you do the same in an aeroplane, and everybody joins in."
    -Tommy Cooper


    Posting Permissions

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