Conditional Stylesheets per Application

Post Reply
FruitBowl
Posts: 1
Joined: Mon Nov 04, 2013 3:13 am
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 14.0

Conditional Stylesheets per Application

Post by FruitBowl »

Hello,

I have a TM1 10.1 instance running three differing applications.

I want a different style-sheet file (.css) to be loaded depending on the application that is open, i.e. if you open application one - I want websheet1.css to be loaded, if you open application two - I want websheet2.css to be loaded, etc.

My initial thoughts on the solution was to add some Javascript to the head of the websheet.aspx file, basically an if statement that loads the stylesheet depending on the application that is opened... not sure if this the right way to go about it..or if each application has an associated variable/function I can call.

Does anyone have any thoughts on how to achieve this?

Many Thanks,
FB
Post Reply