Eje wrote:
I am developing a webapplication for a company holding
stocks for a number of customer companies. The customers
can order parts via this new appliction. My application
is linked to each of the customers' home pages. I want
each user to 'believe' he still is in his company's pages
by changing logo and i.e. backcolor depending on company.
A person from company A will see his company's logo and
colors and a person from company B will simultanously see
his company's logo and colors. Can I achieve this with
css. In that case How? Or is there another better method.
It is certainly possible to do this:
<LINK REL="stylesheet"
TYPE="text/css"
HREF="myCSS.asp?Company=A">
Your script could either assign the CSS on the fly or redirect to a static
version:
[JScript example of redirection]
switch(Request.QueryString("Company").Item) {
case "A" : Response.Redirect("Company_A.css"); break
...
default : Response.Redirect("Default.css")
}
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.