Forum

Toggle content back...
 
Notifications
Clear all

Toggle content background color

Dejavu
(@dejavu)
Active Member

I have one other function that I would like to have on my site. On authonomy.com you can toggle your screen color while reading stories. It is just under the text size to the right of the chapter. there are so many people who prefer to read stories on a white background, but I like the black background my site currently has. I know I could create a skin to fix this problem, but I think it would be a greater for the design of the site to have a toggle box for the color while reading the chapter.

Anyone have a code or mod for this?

Quote
Topic starter Posted : 11/04/2011 6:39 pm
Tammy
(@tammy)
Member Moderator

You need to add a javascript to switch between 2 different .css files for the same theme.  I don't have an example for you using the current eFiction.  You could search google or bing for something ike "javascript switch css" for examples.

ReplyQuote
Posted : 12/04/2011 6:02 pm
Dejavu
(@dejavu)
Active Member

Thanks Tammy. I'll look into it.

ReplyQuote
Topic starter Posted : 13/04/2011 2:00 am
Share: