[thelist] Variable Stylesheets?

Aleem aleem at mindless.com
Sun Dec 2 22:12:45 CST 2001


I may be wrong, but isn't this concept applicable using javascript and
DOM style/styleSheet objects, which also save a trip back to the server
since they are client side ? If the .js file and .css files are both
external, then it amounts to pretty much the same as what you have
suggested save a trip back to the server.

Once again, I've joined the discussion late, so correct me if I'm wrong.

Thanks,
Aleem

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org] On Behalf Of lon.kraemer
Sent: December 2, 2001 11:04 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Variable Stylesheets?

Hi Don,

> Here is an article about creating dynamic stylesheets in ASP:
>
> http://www.asp101.com/articles/thomas/dynamicstylesheets/default.asp

Hey, nice catch... even if it does pop my bubble! ;-(

"Everything that can be invented has been invented."
--Charles H. Duell, Commissioner, U.S.Office of Patents, 1899

Though Thomas' article emphasizes using the technique to dynamically
write
stylesheets to handle browser (in)compatibility, the tip link at the end
of
the article really nails what I've described.

I'm with Shirley (Kaiser) though. I believe there's more to this
technique
than meets the eye. In addition to the obvious benefit of enabling user
selectable viewing preferences, it'd be great for designers to show
alternate, 'you name the attribute', schemes. It's somewhat useful for
those
who are inclined to obfuscate their code/stylesheets (Okay, maybe I'm
grasping at straws). I think the beauty is the flexibility... one
stylesheet, infinite styles.

We'll just have to see what 'develops' from this discussion!

> ENjoy!
>
> Don Makoviney

LK



---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 





More information about the thelist mailing list