Reputation: 15
I'm working on a website update for a charity (status pending) to provide support for learning difficulties for both children and adults, as well as their family and friends.
The learning difficulties are associated with Auditory Processing Disorder, Visual Processing Disorder and so on. These LD's encompass Dyslexia, Disgraphia, etc.
Anyway, I need to create a button that will change the option of viewing the text either as I've written it here (plain black on white bg) or to this link:
I will be using joomla, and I think this can be done with a javascript, but my basic javascript knowledge is long gone - any ideas or tips on how to achieve this, perhaps so that I could change the available colours in the script to suite various LD's would be very much appreciated.
Many thanks in advance,
Steve
Upvotes: 1
Views: 38
Reputation: 3074
You basically want to switch your stylesheet for another.
If you google stylesheet switcher there is quite al ot of info about how to do this. Here is an example from my quick search:
http://www.cssnewbie.com/simple-jquery-stylesheet-switcher/#.Uox7omRmWPU
Or even if you search SO there are a few questions that relate to this:
Style Switcher & Text Resizer Combined?
Upvotes: 1