DW CS3 - How to determine which CSS stylesheet to use at runtime ?

I'm building a website that can be used by different
companies. I want to use CSS so that when a user from Company_123
logs in, then they see a website in the style of Company_123's
corporate colours. However if a user from Company_ABC logs in, then
they see a website in the style of Company_ABC's corporate colours.
The site will potentially be used by dozens of different
companies so if possible I'd rather avoid having to implement a
sort of multiple "if company = 123 use this CSS, if company = ABC
use this CSS, etc, etc" at the top of every single web page I
produce.
Whats the best way to implement this ?
As far as I can see, when I create a new external CSS in DW
CS3, there is nothing dynamic in its title that allows anything to
be determined at runtime ?
Thanks in advance........Gav.

Different sizes of what? If screens then it's a wasted
effort.... You can
know my screen size but you have no idea of my browser
viewport size.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"newlinp" <[email protected]> wrote in
message
news:fvsa5b$87o$[email protected]..
>I would suggest using a stylesheet switcher...
>
>
http://www.alistapart.com/stories/alternate/
>
> Ive used it at
http://churchillretirement.co.uk
website to switch CSS for
> different sizes - I reckon you could do much the same
here..
>

Similar Messages

  • How to determine which configuration is being used within a page/view?.

    If I click on the little cog icon to take me into the AET for a given assignment block, how do I know which configuration is being used?. Usually one is highlighted, but the case of the Accounts main address assignment block these details are not shown. As there probably 30 of them I though there must be a quick way to determine which is being used from within the view/page.
    Anyone
    Jas

    Hi Jason, (great performance at the Transporter, but go easy on the steroids )
    There are 2 ways to know that:
    1. put your focus (not in the configuration mode) on one of the fields that are on the block. then press F2. Here you get a popup where there is the configuration searched for and the configuration found.
    2. Within the configuration, when there is no configuration with the configuration key linked to your business role present, the system takes the <DEFAULT> one. there should at least one be highlighted, otherwise you get a dump NO_CONFIG_FOUND.
    When you just press the copy button on the configurations tab, you get your configuration defaulted, this being, the configuration key linked to your business role + the search for component, usage, and subcomponent. here you see what was searched for.
    Hopefully this helps you out a bit.
    KR,
    Micha
    Edited by: Micha Van Nijen on Apr 20, 2010 3:03 PM
    Edited by: Micha Van Nijen on Apr 20, 2010 3:07 PM

  • How to determine which adapter to be used in a scenario

    Hi All,
    I am new to XI and have some very basic knowledge about it.
    I wish to know if I need to send data from a legacy(system A) to SAp (system B) how do I know what adapter to use. Should I use file, idoc ,JMS etc adapter.
    Is there a specific guide which I can use to know which adapter should be used in which conditions.
    Appreciate if you could guide me to some relavent weblog/steps.
    Thanks
    Shirin

    Hi Shirin,
    Before u start developing the objects in SAP-XI,kindly go through the below  mentioned blogs which would definitely help u in the road ahead.These blogs are meant for the freshers to XI like u...
    /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
    /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    These would definitely give u a good start into the world of SAP-XI
    Regards,
    Lokesh
    PS:Reward points if useful

  • SharePoint Databases - How to determine which ones are being used and which ones aren't

    I am not sure where to exactly post this question.  On the SQL Server side or on a SharePoint side.
    I am a SQL Server Database Administrator who is monitoring some SharePoint databases.  On a daily basis it seems that they are creating new databases but don't delete the databases that they are no longer using.  For example, they might be testing
    on a development server and if things aren't working properly instead of asking that the databases be deleted they just go ahead and create new databases to do what ever they need to do.  Is there a way on the SQL Server side to determine which SharePoint
    databases are being used and which ones aren't being used?  Or does one determine this information through the SharePoint Central Administration console?
    lcerni

    Hello,
    The following query gives you the databases now in use.
    SELECT
    DISTINCT d.name
    FROM
    sys.dm_tran_locks
    tl INNER
    JOIN sys.databases
    d
    ON
    tl.resource_database_id
    = d.database_id
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to determine which Factory Calendar to use in BI - Help!

    Hello,
    Need some help? Any input would be much appreciated.
    Basically I am creating a query in BI 7.0 based on Utilisation for a particular business Unit. However, I need to define or incorporate somewhere, to use the GB Factory Calendar.
    I have done the normal SCAL maintenance and transferred Global settings from R/3. So all the Factory calendars have been transferred over. Our BI system is picking up the default factory Calendar as 'DE'.
    How do I now tell BI I want to use specific Factory Calendar 'GB' (Great Britain) at ALL TIMES since this is the only one we will use.
    Do we need to use a particular info object in query?
    0CALMONTH to check working days as opposed to 0FISCPER
    Many thanks in advance
    Kuljit

    Try tcode RSRHIERARCHYVIRT customizing setting - specify your factory calendar and check if it works.

  • How to determine which fallback bundle was used?

    Hello,
    I have built a component that uses singleton factory classes to cache localized objects in that same factory. In the end the singleton factory either builds a new one or pulls from cache. The cached objects can be cached by keys like myObjectEN or myObjectENUS. If I use user locale to create these keys fallback situations are not handled properly. Example:
    1.) I am only providing a _en bundle.
    2.) A user who's locale is en generates an object twith en translations that us cached by key myObjectEN.
    3.) A user who's locale is en_US falls back to en & generates an object with en translations that is cached by key myObjectENUS if I use the users locale, which isn't correct.
    This results in the same object with english translations being cached twice by two different keys. I need my key to be drived from the resource bundle being used, and not the users locale, to cover fallback situations. Is there any way to do this?
    Thanks!
    Message was edited by:
    DougSteckel

    Thanks Marius.
    The wdController.getApplication method doesn't exist, but if found that this did work:
    wdComponentAPI.getApplication().getName()
    thanks for send me off in the right direction.
    Cheers,
    faB
    Message was edited by: faB

  • How to get which JRE version is used during runtime?

    Hi.
    I want to know in my application which JRE version the user is using. Is there some method in Properties Object?
    Thank you in advance

    System API tells all...
    "The current set of system properties for use by the getProperty(String) method is returned as a Properties object. If there is no current set of system properties, a set of system properties is first created and initialized. This set of system properties always includes values for the following keys: "
    Key                   Description of Associated Value
    java.version          Java Runtime Environment version

  • How to determine which elements are queryable via Web Services QueryPage

    I am trying to query opportunities by associated opportunity product revenue records, but I continue to receive errors like "Unexpected text: = '9598015'".
    From reviewing the forums, it looks like this is when I am querying a field that is not defined to be queryable.
    Could someone please tell me how to determine which fields are queryable on a particular record type like this? I have tried using basic short text fields and indexed short text fields - but continue to receive the error message above.
    Thanks in advance.

    I found at least partial answers to my questions.
    MessageContext.getPropertyNames() can be used to see the properties on a given flow.
    MessageContext.getProperty(prop) can be used to get information for paroperties such as:
    prop=javax.xml.rpc.service.endpoint.address
    prop=wsdl.portName
    -- Frank

  • How to determine which chipset my Satellite L300/700 has?

    I have a SATELLITE L300/700 (PSLB8A-047004). The User Guide covers several models. It indicates that the chipset determines which memory modules I need for a memory upgrade. How do I find out which chipset I have, please?
    Kev.

    > I'm still curious about how to determine which chipset I have - any thoughts?
    Go to the device manger and click on IDE Ata/Atapi controllers:
    http://img814.imageshack.us/img814/7321/chipset.jpg
    There you will see your chipset installed on your laptop. In my case, as shown on the screenshot is Intel ICH9m

  • How CSSCAN determines which indexes need to be rebuild ?

    Hi everybody,
    i'm currently migrating 3 Oracle databases that contain CP1252 characters unproperly stored in WE8ISO8859P1 instances.
    The key steps of the migration are :
    1. ALTERing CHARACTERSET to WE8MSWIN1252
    2. changing CHARACTER SEMANTIC LENGTH for CHAR and VARCHAR2 columns
    3. truncating data stored in VARCHAR2(4000) columns
    2. Full export
    3. Full import in a ALL32UTF8 instance
    To do all of this (and especially the step 3), i use the CSSCAN utility (very practical !!!).
    And i have a question about CSSCAN: how CSSCAN determines which indexes need to be rebuild. What is the logic ?
    Looking at the CSSCAN report, i have a lot of cells/columns that are affected by the characterset migration, and i have just a few index to rebuild.
    Why would i like to understand the logic ? Because i would like to rebuild ONLY indexes that REALLY need to be rebuilt and i am not sure that all the indexes specified by CSSCAN really need to be rebuilt.
    Thanks for any information about that.
    (and sorry for my english)
    NB: i have managed "function-based indexes" specifically: i drop them before the export, and i recreate them after the import. So my question mostly target the "regular indexes"

    1. All indexes whose key contains at least one character column with convertible or exceptional data, excluding indexes with names equal to some constraint name for the same owner.
    plus
    2. All functional indexes on tables that have columns needing conversion, excluding indexes with names equal to some constraint name for the same owner.
    The condition regarding constraints does not seem to be very fortunate but it comes from times when the appropriate flag in index metadata was not yet available.
    But note that in your migration scenario, you do not actually have to care much about indexes. Step 1 & 2 do not need any modifications to the user data and hence to index contents. Step 3, if done through UPDATE, will modify affected indexes automatically. Step 4 does not affect the database. Step 5 will recreate all existing indexes anyway.
    -- Sergiusz

  • How to determine or verify the language used if your application is in mult

    hi,
    How to determine or verify the language used if your application is in multi Language Env.
    Thanks & Regards

    Hi again;
    I suggest also see below link which we discussed before here
    Find languages installed in my R12 instance ?
    Regard
    Helios

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • How to findout which Tibco adaptor is used in our system?

    Hi All,
    In our system ,which is a Java enterprise application ,Tibco adaptor is used to connect to the database.
    That adaptor is going to be upgraded. I would like ot do a technical research on that. But im new to the system.
    Could anyone help me ,how to findout which Tibco adaptor is used in our system?
    Thanks in advance.
    Ameena

    There's nothing stopping you from using the generated sequence for something else, however you can NOT override it when doing an insert (as long as you've specified ALWAYS which is the default).
    SQL> create table t
      2  (some_id number generated as identity
      3  ,name varchar2(30)
      4  );
    Table created.
    SQL> select * from user_sequences;
    SEQUENCE_NAME
    ISEQ$$_91970
    SQL> select ISEQ$$_91970.nextval from dual;
                 NEXTVAL
                       1
    SQL> select ISEQ$$_91970.nextval from dual;
                 NEXTVAL
                       2
    SQL> insert into t values (99,'smith');
    insert into t values (99,'smith')
    ERROR at line 1:
    ORA-32795: cannot insert into a generated always identity column

  • How to query which Tcodes specified user used with one day?

    Hi guys:
      How to query which Tcodes specified user used with one day?

    Hi
    You can use transaction code ST03N.
    1. Go to tx code - ST03N
    2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
    3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
    4. At the bottom left you get "Analysis Views"
    5. Select & expand "User and Settlement Statistics"
    6. Double click on "User Profile"
    7. On the right side of the window you get a list of all the users
    8. Double click on a particular user you want to view the details of.
    9. The new screen will display the "Transactions/Reports Utilized by User XXX"
    If you wanna track which users executed a particular transacation then follow this:
    10. In "Analysis Views" expand "Transaction Profile"
    11. Double click on "Standard"
    You can view the list of Transactions and Reports.
    12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
    This will help you.
    Regards
    Sumit Jain
    [reward with points if the answer is useful]

  • How to know which apple id is used to activate iphone?

    I have iphone 4 which is second hand phone. So how to know which apple id is used to activate iphone. My id or first owner's id.

    As i told i do not him, means where he will be, and i do not have his number. Is there any method to that is my id is used to activate iphone or other's id, without putting my iphone in activation lock.

Maybe you are looking for

  • Lightdm power options with systemd?

    I gave up LXDM because it had a lot of bugs. LightDM seems to be ok - everything works except power button - nothing option is displayed. https://aur.archlinux.org/packages/lightdm-devel/  the source of this package include "lightdm-1.5.1-systemd_log

  • HT4858 How do I set up iCloud on XP

    I use iCloud on an iPhone, iPad, Macbook Air, and Windows * PC.  My new hospital computer is running XP.  I was able to download iCloud, but it doesn't sync with other iCloud based programs.

  • External HD letter keeps changing.

    I'm using an external hard drive with a laptop PC running Lightroom 3. Every now and again I unplug from my ext HD to leave home with my laptop. When I return and plug the ext HD back into the USB slot I realize that the computer has allocated the ex

  • Dynamic binding of radiobutton's property inside table is possible ?

    Hi, As someone asked here, i am too lookig for sometime for code to bind dynamically 'keyToSelect' property of radiobutton(inside the table). someone please point out.. Thanks, Hussian.

  • Won't read Windows XP disk

    I have partitioned my drive and am now attempting to install Windows XP. However, my computer does not read the Windows disk. The disk is an authentic version of Windows XP Home Edition. I had previously installed it on another computer to run in Par