Wavey75
Wavey75

Reputation: 15

Script to switch from plain to multi coloured needed - if it's even possible?

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:

apduk site

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

Answers (1)

matpol
matpol

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

Related Questions