changing background color

P

P.Singh

hi all

i am designing a website for a charity origanisation. they cater towards the
senior crowd.

i would like to have choice by which the user can change the background as
required (like beige/grey/aqua etc.) and also the text color/font and browse
the site with that background and text color .

will i need to make different copies of the site and link them together.
that will be very long and not at all practical.

i have managed to get a javascript for changing the background. but that
changed only the background of a certain page. it is not of much use to me.

if anyone can help me so that the user can choose the background and text
color and use that for the rest of his/her session, it would be great.

thanks in advance.

P.Singh
 
T

Thomas A. Rowe

You could do this with CSS by creating links to different style sheets (may require server-side
scripting to load the style sheet from a link) or Server-Side Scripting, such as ASP without using
CSS.

Here is ASP based example:
http://www.ecom-data.com/Examples/Seasons/
Click on one of the four season at the very top of the page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
P

P.Singh

hi

thanks for ur help. the site i am making is going to be self contained and
on a cd. it is for educational purposes in schools.

so if i want to use css, i can define different scripts. but how do i go
about linking them with all the pages in the site.

and if i deifne 1 cs to change the color and a different one to change text,
if use the 2nd one after using the first will it use the background set by
the 1st or will it reset the background to the default white.

i am not a tech geek with site design, so i can use all the help u can give.

thanks

P.Singh
 
T

Thomas A. Rowe

They are using a server-side script, Perl to change colors, which requires a web server.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

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

Top