HighDots Forums  

loadining stylesheets

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss loadining stylesheets in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ruth
 
Posts: n/a

Default loadining stylesheets - 12-18-2007 , 02:25 AM






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?

Reg
R



Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: loadining stylesheets - 12-18-2007 , 03:19 AM






In article <HoWdnfZMlrp7HvranZ2dnUVZ8vednZ2d (AT) bt (DOT) com>,
"Ruth" <NewsgroupRuthNoSpAm (AT) hotmail (DOT) com> wrote:

Quote:
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


Reply With Quote
  #3  
Old   
Ruth
 
Posts: n/a

Default Re: loadining stylesheets - 12-18-2007 , 12:10 PM




"dorayme" <doraymeRidThis (AT) optusnet (DOT) com.au> wrote

Quote:
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

Thanks.

I found this - http://www.alistapart.com/stories/alternate/ - I haven't
tried to implement it yet, has anyone else?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.