Global application of CSS

"Learning" as I go with DW CS4.. I have made a number of photo albums... all default settings using FireWorks. The results are pretty plain so I individually touched up the index.html files for each album.. changed fonts / color and added a background. The "pages" with the individual htm files are my problem... I made a Picture_Style.css that changes the color of text.. adds a background.. etc. And by linking each *.htm I am sort of happy with the look.
Not "totally" sure I made it right though... I see in various tutorials that the style is listed by name in the CSS dialog box.. mine is +<style>... but it does seem to do what I want.. sort of
But.. I have over 500 *.htm files to attach.... .... Is there a global command that will do this?  I did the first album one at a time but there were only some 40 *.htm files to deal with.
And... I can live with the placement of the picture.. "Hard Left"  but..  would really like to center it. Can / could I modify my Picture_Style.css to do this? How?.. Where do I start?
ANY.. help and / or advice gratefully accepted

Would actually be better to provide a link to your web pages - that way people can get the 'whole picture' and hopefully offer some suggestions.
You could always use find and replace sitewide.
The stylesheet link usually comes before the closing </head> tag... so
you would do a FIND for:
</head>
and then replace with:
<link href="css/print.css" media="print" rel="stylesheet" type="text/css" />
</head>
of course you'd use the link to your own stylesheet  :-)
If you do want to try the find and replace method - make sure you work on a COPY of your site, not on the original, in case something goes wrong  :-)

Similar Messages

  • Best way to manage global application data

    Hello,
    I'm looking for the best way to manage my global application data. I have a program containing about 70 application settings which are loaded from an ini file and organised as clusters and loose variables. I want to be able to use these settings across multiple vi's. The application settings can be modified during execution. Some vi's can change settings and these changes need to be visible accros all vi's.
    What is the best way to manage this. Ideally, I would have one cluster or class containing all the application settings but since the sub vi's run independend, I can't wire them through. 
    From what I've read so far, global variables ain't really well suited for this due to race conditions. The FGV might be a solution but it is not clear to me how to implement this for many variables. (One FGV or multiple FGV's, etc... Does anyone have a good example of this?)
    Are there any other good solutions? Any advice is welcome!
    Best regards,
    Wouter

    You can also create a singleton LVOOP object (maybe a few if you want to logically organize your settings). When you initialize the system you create the object and it uses a DVR internally to store your data. Since this is a singleton object you do not need to wire it through your code. Your subVIs simply call the appropriate methods and it will interact with the class data. A FGV is basically the same thing except that you only have a single VI so you are more limited with your inputs and outputs. A singleton object let's you refine the connector pains based on the methods and what they are doing.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Global Application Parameters for EJB

    Hello all, I did a search for this on these forums and there are there a TON of threads of developers wanting to implement the classic Singleton pattern so that all EJB's of an application can access "Global Application Parameters". Most of these I've been reading achieve this by workarounds that breakdown at the clustering level, since Singletons won't span multiple JVMs.
    Suppose you deploy an EAR that only has EJB jars, so you don't have access to all the convenience of the web tier (context parameters, context Initialization, etc.), so there is no way for your EJB's to detect/intercept an "Application Startup" event and load any necessary values into a Global Application parameter repository.
    This seems such a widely demanded functionality that I wonder if there now a "best practice" way to achieve equivalent of the Singleton pattern in the EJB world that works nicely in a clustered environment?

    I have the same problem
    Thanks

  • Global Application Contexts - Where to set Client Identifier?

    Hi,
    I am trying to use global application contexts as part of an implementation of fine grain access control.
    This is within an eBusiness Suite environment, specifically CRM, so is a multi-tiered environment.
    Users access both Forms based screens and OA framework screens.
    I believe I need to use global application contexts as users may have multiple database sessions.
    Also, all users will login using the same database login account.
    Provided I can set a unique identifier for a user that persists throughout all their sessions I can make use of the username and client_id parameters of set_context, below:-
    DBMS_SESSION.set_context (namespace => 'XXUOM_CONTEXTS',
    attribute => 'EXEMPT_FROM_VPD_POLICIES',
    VALUE => l_exempt,
    username => USER,
    client_id => pi_user_id);
    The difficulty I am having is finding a suitable place to set the client identifier.
    I am not sure if the value is being cleared by some other code or if the value isn't being set in all sessions.
    I am using:-
    DBMS_SESSION.set_identifier (pi_user_id)
    That I call from after insert triggers on either tables icx_sessions or fnd_logins.
    However, the client identifier is always null when I query it from within the application, via:-
    SELECT SYS_CONTEXT ('USERENV', 'CLIENT_IDENTIFIER') from dual
    If I set the value via a personalisation rule within a Form, then the value remains.
    I would greatly appreciate it if someone can advise me on where I am going wrong.
    Andy

    It's a different patch.
    The patch support have given me is 9275708, FND_GLOBAL.ORG_NAME RETURNS ENGLISH, EVEN WHEN SESSION LANGUAGE IS NOT.
    This patch has been superceded by 12875860, HR SECURITY PROFILE IS NOT SET CORRECTLY.
    So we have applied patch 12875860.
    I've tried to find out from support what happened to the original patch and why it was removed/deleted rather than superceded.
    I have not found it possible to find out what each of these patches does. There's very little documentation on them.
    I have raised an SR.
    The details are 3-4943519401: How to add DBMS_SESSION.SET_IDENTIFIER() to FND_GLOBAL.INITIALIZE.
    The results of:
         select fnd_profile.value('FND_CONNECTION_TAGGING') from dual
         gives nothing on our Release 11 environment.
    select * from fnd_profile_options where profile_option_name = 'FND_CONNECTION_TAGGING';
    gives nothing.
    On Release 12, the results are:
         select fnd_profile.value('FND_CONNECTION_TAGGING') from dual;
         ENABLED
         select * from fnd_profile_options where profile_option_name = 'FND_CONNECTION_TAGGING';
         returns a record.
    Many thanks for continuing to look into this for me.
    Andy

  • Global application context available in Real Application Clusters 11G R1?

    Does anyone know if Global application context is availble is 11G R1? We have an application that uses it and I cannot retrieve context from node two for a client_id that was created and set on node one. I thought this was availbale after 10g? Is anyone else doing this?

    found the answer. It's available in 11G R2
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10574/whatsnew.htm#CJADFCBF

  • Global Application variable

    How do I set a global application variable in a Swing application?
    Namely
    MDI display opens a new window
    new window sets a variable
    close the new window and return to the MDI window
    MDI window needs to use the variable.
    Note: the new window is is its own class object.

    What are you talking about?
    Static variables are "global".
    In some class (it does not really matter which) define
    a static variable. O.K. now you have a "global"
    variable.
    Some people may say that this is "bad" programming
    practice, but it is what you asked for.public static variables of public classes are 'global' in the sense you can refer to them if anywhere in an application. Public classes are also 'global' in this sense.
    However, we don't call them global variables, they are class variables. A global variable is generally defined to be one that is associated with the running application. It has no context other than that. It can be used anywhere at any time without any qualifications. In other words, the are terrible.
    I had to maintain an application that had 50 or so global variables. Some of these variables represented the exact same piece of information so it was cruicial during modifications to make sure that they were kept in sync. Don't use this type of design.

  • Errror 1051518 - global application does not exist at Shared Services

    Reinstalling System 9 BI+ (9.3) in Dev with Tomcat & MySql and getting the following message when I try to start Essbase.
    I can log into Shared Services & AAS
    Any ideas or help appreciated.
    \[Sat Apr 18 00:24:42 2009]\Local/ESSBASE0///Info(1051286)
    License information retrieved.
    \[Sat Apr 18 00:27:12 2009]\Local/ESSBASE0///Info(1051199)
    Single Sign-On Initialization Succeeded !
    \[Sat Apr 18 00:27:12 2009]\Local/ESSBASE0///Info(1051232)
    Using English_UnitedStates.Latin1@Binary as the Essbase Locale
    \[Sat Apr 18 00:27:15 2009]\Local/ESSBASE0///Error(1051518)
    Analytical Services global application does not exist at Shared Services

    use hyperion configuration tool to reconfigure your essbase with shared service..
    btw what version do you use?
    in 9.3.1 you can access it from start menu --> hyperion --> foundation services --> configuration tool

  • Best Practice Needed: Global Application Properties...

    Hi All,
    When developing a web-based application that reads certain configurable parameters from .properties files, I usually put the appropriate code in a static block in the appropriate Java class, storing the property in a static final constant. For example, a DBConnection class might have a static block that reads the driver, username, and password from a properties file.
    My question is, what are some "best practice" techniques for accessing and storing such parameters for use in an application? Are all global properties initialized in one class? at the same time? only when first needed?

    over all, I would say that your approach is fine. Personally, I load properties through a single class, some thing like PropertyReader, and have the different classes initialize their static fields via a get method on that class, like getProperty("db.user"). I prefer to load them via a single class because I can place all of my IO trapping in one location, it is easier to implement new security measures and, if necessary, easier to support internationalization.
    I initialize all properties once, at startup, into a Wrapper Object, typically ResourceBundle or Properties (although Hashtable or any some thing else would be suitable). I believe that it is best to initialize all properties at the same time, at startup because the costs of storing properties that may not be used is going to be less then the cost of making multiple IO calls to load properties on a need-by-need basis. In other words, you are almost always going to take a bigger performance hit by loading properties only when a request for that key is received, rather then just loading them all at once.

  • Persistent global application properties

    Hi all,
    i would like to provide some global persistent properties for arbitrary applications (Web Dynpro, J2EE applications, whatever), which should be changeable at runtime by the applications themselves and should be consistent for the whole cluster. I could use the database and an own service for this but since i'm lazy, i searched the NW 04 documentation and found the chapter about <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0d/7fcb4974874767be388007bf9e5c2a/frameset.htm">Application Configuration Management</a>. Each application gets it's own "appcfg" part, which seems to be freely changeable by the "owner application" of the configuration.
    So my questions are:
    1. Is this service dedicated to be used for general purposes or should i keep my hands off?
    2. Are changes propagated to all server nodes of a cluster (with some delay, as stated in the docs) to get consistent configuration data or is it restricted to the server node, where the changes have been committed?
    Thanks in advance.
    Regards
    Stefan

    Hi Stefan,
    >
    > So my questions are:
    >
    > 1. Is this service dedicated to be used for general
    > purposes or should i keep my hands off?
    Not at all. If j2ee-engine-application.xml is involved, this was intended to be used...
    > 2. Are changes propagated to all server nodes of a
    > cluster (with some delay, as stated in the docs) to
    > get consistent configuration data or is it restricted
    > to the server node, where the changes have been
    > committed?
    Definitely. If you find this working differently then this would be definitely a bug.
    Regards,
    Benny

  • Global Application Environment Entries

    In declaring environment entries, is there a way to declare one that is global
    to all the beans in an application?.. Currently, I'm declaring them as follows:
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>LMRPackageBQEJB</ejb-name>
    <home>LMRPackageBQSLBean.LMRPackageBQHome</home>
    <remote>LMRPackageBQSLBean.LMRPackageBQ</remote>
    <ejb-class>LMRPackageBQSLBean.LMRPackageBQBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <env-entry>
         <env-entry-name>DB_SCHEMA_NAME_BQ</env-entry-name>
         <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>lmrdba</env-entry-value>
         </env-entry>
         <resource-ref>
    <res-ref-name>jdbc/LMR_DB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    <session>.....
    How can this be changed?
    Thanks

    Hi,
    I never tried it, but I think you should be able to set it up as a datasource configured in teh j2ee/home/config directory of OC4J. There is an existing datasources file already
    Frank

  • Global application keyevents

    Hi
    is there any quick way of making keyboard events global for the entire application no matter what component has focus?

    found the answer. It's available in 11G R2
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10574/whatsnew.htm#CJADFCBF

  • How to Obtain the Value of a ***Global*** Application Item from JS

    If we declare an Application Item, i.e. NOT a page level item, how do we obtain the value of that Item in a JavaScript Dynamic Action on a page?
    For example, we declare a "global variable" as an Application Item named DEFAULT_AJAX_SEPERATOR and set its value with an Application Computation "On New Instance" At some later point, on a page in the application, we'd like to obtain the value of DEFAULT_AJAX_SEPERATOR via JavaScript.
    The page* level item syntax...
    $v( 'DEFAULT_AJAX_SEPERATOR' );...does not work. I do understand why this is as $v can only access items on the page. However, APEX is clearly able to obtain such global values since, for example, they are available in PL/SQL blocks. Also, I know it's on the session object because I can see it when viewing the session.
    So...what's the secret sauce for obtaining that value?
    Thanks,
    -Joe

    Hello Joe,
    >> on a page in the application, we'd like to obtain the value of DEFAULT_AJAX_SEPERATOR via JavaScript … So...what's the secret sauce for obtaining that value?
    The secret is to define a global JavaScript variable and set it with the value of the item, using Substitution String notation. For example:
    var default_ajax_separator = &DEFAULT_AJAX_SEPERATOR.This code should be placed in the Function and Global Variable Declaration field, under the JavaScript section of the Edit Page. As we are talking about a global JavaScript variable, it will be available to every other JavaScript code on the page.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Global Cerificate on CSS 11503

    Hi
    I am planning to enable https for few web servers behind a CSS 11503. I have tested the functionality with the trial cert every thing works as desired.
    Now I need to buy a certificate from Verisign to make it work in production.
    At verisign they offer two different certs (Secure Site --40 bits encryption) and (Secure Site Pro -- 128 bit encryption).
    1. Is this 128 bit cert a "global cert"? and I need to concatenate the "intermediate cert" and "server cert" to make it work?
    2. If all my users are in USA then does it make sense to buy this 128 bit certificate?
    3. Verisign website also asks for "server Platform" and cisco is not mentioned as an option (I can see other LB as F5 in the list). What should I select for the server Platform when I am requesting it for CSS 11503 (I have generated the CSR on CSS 11503).
    Thanks in advance
    Glenn

    1.The guy who picked the phone at verisign had no clue.Verisign website says the following
    Secure Site Certificate (40bit minimum)- SSL Certificates without SGC
    To install your SSL Certificate, go to the instructions below for your server software. If your server is not listed or you need additional information, refer to your server documentation or contact your server vendor
    Secure Site Pro Certificate(128bit minimum) - SSL Certificates with SGC
    If you are installing an SSL Certificate with SGC, you need to copy an Intermediate CA Certificate before proceeding to the installation instructions for your server software.
    2.My understanding was that 40 bit is minimum encryption level and only old browsers (exported ones) will us 40/56 bit ciphers. Other wise even with 40 bit certificate the new browsers will establish a 128 bit session.
    Verisign says about their 40 bit certificate
    "40-Bit to 256-Bit SSL Encryption Non-SGC SSL Certificates provide a minimum of 40-bit and up to 256-bit SSL encryption. Site visitors using certain older browsers and many Windows 2000 users will only receive 40- or 56-bit encryption unless they’re connecting to an SGC-enabled SSL Certificate"
    I found a document on net in favor of buying 40 bit certs.
    http://www.whichssl.com/myths_about_sgc.html
    Gilles I am a bit confused here.Need HELP :)

  • [SOLVED]global application appearance settings

    I am using arch-linux with i3 window manager and I have recently installed
    [bold]gnome-color-chooser[/bold] because I need to change the global settings
    for the text color in every installed app.
    For example:
    - in skype, everything is coloured with a light grey so it is impossible to read my contacts names
    - in vlc menu the same colour...
    plus in google chrome when I hover a bookmark inside a folder the text disappears..
    As I mentioned before, I am trying to change some settings via gnome-color-chooser (GUI) but
    nothing changes at all in the application's menus.
    I would appreciate it if somebody give me his lights! Thanks!
    Last edited by dsar (2014-10-15 12:50:28)

    Trilby wrote:
    dsar wrote:Which is the best way to know what you have installed?
    The only things you should have installed, you have installed with pacman - you should know what you have done.
    Personally I avoid toolkits - this is a personal preference that would not fit others well at all, so I don't advise avoiding them, this is just me.  So if I try to install a package, and pacman reports that qt4 will be installed as a dependency, then I know the package of interest uses qt.  In my case, I'd probably just chose not to use it.  I've learned to tolerate gtk2, but if I try to install a package and pacman reports that it will install gtk3 as a dependency, then I cancel it and I find another alternative.
    So you should know which toolkit(s) you already have installed - if new ones are to be added as new dependencies, pacman will report this to you before you says 'Y' to continue.
    If you install a new program and pacman does not report that it will install any new toolkit dependencies, then the new program either uses no toolkit, or only uses one that you have already installed and configured, so there is no reason to worry about it.
    In other words - if you have qt4 and gtk2 installed and themed as you like, then you try to install package X.  Pacman reports no new toolkit dependencies, so package X either uses qt4 or gtk2 (or no toolkit), as you have already themed those two, there is nothing else you need to worry about.  If pacman reports that package X will pull in gtk3 as a dependency, then you might need to recheck your themes to make sure they will also apply to gtk3.
    Very well! It Seems very organized to me! Thank you

  • Global application module settings

    Is there a better way than having to explicitly do the following (for example)
    <% myAppMod.useApplicationModule().getSession().setLocale(new java.util.Locale("en", "AU")); %>
    <% myAppMod.useApplicationModule().getTransaction().setBundledExceptionMode(true); %>
    on every jsp page where I use "myAppMod".
    I tried setting the above in the constructor of of MyAppMod, i.e
         public MyAppModuleImpl()
              getSession().setLocale(new java.util.Locale("en", "AU"));
              getTransaction().setBundledExceptionMode(true);
    but I get the following execption:
    oracle.jbo.InvalidOwnerException: JBO-25301: Application module is not a root app module but has no parent

    Jamie,
    For the Locale, I would rely in the logic in the ApplicationModule tag which already set the locale from the request using the following method:
    If your browser has en-AU as the first language in the list, en-AU locale will be used and set to the am session.
    If your browser does not have any language preference, the locale will be determine at best using the html charset.
    It is a more flexible approach.
    As for the bundleException you need to set it only once at the begining if you are using statefull or reserved release mode.
    Otherwise, set it by overwritting the activate method of the ApplicationModuleImpl instead of the constructor.
    Charles.

Maybe you are looking for