Forums de discussion

How to hold color changes

thumbnail
Mohd Hanafi, modifié il y a 14 années.

How to hold color changes

Junior Member Publications: 83 Date d'inscription: 18/01/10 Publications récentes
Hi,

I'm working on accessibilty function that can do these things.

1. Increase font size by to time larger or decrease it to be smaller.
2. Change font color.

The function works but it turns to default if I open other pages.



Requirement: When user choose a color, it remains unless reset.

Problem statement: The color changes turns to default automatically when open new page.

I use simple javascript to make it.
Somebody suggest me to set cookies, but I have no idea to do that.

Hope someone here can give any guideline.

Thanks.

-----------------------------------------
thumbnail
Mohd Hanafi, modifié il y a 14 années.

RE: How to hold color changes

Junior Member Publications: 83 Date d'inscription: 18/01/10 Publications récentes
Ok,

I change the javascript and set cookie for it.

Problem solved.

Pièces jointes:

pavithran sakthi, modifié il y a 13 années.

How to change the font color the page name when we click on that

New Member Envoyer: 1 Date d'inscription: 16/11/10 Publications récentes
Hi, I want to change the color of the page name when we click on that page. Page name is in black font so when i click on that page it should change to white color font.