Click to See Complete Forum and Search --> : Making link to different CSS's dynamic


mangeloni
01-28-2003, 09:44 PM
I have 3 different CSS files: DesignA.css, DesignB.css, and DesignC.css. I want to display a particular page with one of these CSS's depending upon a table field 'Design' and it's respective value 'A' 'B' or 'C'.

Any ideas?:cool:

Thanks!

~MVA

mangeloni
01-28-2003, 10:13 PM
I am currently programming this application in JavaScript/ASP (which I am new a coding).

So I was just looking for some code to put into <link rel=stylesheet href="/path/<dynamic code here>" type="text/css">

Thought it would be a simple thing.:rolleyes:

mangeloni
01-28-2003, 11:04 PM
Sorry, but since I am new at this - I need to know in detail what you mean by "Just have your ASP code previously set the varName variable with the name of the stylesheet you want to load."

~MVA

mangeloni
01-29-2003, 06:55 PM
As I posted before...the CSS to be displayed depends upon the data in the field "Design". If "design" = 'A' then display this page with DesignA.css, and so on.

~MVA