![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Sorry if this is a really basic question. But what would be the best way to load a new stylesheet into an existing page when the user presses a link, and replace the currently linked versions? Say I want to provide the ability to change the look of the page (eg text only, larger, colour changes) so when the user clicks on one of these a new appropriate stylesheet is loaded, instead of the current version? And is there a way of applying this to a whole website? Is there some major server-sided scripting involved? |
#3
| |||
| |||
|
|
In article <HoWdnfZMlrp7HvranZ2dnUVZ8vednZ2d (AT) bt (DOT) com>, "Ruth" <NewsgroupRuthNoSpAm (AT) hotmail (DOT) com> wrote: Sorry if this is a really basic question. But what would be the best way to load a new stylesheet into an existing page when the user presses a link, and replace the currently linked versions? Say I want to provide the ability to change the look of the page (eg text only, larger, colour changes) so when the user clicks on one of these a new appropriate stylesheet is loaded, instead of the current version? And is there a way of applying this to a whole website? Is there some major server-sided scripting involved? There are low tech ways and higher tech ways. If you want just a few pages, you can simply duplicate all the html files into separate folders and link to docs in one or the other, each set having a different css. If you use server side includes, you can make the sets tiny in k size. -- dorayme |
![]() |
| Thread Tools | |
| Display Modes | |
| |