use js to change stylesheet colors

T

Treetop

When creating a new site, I will usually have to go through several
postings with customers to verify the correct color for links,
background, .....

I would love to be able to add a simple script to the home page, that
allows customers to click a link to change the menu color / link
background / ... as defined by css, and let me know which one they
want.

anyone have an example of this?
 
M

Michael Winter

When creating a new site, I will usually have to go through several
postings with customers to verify the correct color for links,
background, ....

I would love to be able to add a simple script to the home page, that
allows customers to click a link to change the menu color / link
background / ... as defined by css, and let me know which one they
want.

anyone have an example of this?

If your clients use a decent browser (that is, not IE), you can simply
specify several alternative stylesheets that can be selected from menus in
the browser itself.

http://www.w3.org/TR/html4/present/styles.html#h-14.3

Mike
 
V

Vladdy

Treetop said:
When creating a new site, I will usually have to go through several
postings with customers to verify the correct color for links,
background, .....

I would love to be able to add a simple script to the home page, that
allows customers to click a link to change the menu color / link
background / ... as defined by css, and let me know which one they
want.

anyone have an example of this?
See the customization wiget on my site.
Requires Gecko or IE6.0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top