Change Item label color

I am adding items to the sidebar region. The item labels are showing as black. I need to have them show as white. Is there something I can change in the item attributes to do this or does this need to be done in the template?

Hello,
style="color:#f00;font-weight:bold;"Since it sounds like you are just learning some CSS I suggest you spend an hour or two reading this site [http://www.w3schools.com/css/] it will save you countless hours later.
Regards,
Carl
blog : [http://carlback.blogspot.com/]
apex examples : [http://apex.oracle.com/pls/otn/f?p=11933:5]

Similar Messages

  • Change SWT Label color in wizard

    Hello Everyone!!
    Can anyone please tell me how to change the label color in SWT Wizard?

    Masood
    Thanks for the document.But I need to change the label color in service order transaction for specific fields.
    Please let me know if its possible to change the color for specific fields
    Thanks
    Sushma

  • Dynamic action to change item label

    Hi All,
    How can I use dynamic action to change item label?
    thanks.

    Hi,
    fac586 wrote:
    Why and when do you want to dynamically change a label? This would have a detrimental effect on usability and accessibility.
    Consider a visually impaired user of your app using a screen reader. The screen reader identifies a checkbox labelled "Free Cake". They like the sound of that, so navigate to the checkbox to tick it. Your dynamic action fires when it gets focus and changes the label to "Give all my money to Fadi".I think this would confuse even a sighted user! I don't know the OP full requirements or constraints but I can bet the OP does not want to change the item label when the user navigates to it.
    I have to say that I don't like forms that change as the user enters data. I think that enabling and disabling fields is OK, but not hiding or showing or changing labels or field types.
    In any case, if you have to do it, an alternative to changing an item label is to have 2 separate items: one hidden and one shown. Then, using some triggering event, you can hide one and show the other.
    Because there are built-in dynamic actions to hide and show items but not to change item labels, one might thing that one approach is more acceptable than the other. However, if those 2 separate items occupy the same spot in the page, from a user point of view (or screen reader for that matter) I don't see any difference between those two approaches (in my view, both bad practices.)
    And because of its lots of nested tables, lack of headings etc, apex pages are not screen-reader friendly anyway... This is an interesting plugin for firefox that shows how your page would be read by a screen reader:
    http://www.standards-schmandards.com/projects/fangs/
    fac586 wrote:
    You can use an "execute javascript" dynamic action type to do it.Yes, you can. But should you?I don't know. As I mentioned above, I don't like the idea. However, as I also mentioned above, I don't know anything about the OP constraints or requirements.

  • Item label color

    Dear all
    I need change my item and label color.Assist me how to do this
    Edited by: user13770574 on Apr 11, 2011 8:44 AM

    You can colorize things in a number of ways:
    label html attributes:
      style="background-color:#C0C0C0"
    element:
      html table cell attributes:   style="background-color:#C0C0C0"
       html form element attributes:   style="background-color:#C0C0C0"But what you get depends on things like if the label horizontal/vertical alignment setting is "right" or "above" and if items are in separate
    table cells or not. Also depends on what the input item actually is. If all else fails you can try to colorize things dynamically which is more flexible.
    (this code finds radio buttons labeled none and makes them dark grey, which is totally different than other radio buttons.
    call such a function in the page's "Execute when page loads" section: drabNone()
    function drabNone()
      {var mycount = 0;
      jQuery('input:radio').each(function() {
       var myelement = '#' + this.id;
       var mystr = 'label[for="' + this.id + '"]';
       var mylabel = jQuery(mystr).text().toUpperCase();
       if (mylabel === 'NONE')
          jQuery(myelement).wrap('<span></span>').parent().css({background:"gray", color:"gray",border:"2px black solid"});
          jQuery(mystr).css({background:"gray",color:"black"});
         } //end each function
         ) //end each
      }// end function drabNone  Edited by: lake on Apr 12, 2011 10:48 AM

  • Change item Label based on Another item's value

    Hi guys,
    I need to set an item label (A) based on the value of another item (B). I did the following:
    I Created a dynamic action.
    When B changes:
    1- submit the value of B
    2- Refresh item A
    The label of the item A is : myitem &B.
    Any ideas ????
    Best Regards,
    Fateh

    Fateh wrote:
    Ok... Thanks a lot... but before closing the thread and for better understanding.
    I put this code on Execute when Page Loads:
    $("#P1_A").change(function(){
    if($v(this)=="Rent"){
    $('#mylabel > label > span').text('Is it for Sale also');
    }else{
    $('#mylabel > label > span').text('Is it for Rent also');
    }However, the label does not change. Any ideas why this is not working????
    Regards,
    Fateh
    $v(this)
    you are mixing jquery and apex API, it won't work
    and missing *});* at the end, and when adding to the page load you should wrap them in $(document).ready( code here.... });
    $(document).ready(function () {
         $("#P1_A").change(function () {
              if ($(this).val() == "Rent") {
                   $('#mylabel > label > span').text('Is it for Sale also');
              } else {
                   $('#mylabel > label > span').text('Is it for Rent also');
    });

  • Change item background color on runtime

    Hello
    i have a List control in my application. What do I have to do
    to change its items background color on runtime?
    Thanks

    You have to access the style of the object and then set the
    piece of the style you want to change. You need to set
    backgroundColor.
    myList.setStyle("backgroundColor", "#ABABAB");
    #ABABAB is grey, and you can put any hex color value there
    you like.
    Hope that helps.

  • SSRS Radar Chart change category label color

    Hello, 
    Recently my client asks me to change the category label color in a radar chart. They want the label show different colors as demanded.
    Ex. question 1 to question 4 : Orange
    question 2 to question 8 : Green
    question 9 to question 12: Blue
    I've tried every expression I know (iif, switch...etc), nothing works.
    Does someone has an idea about that?

    Hi Isabel.zy,
    t find a property that can control the color of category group label in Radar Chart. It seems that the feature is not supported in current release of Reporting Services.
    If you have any concerns about this function in Reporting Service, I would suggest you submitting a wish at
    https://connect.microsoft.com/SQLServer/Feedback. Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software
    and services the best that they can be, and you can learn about and contribute to exciting projects.
    Thanks for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Changing HD label color

    Some time ago I had been able to change the HD label colors (black type on yellow label background).  I have forgotten how I did this.  However I try to do it, the Label color options are grayed out.  Can someone remind me how to do it, please? Thanks.

    Same problem, but now I'm in 10.7.4, and "ignore ownership..." was removed??
    ...or am I looking in the wrong place??
    Finder -> File -> menu w/ Get Info, but no box in this menu, or in the locked/unlocked Info Window for the HD...
    Also logged in as admin, and I'm not sure how to get at labels w/ su in Terminal...
    Thanks!

  • Change Button Label Color?

    Hi --
    I am working on creating my own skin for the button component
    and I would
    like the text on the button to be white rather than black.
    How can I change
    this?
    Thanks
    Rich

    Code:

  • How to change label color on input validation?

    Hi,
    I couldn't find anything in the forum about changing a label color when a validation is unsuccessful.
    Here's a scenario; User enter a year value, click save, validation execute, year's is greater then 2005, validation fails, label color for that field is changed to red.
    Do I need to bind the label? If so, would you have a code snippet.
    Could someone point me in the right direction. Thx

    How about as follows?<h:outputLabel value="Year:" style="#{bean.yearStyle}"/>If you don't want to code style names in your bean, you can
    <h:outputLabel value="Year:" style="#{bean.yearError?'error':'normal'}"/>

  • How to unlock label color on purchsed game?

    I've added myself to Permissions (Read and Write) and would like to change the label color of a game. Label, Lock File and Hide Extension are all greyed out...I don't believe it's an alias. It's the default from when I purchased/installed through the Mac store.
    Is this simply Verboten (changing the label color, only, shouldn't be IMHO), or is there a fix?

    I just tried that and it DOES work. Now, how do I exchange the Best Answer for yours? LOL So simple, but not in the LEAST bit intuitive.
    @ Apple: That's the stupidest thing in the world (one among many others I won't bother to mention). Blocking the Label Color, that way? Sheesh.
    @ jsd2: You get a Helpful Answer, since I already glommed onto the Best Answer (I was kinda irritated at Apple, which is why I did that). Thanks, loads...oh, and Go Pats!

  • Target ComboBox label color on MouseOver or RollOver

    I am having a hard time figuring out how to change the label color of a combobox on rollover prior to clicking the combobox to make a new selection. I understand how to set the color of the label, how to change the textRollOverColor, textSelectedColor, etc, but setting the current label color for a combobox is stumping me.
    Thanks in advance.

    I'm not sure how this could be done using style tag.. if possible then ignore this solution..
    Well, you need a custom ComboBox that extends from the base ComboBox.. as below..
    package src
    import flash.events.MouseEvent;
    import mx.controls.ComboBox;
    public class ExtendedCombo extends ComboBox
    public function ExtendedCombo()
    super();
    protected override function createChildren():void
    super.createChildren();
    textInput.addEventListener(MouseEvent.ROLL_OVER, onTextMouseOver);
    textInput.addEventListener(MouseEvent.ROLL_OUT, onTextMouseOut);
    private function onTextMouseOver(event:MouseEvent):void
    textInput.setStyle("color", "0xff0000");
    private function onTextMouseOut(event:MouseEvent):void
    textInput.setStyle("color", "0x0B333C");
    hope this helps,
    BaBo,

  • Changing RadioButton Label

    I have a RadioButtonGroup with 6 RadioButtons and i would
    like to change the color of the label which the user selects. Is
    there a property/style that i can use to achieve this?
    Thanks...

    Thanks rtalton.. This is exactly what i was looking for. I am
    glad and lucky that my very first post got answered by a real
    guru..
    I begin to understand what you mean when you say user
    interaction is never very simple..
    Earlier, since setting the color property for the RadioButton
    as below seemd to change the label color i thought that setting the
    color property in an event driven function would work.. but it did
    not.. What works is changing the color via setStyle
    <mx:RadioButton x="21" y="139" label="London"
    groupName="AnswersRadioGroup" id="A2" textRollOverColor="#0AF3CA"
    fontSize="12" color="#FFFFFF" iconColor="#0AF3CA" width="250"/>
    Thanks

  • Setting colors for item labels in JFreeChart (WaferMapRenderer)

    Hi,
    first of all, sorry for posting a JFreeChart related posting on this forum, but I didn't get a solution right now (I even didn't find anything useful on the JFreeChart website/forum). Here's my question...
    I'm trying to set the color for item labels in the legend but with no success.
    Here's a code example:
    final JFreeChart chart = ChartFactory.createWaferMapChart(
        "Wafer Map Demo",         // title
        dataset,                  // wafermapdataset
        PlotOrientation.VERTICAL, // vertical = notchdown
        true,                     // legend          
        true,                    // tooltips
        false
    WaferMapPlot plot = (WaferMapPlot) chart.getPlot();
    WaferMapRenderer renderer = new WaferMapRenderer();
    renderer.setSeriesItemLabelPaint(0, Color.red);
    renderer.setSeriesItemLabelPaint(1, Color.blue);
    plot.setRenderer(renderer);The default behavior of the WaferMapRenderer is also strange because the item label as well as the item marker is painted black so you cannot distinguish different fields of the wafer map. Is this a bug or am I doing something wrong (or missing somehting)?
    Any help would be greatly appreciated.
    Thanks and best regards,
    - Stephan

    Your folder action script doesn't work because of one simple error:
    set label index of every item of entire contents of processFolder to 7
    Nowhere in your script is 'processFolder' defined, so AppleScript has no idea what you're trying to do.
    Given that you (correctly) iterate through added_items, the correct format would be:
    on adding folder items to this_folder after receiving added_items
      repeat with item_ in added_items
        tell application "Finder"
          set label index of item_ to 7
        end tell
      end repeat
    end adding folder items to
    In other words, this changes the label index of each item just added.
    That should work provided you're dropping files into this folder. If you're dropping folders then this would set the label index of the folder itself, but not necessarily the items within that folder. For that you'd need to add a check to see if item_ was a folder and add code to handle folders.
    Also note that this kind of folder action will only work on the folder itself - that is, if you have folder A that contains subfolder B, then dropping a file into subfolder B won't trigger the script and won't change that item's label. To do that you'd have to attach your folder action to subfolder B.

  • App. Express -- Change font size in the item label.

    I would like to size the item label so I did this and it did not work
    in the label I put <span style="font-size:12px;">ITEM 1</span> and
    <span style="font-weight:bold;">ITEM 1</span>
    What wrong?

    Hello,
    The basic “trick” here is to duplicate the proper label template (you can of course change the original label template, but that’s less advisable) in order to add an ID to the text/link part.
    In my example, the template is base on the “Optional Label with Help” template, and the “Before Label” field contains the following:
    <label for="#CURRENT_ITEM_NAME#" tabindex="999"><a class="t2OptionalwithHelp" id="L_#CURRENT_ITEM_NAME#" href="javascript:popupFieldHelp('#CURRENT_ITEM_ID#','&SESSION.')" tabindex="999">In order to maintain ID uniqueness, the new ID just adds “L_” to the item name.
    Now I have direct access to the text/link, and I can manipulate it using JavaScript. In the example, I added the following to the region footer:
    <script type="text/javascript">
    $x('L_P160_ITEM2').style.fontSize = '20px';
    $x('L_P160_ITEM3').style.fontSize = '30px';
    $x('L_P160_ITEM3').style.color = 'green';
    </script>Regards,
    Arie.
    Hi Carl,
    As usual I was busy typing and didn’t see your reply. I agree that a specific example would be the best and easiest way to help.
    Message was edited by:
    ageller1

Maybe you are looking for

  • Go to Folder not working

    I am having an issue (see link here:  https://discussions.apple.com/message/15663908#15663908) and looking for a resolution, but found another issue. I try to use Go to Folder to map to a specific folder, but I can't get it to connect to anything.  I

  • 9i Install Problem on RedHat 7.2

    I got a problem while installing 9i enterprise on RedHat 7.2. The link problem can't find library -lclntch or -lclntsh (can't remember clearly) when making oracle/plsql. Anyone can help me?

  • Nokia Experience (N97 and 5800)

    About two weeks ago I was in the market for new a new cell phone...being an AT&T user I decided to go unlocked instead of buying a subsidised phone.  After searching the net I gave up and went to a cell phone "boutique" store here in Washington DC wh

  • Re email address if you leave

    Hypothetical. If person leaves BT broadband is there a way to keep the BT address ? Life | 1967 Plus Radio | 1000 Classical Hits | Kafka's World Someone Solved Your Question? Please let other members know by clicking on 'Mark as Accepted Solution' He

  • Human Task Events

    Hi, I have a human task that is initially assigned to a group of users and I need to know when and which user acquires it before submitting the result. I thought that this could be done using the onTaskAssign event, but it doesn't work. Does anyone h