Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: From that changes all text colour on site.

  1. #1
    Join Date
    Jan 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow From that changes all text colour on site.

    Hi im currently working on a project and would like to have a drop down form that would have a list of colours within it. When the user clicks on a colour it would then change all the text on that page to the selected colour.

    The form would be situated at the top of every page of my site letting the user customise the colour as they need.

    The website im working on if for Dyslexic users so changing text colour is very important. I have already used a similar idea to change the background colour but i can't seem to carry this across for text colour.

    Any help would be extremely helpfull

    Thanks, spam.

  2. #2
    Join Date
    Jan 2011
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    it depends on the software you're using to create it and the language you're using...i mean programming language...for example when using ASP on Macromedia Dreamweaver or PHP perhaps, there are tutorials available on the net and easy to find... videos are availble too...i won't be able to give you links on tutorials since you haven't specified tha language you're using....

  3. #3
    Join Date
    Jan 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi thanks for your reply.

    I'm currently using Dreamwaver 8. Im only really using HTML, this is what i was wondering if it is possible to do with just html.

    I have used some ASP on Dreamweaver before so i could probably use that but i would prefer if there was a solution to use HTML soley.

  4. #4
    Join Date
    Jan 2011
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

  5. #5
    Join Date
    Jan 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi thanks for the links Cindylou, but they don't really have what im looking for.

    Basically i want to use the forms within dreamweaver to change all the colour of the text on that specfic page.

    My problem isn't creating the form or in this case drop down menu. its the specifics of the code to change the colour of the text.

    Thanks again Spam.

  6. #6
    Join Date
    Jan 2011
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    spam,

    changing the color, right?.. you mean like this one?

    <FONT SIZE="5" COLOR="FF0000">

    that includes the size though...

  7. #7
    Join Date
    Jan 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi ill show you my code that i'm using to change the color of my background on my site.

    HTML Code:
    onmouseclick="document.bgColor='ffffcc'" onMouseOver="document.bgColor='ffffcc'"><
    basically i want to have an option on my site like this but instead of the user changing the background color i want them to be able to change the color of the text.

    it's probably easier if i show you how it works on my site. http://thedyslexicgamer.co.uk/ when you hover over the colours it will change the background colour, so i want to have a similar system but to change the text colour aswell.

  8. #8
    Join Date
    Jan 2011
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    is the event still on onmouseclick or not?..

    have you tried this one?

    document.font color = ' ffffcc '

  9. #9
    Join Date
    Jan 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If you change it document.font color = ' ffffcc ' it doesnt work.

    this is why i wanted to try and find out if there is some html code that can be used and connect somehow to a form button or drop down menu.

    There is probably a real easy way of doing it but there is almost nothing about this online.

  10. #10
    Join Date
    Jan 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here is a good example of what im looking for

    http://www.dyslexiaaction.org.uk/Pag...c=ColourPicker

    I want this type of system, but only for font colour and i will use it on the top of everypage.

Bookmarks

Posting Permissions

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