Hello,
I've successfully written a skinning script for my site so users can select the skin and text size they want to use. This skinning script uses many alternate style sheets, and I'm wondering if I should have links to all of them in my pages so they all load when users load a page?
I'm thinking that would speed up changing skins, and I'm wondering if just loading them all in one page will make them available for other pages as well, or will the other pages need to load them from the server when they want them?
I haven't loaded it up to the server yet, still have to put the function calls in the rest of my pages.
Later, Ray Parrish
Page 1 of 1
When to load alternate style sheets? All at once every time, or just once at session start?
#1
Posted 14 November 2008 - 07:58 PM
Later, Ray Parrish
Listen to my brilliant guitar playing !!
The Unknown Lead Player
Linux dpkg Software Report
Ray's Links, Human reviewed link index
Writings of the Schizophrenic
Listen to my brilliant guitar playing !!
The Unknown Lead Player
Linux dpkg Software Report
Ray's Links, Human reviewed link index
Writings of the Schizophrenic
#2
Posted 25 November 2008 - 11:49 PM
Hello,
Well, no one ever answered this, but I have discovered through experimentation that all of the style sheets need to be referenced in every page that uses them the way I'm doing it with just client side scripting.
If I move to .asp server side scripting, I can write the one style sheet reference I want to use at any point to the page as it's being served to the client so only one style sheet reference will need to be loaded with each page.
Later, Ray Parrish
Well, no one ever answered this, but I have discovered through experimentation that all of the style sheets need to be referenced in every page that uses them the way I'm doing it with just client side scripting.
If I move to .asp server side scripting, I can write the one style sheet reference I want to use at any point to the page as it's being served to the client so only one style sheet reference will need to be loaded with each page.
Later, Ray Parrish
Later, Ray Parrish
Listen to my brilliant guitar playing !!
The Unknown Lead Player
Linux dpkg Software Report
Ray's Links, Human reviewed link index
Writings of the Schizophrenic
Listen to my brilliant guitar playing !!
The Unknown Lead Player
Linux dpkg Software Report
Ray's Links, Human reviewed link index
Writings of the Schizophrenic
Share this topic:
Page 1 of 1

Help



Back to top








