473,396 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

use js to change stylesheet colors

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?
Jul 20 '05 #1
2 1463
On Thu, 29 Jan 2004 11:45:32 -0600, Treetop <tr*****@netfront.net> wrote:
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

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #2
Treetop wrote:
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

--
Vladdy
http://www.klproductions.com
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: kmunderwood | last post by:
I am having trouble changing the font size when extracting xml into an html web page. I think it can be done so many ways, that my searches bring up examples that I am not familiar with. I am a...
18
by: Jan Tuxen | last post by:
Jakob Nielsen in his most recent Alertbox (http://www.useit.com/alertbox/20040503.html) tells web authors to change the color of visited links. I agree to his purpose: Help users understand...
5
by: Lee K. Seitz | last post by:
I have a set of pages with a special stylesheet used to override some styles for printing. One of the things I've tried to do is reverse the colors of my navigation. On the screen, I have a black...
5
by: Laiverd.COM | last post by:
Currently working on a site that requires multiple different styles for all kind of things (tables, link colors etc.) and am suddenly ;-) wondering what would be the wise approach: have all these...
18
by: Denny Schierz | last post by:
hi, i want to change my link colors in the p class="suchen": That is my html: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//DE"...
0
by: bvh | last post by:
I have a calendar control on an aspx page. I set the colors in the property window. Later I added a style sheet to the page. Now no matter what I do, the title on the calendar is white. No...
2
by: Jéjé | last post by:
Hi, I have a web site with 3 themes. once the site is compiled I changing the stylesheetTheme option in the web.config has no effect!!!!! I continue to see the theme used at the compilation...
1
by: holytjeerd | last post by:
Hello, I have a page that loads some color values from a database and then a javascript needs to replace the stylesheet classes. For example the stylesheet has: .txt_content {color: #ffffff;} ...
10
by: _Who | last post by:
Seems to me that I should be able to do something like: ....runat="server" change from white.css to black.css... Of course if I could have found out how, I wouldn't be bothering you. Is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.