Toggle content back...
 
Notifications
Clear all

Toggle content background color

3 Posts
2 Users
0 Likes
1,495 Views
(@dejavu)
Posts: 6
Active Member
Topic starter
 

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?

 
Posted : 11/04/2011 12:39 pm
(@tammy)
Posts: 2577
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.

 
Posted : 12/04/2011 12:02 pm
(@dejavu)
Posts: 6
Active Member
Topic starter
 

Thanks Tammy. I'll look into it.

 
Posted : 12/04/2011 8:00 pm
Share: