Current date background color

In 10.9.1 Calendar, how do you change the "current date background color"? The default is pink.

Hello,
There is no easy way to do this. The only thing I can think of is this.
1) In your calendar template add this.
In the "Day Open Format","Today Open Format","Non-Day Open Format","Weekend Open Format" add id="#DD##MM##YYYY#" to the containing HTML tag, usually a TD. This will give you a way to identify the table cells.
2) Now add some javascript. This will change 1/31/2005 to have a background color of red.
<script>
// Simple crossbrowser function to grab elements on the page
function html_GetElement(pNd){
switch(typeof (pNd)){
case 'string':node = document.getElementById(pNd); break;
case 'object':node = pNd; break;
default:node = null; break;
return node;
// now change the color
html_GetElement("31012005").style.backgroundColor="red";');
</script>
While that works for 1 day you want a range. So, printing the javascript from pl/sql would give you the flexibility to do anything.
Here's a simple example to highlight 1/12/2005 - 1/28/2005.
declare
i number;
begin
htp.p('<script>');
-- This is a simple function to grab elements in the page
-- Same function from above
htp.p(' function html_GetElement(pNd){
switch(typeof (pNd)){
case "string":node = document.getElementById(pNd); break;
case "object":node = pNd; break;
default:node = null; break;
return node;
for i in 12..28 loop
-- build the ID to be passed
htp.p(' html_GetElement("'||i||'012005").style.backgroundColor="red";');
end loop;
htp.p('</script>');
end;

Similar Messages

  • Getting current terminal background color

    is there any way to retrieve the current background color in the active terminal (xterm/konsole/whatever)? preferably in c.
    tnx.

    in C it wouldn't be that hard, however it gets difficult when you talk about different WMs...
    Basically, you iterate over each top level window (the frame)... but you'd need a way to determin which child of the fram is the application (the title bar, buttons, and possibly status bar are all children as well).
    Then you just call a "property get" on the app window...
    the main difficulty is going to be different window managers...

  • How to change the current item background color

    I m working in forms 6.0.
    I want to mak the background color of the current item (whatsoever the item name is ) as 'yellow'. How can i do that.How can i accoplish that? I've tried
    set_item_property(:system.cursor_item,background_color,'yellow');
    in Pre_text_item
    set_item_property(:system.cursor_item,background_color,'white');
    in post_item_item
    at block level
    But i failed to do that
    anyone to help me plz
    Riaz Shahid

    hi riaz,
    i think instead of pre-text-item put the code in when new item instance.or try creating a visual attribute with background color as yellow and attach that using set_item_property in when new item instance or check for help on DISPLAY_ITEM built in in forms help.I think one of these should definitely help u.
    bye
    Atul

  • Set current row background color

    during post-query process, if record meets condition,
    i would like to set the color of entire line.
    thank you
    [email protected]

    Hi Jim,
    create a visual_attribute named e.g. PQR and set the desired background color.
    In post-query trigger:
    declare
         currec number := Get_block_property('block1', current_record);
    begin     
    if "condition" then
         set_item_instance_property('item1',     currec,visual_attribute,'PQR');
         set_item_instance_property('item2',     currec,visual_attribute,'PQR');
         set_item_instance_property('item3',     currec,visual_attribute,'PQR');
    end if;
    end;
    Good luck,
    Monica

  • Current item Background Color

    Hello Friends,
    I am facing some problem in changing the bachgroud color of the selected field in block,
    Basically i want to make visible the current field in a record,not the enire record but just the current item.
    thanks to all;

    Create WNII and POST-TEXT-ITEM triggers (block level) with command
    Set_Item_Instance_Property(:SYSTEM.CURRENT_ITEM, CURRENT_RECORD, VISUAL_ATTRIBUTE, <VA_NAME>);
    Note! Current record VISUAL ATTRIBUTE of block must be <NULL>.

  • How do I change the colors of Ring texts individually so when it pulls down, I can see each test with different background color?

    I have been using LabView for a almost 18 months now. There was no problem which I could not solve with help of all resources available. But, this is one where I am scratching my head since long time now.
    I would like to change colors of each individual text in Ring control programmatically. I have attached example VI. In this VI, I change background color of ring text, but it changes only the current (active) background color, so when you pull down the whole menu, it shows same default color for all the text background (not even the color I asked it to). Is there anyway I can define individually as to what color should be related to each text in ring menu?
    Attachments:
    Ring Menu Colors.JPG ‏16 KB
    RGB Ring.vi ‏33 KB

    " Is there anyway I can define individually as to what color should be related to each text in ring menu?"
    Well not with a ring and not programatically.
    The best I can suggest is a picture ring, see below.
    Ben
    Message Edited by Ben on 11-18-2005 02:16 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Picture Ring.JPG ‏5 KB

  • ADF calendar date cell  background color change

    Hi,
    I am new to jdeveloper / ADF.
    I coded per the below calender sample in my jdeveloper and it runs fine.
    http://www.oracle.com/technetwork/developer-tools/jdev/calendar-091799.html
    The current date cell shows in yellow color background. How/where can I change that color.
    Also the small calendar look up for the start/end date-time setting allows the user set the start/end time upto HH/MIN/seconds. How can I remove the seconds
    Thanks for all your help.

    You can create a new skin for your application and use the following selector which we deliver..
    .AFCalendarTodayBackground:alias
    background-color: blue;
    ALternatively, you can use the specific selector
    af|calendar af|calendar::day-of-week:today {
    background-color: blue;
    You can also see other ways of customizing your look and feel of the calendar component by referencing the hosted demo for skinning the calendar component.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/calendar.jspx

  • Data Merge: Frame background color?

    Hi everyone.
    I'm not sure if this is possible, but I'm trying to figure out a way to data merge a value to trigger the background color of a shape frame to change to another color to appear highlighted. I can already achieve this by saving out an image to match the specs of the shape I'm currently using, but for the sake of future projects and other applications I thought I would ask anyways. The document I'm merging is rather large and there will be a lot of colored shapes in the mix. Adding extra images per page will probably bump my file size a little bit - but probably not a significant amount because the shapes are pretty small.
    An example of how it looks with images:
    [merged image] [merged image shape (highlighted yellow color)] Master Text [merged text] [merged text] [merged text]
    [merged image] [merged image shape (regular grey color)] Master Text [merged text] [merged text] [merged text]
    I was thinking maybe I could use some kind of GREP style to trigger it? But I don't know if background color can be tweaked like that.
    Thanks in advance!

    GREP styles only work within paragraph styles which have character styles based on GREP queries. it can't call information about the frame it's in, only the text it is applying formatting to.
    However, I think I have a solution. draw two frames - one with a variable colour, and one with a variable picture. center them over each other and make a spreadsheet which assigns a variable pic to the variable pic frame; and a variable coloured pic to a variable colour frame.
    i've linked to an example that i've just quickly made up:
    http://colecandoo.files.wordpress.com/2011/11/bgrndchange.pdf
    to see how this was done, go to the paperclip in the bottom left of the PDF to get to the attachments.

  • I need help highlighting an expiration date on my Numbers '09 spreadsheet. I want the text/fill of a cell to change color when the expiration date of an item is within 180 days of the current date.

    I need help highlighting cells on my Numbers '09 spreadsheet.  I want the cell text/fill to change color when the date is 180 days or less from the current date.  I already have a cell with the current date in it.  I also know how to change the fill/text colors.  All the cells have been formatted to show date only.  I am having trouble with the formula.  I can get to the Conditional Formatting menu and select "With Dates" but after that I am lost.  Can anyone help?
    Thank you for any assistance.
    B

    Set a Conditional Format rule as shown in the illustration below. The rule has been applied to all dates in column B of the table.
    Regards,
    Barry

  • How do I change to background color in the open tabs; currently grey with black text, hard to read.

    In FF 4.0 can I change the background color of the open tabs. Currently it is grey with black type. A lighter background would be easier to read.
    Thanks, TJH

    Download this addon: https://addons.mozilla.org/en-us/firefox/addon/stratiform/ It allows you change the color of the tabs, plus many other options.

  • 2 month old date from current date in red color only

    Hi all,
    How can I Highlight 2 month old date from current date in red color only at report level with using Alertr.
    Example:-
    Date
    3/27/2014
    4/3/2014
    3/5/2014
    4/1/2014
    3/31/2014
    5/24/2013
    2/10/2014
    4/11/2014
    12/11/2013
    9/25/2013
    1/30/2014
    2/18/2014
    2/24/2014
    1/6/2014
    3/3/2014
    Thanks
    Sam

    Hello Sam,
    are you using Universe for your report..if Yes..pls try below option.
    Create two objects in the universe
    Object1 syntax: current date() (Note:this object you can create at webi level)
    Object 2 syntax:addmonths(sysdate;-2)
    Now create a alert in webi report by using below conditions
    Day is less than Object1
    and
    Day is greater than Object2
    Please try this and let me know if any issues.
    Regards,
    Naveen D

  • Can the current line be highlighted using a background color or have the cursor flash?

    I use the split screen and left click in the Design pane to jump to where I want to be in the Code pane in Dreamweaver CS6. The problem is that it can be very hard to tell where the cursor is in the Code pane since the cursor doesn't flash.
    Is there a way to force Dreamweaver CS6 to change the background color of the currently selected line or at least have the cursor flash in both panes? There must be some way to make it easier to find the current line of code.
    Thanks.

    John Waller wrote:
    The cursor does not flash in Code View only when Code View is not in focus i.e. you're working in the Design View window in Split View.
    In those caases, I just highlight a word or two in Design View and the corresponding words are highlighted by DW in Code View (even when Code view is not in focus).
    Thanks. I've been doing that, but sometimes there is no text to highlight. I hoped Dreamweaver might have a hidden setting that I could enable. That's a lot of extra sliding of the hand/wrist for no good reason when it would be easy for the Dreamweaver programmers to change the background color of the current line or make the cursor flash or do something else to indicate where you are in the code besides making the user constantly make a smearing action with the mouse. All of those extra movements add up the wear and tear when you're trying to avoid getting a repetitive stress injury, especially if you already use mouse gestures in a browser.

  • How to set text and background color of current row in a adf table?

    Hi,
    In jdev 11.1.2.3,
    How to set text fond and background color of current row in a adf table?
    I tried to set Background color in table property, but that is not what i want.
    Thanks.

    Hi,
    We almost had the same requirement, but we just needed to color a specific column.
    Here goes the solution to that, you might do the same for your row highlighting
    Changes are required in jsff and one method to be added in backing bean
    1. JSFF :
    <af:column headerText="Amount"
                     id="c4" width="100"
                     inlineStyle="#{backingBeanScope.BackingBean.cellColor}">2. Backing Bean
    //searchResultTableVO is Table's VO
    public String getCellColor() {
          FacesContext ctx = FacesContext.getCurrentInstance();
          ExpressionFactory ef = ctx.getApplication().getExpressionFactory();
          ValueExpression ve = ef.createValueExpression(ctx.getELContext(), "#{row}", FacesCtrlHierNodeBinding.class);
          FacesCtrlHierNodeBinding node = (FacesCtrlHierNodeBinding)ve.getValue(ctx.getELContext());
          Row row = node.getRow();
        if(row.equals(searchResultTableVO.getCurrentRow())){
    //You can add your inline style for font-style too
          return "background-color:Red;";
             return null;
      }Hope this is helpful :)
    Regards,
    Neha..

  • How can i control background colors with items (registry.dat)

    Hello Evry one.....
    plzzzzzzzzz help.
    how can i control background colors with display items
    in registry.dat
    like app.ui.requiredFieldvABGCOLOR=255.0.0
    how can i control background colors with others items ????
    thanks.

    The iPhone has a "remote" app that lets you control Keynote on a Mac, but not on another iOS device (iPhone/iPad/iPod Touch).
    There are some apps that let you control limited content on another iOS device - but the content has to be within the app. You might check out SyncPad - perhaps you can import the presentation into it and then control it on the iPad.

  • Can I invoke a SubVI in an event? and how do I set the background color of a pipe to #0000ff?

    When I click an image or a glass pipe(which belongs to Industry/Chesmitry category in palette), I want a SubVI to be invoked.
    The purpose is to fetch an OPC-UA data from a web service and to write to it via the service.
    We are building an HMI solution which displays an interactive water plant diagram.
    When users click pipes and motors in the diagram, clicked devices should be turned on and off and change their animations or colors accordingly.
    OPC-UA is for communication with devices.
    I couldn't even set the background color of a pipe to "#0000ff", but setting it to "Red" or "Blue" was possible, and I don't know how to invoke SubVIs in event scripts.
    The documentations in NI.com are confusing and lack depth.
    Even silverlight references are confusing.
    How do I do all of these?

    Hi iCat,
    Can you provide some more information about your current implementation so that we can help to answer your questions. Some questions I have for you are:
    Are you creating this project in the NI LabVIEW Web UI Builder or in LabVIEW?
    How are you publishing your webservice? Is this also in LabVIEW?
    How is your webservice interacting with an OPC-UA server?
    How is the certification set up with OPC-UA so that you can communicate between the server and the client?
    Best Regards,
    Allison M.
    Applications Engineer
    National Instruments
    ni.com/support

Maybe you are looking for

  • How to select line items in recording(BDC)

    Hi All, we are trying to Recording QP02 transaction ,we have inputs like material,plant,Group,Group Counter. after entering these inputs we will get multiful line items(inspection characteristics).we need to check one field for each item. How can we

  • Calling a method that returns an object Array

    Hello. During a JNICALL , I wish to call a method which returns an object array. ie my java class has a method of the form public MyObject[] getSomeObjects(String aString){ MyObject[] theObjects=new MyObject[10]; return theObjects Is there an equival

  • Want to clean and reinstall my early 2009 IMAC, but have Snow Leopard and no discs

    Have an Early 2009 IMAC.  My daughter (14, and an indiscriminate clicker of "OK" buttons on pop ups to get rid of them) has been using it for a year, and is it is now running very slowly, locking up, etc.  I am not particularly computer savvy, but wo

  • Bluetooth to Canon Printer

    I have a MacBook Pro with bluetooth, and would like to connect via bluetooth to a Canon PIXMA MX840 printer/scanner. Are there any bluetooth dongles which I can connect to the printer that work with my Mac?

  • Object Reference Column in a SqlCe Data Table

    This may be a strange question... I've defined a table in a SqlCe database (using VS C#2010 Express) that will never have any data persisted in it.  I did this so I can instantiate versions of it using the designer generated strongly typed table defi