Row highlight does not work when class has a background-clolor

This is more a CSS / javascript question but since the problem occurs in Apex I'll try my luck here.
I try to implement a row highlight feature that worked in 3.2 but not in 4.0. The difference is that the style that is used for the table cells contains a background-color in the 4.0 template and it did not in 3.2.
This is how it works.
I created a report template with "before each row" : <tr onMouseOver="cOn(this);" onMouseOut="cOut(this);">
The javascript does this:
function cOn(td) {
   if(document.getElementById||(document.all && !(document.getElementById))) {
      if (td.previousSibling != null) {
          td.style.backgroundColor="#FFFF99";
          td.style.color="#000000";         
}My thought was that td.style.backgroundColor="#FFFF99" would overrule the background color given by the class but when this happens from within javascript this does not work. Is this proper behaviour? Are there other methods that will work?

Hi Rene
If you are just looking for a row highlight on a mouse hover, it might be easier to place the following in the html header of the page:
<style = text/css>
.apexir_WORKSHEET_DATA tr:hover td {
background-color: #FFFF99 !important;
color: #000000 !important;
</style>
~Andrew Schultz

Similar Messages

  • My ipod nano FM radio does not work it only has European band and japan band and when you search to find a radio station I cant hear anything. Help please!!

    my ipod nano FM radio does not work it only has European band and japan band and when you search to find a radio station I cant hear anything. Help please!!

    Hi kahli:
    Have a look at  http://manuals.info.apple.com/en_US/iPod_nano_5th_gen_UserGuide.pdf
    AND
    http://manuals.info.apple.com/en_US/iPod_nano_5th_gen_UserGuide.pdf

  • HT1430 For some unknown reason my Apple ID password does not work when trying to down load books from the IBook or Nook Apps.  It also has stop work when trying to down load new Apps.  Any suggestions out their???

    For some unknown reason, my Apple ID Password does not work when trying to down load IBooks, Nook books, or new Apps.  Everything else seems to work.  Any suggestions out their???

    I appreciate the info and realize that the Nook App is not related to my Apple account but this too has stopped working.  My situation first started with the Nook App not down loading and then has now spread to my IBook and new app downloads.  I have checked into my ITunes account and the ID and password are correct  and at times when I am asked to submit my Apple password such as setting up this Apple Support Community the ID and password work.  My problem seems to be just with trying to use my ID and password when wanting to download new books or apps.  I can go into the IBook, Nook, and App stores and seemingly download an item but when clicking on the new book or app nothing happens and I get a message that states it can not get into the ITunes store and it wants me to either try again or cancel.  This message appears usually ten minutes after I have tried to make a purchase.  At other times when I attempt to download a book or app I lose the screen and the IPad goes into the opening screen.  Short of redoing my Apple account or deleting an app and attempting to reload the app (but this won't work because the App store won't load new apps) I don't have a clue what to do.

  • Color Highlights does not work for chart

    When I set the color coding in the chart, it works fine if I run the crystal report on the same DB that I use to design the report.
    Problem occurs if I run the report on another DB. Color Highlights does not work in that case.
    I am using JRC to run the reports.
    Thanks & Regards,
    Amrita

    Hi Jehanzeb,
    In chart expert there is a tab "Color Highlightsu201D. In this tab one can specify the condition based coloring.
    In my case I want to show "RED" color for Unauthorized events andu201D GREEN" color for Authorized Events.
    While creating a report suppose I am using a database server "DB-A".I set the color highlights in the chart as I explained. Please be noted that when we click on the color highlights tab it asks for the database login.
    To view the report we have our own server and we are using JRC APIs.
    Hence I map my report with server and try to view the Report. My Server is connected with database "DB-B" which is different from the database I used to create the report.
    This time color Highlight I have specified while creating the report does not work.
    I have tried using the "Format Series Riser" option. But the problem with this is that, it does not color the chart conditionally.
    I mean if I give GREEN for Authorized and RED for Unauthorized. It gives the green color either to Authorized or Unauthorized which so ever occur first in the chart.
    For example:-suppose there is no Authorized Event on date 15-Jan-2009 and I select the date range starting from 15-Jan.In this case Unauthorized event is the first to print on the chart hence this event get the green color though I expect this events to be in RED color.
    Regards,
    Amrita

  • The dropdown list in the address bar does not work when clicked

    In the address bar the dropdown list icon does not work when clicked. I have tried resetting everything in safemode and it still doesn't work. When I click on the icon it just highlights the entire address line.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Also check the setting in:<br />
    [http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > Privacy > Location Bar: When using the location bar, suggest: History, Bookmarks, History and Bookmarks

  • Iphone 4 the mike does not work when making a call.  it does work with speaker phone and face time

    Just activated new Iphone 4 and the mike does not work when making a call.  it does work with speaker phone and face time. Any known fixes?

    My wife's iphone 4 also has your same no ring problem as does my iphone 5 just less often.  I called her iphone 4 at home from where I work 20 miles away on my iphone 5.  With her phone in 3G mode ONE call went through and 9 went to voice mail in 10 tries.  This is a 10% sucess rate!!  I also could listen in real time from the wired work phone and the wired home phone.  She turned off 3G mode and it went to "O" mode at  the top left of the screen after the ATT.  In this mode it rang on the first ring tone 5 times out of 5 tries which is 100% of the time.  I have learned that the calling party will hear up to 4 ring tones when placing a call on the ATT network.  If the ring tone changes volume slightly before the 4th ring then and only then will the cell phone start to ring.  If the ring tone does not change after the 4th ring you get voice mail.  If the calling party does not leave a voice message there is never a missed call displayed on the iphone.  If the calling party does leave a voice message a few minutes later the iphone dings for arriving voice mail but still no missed call indication. 
    This appears to be related to the time of day and the ATT tower that the receiving caller is using.  Tried other towers and it works in 3G mode 10 times out of 10 tries.  Apple replaced the first iphone 4 with a new phone, no improvement.  ATT replaced the SIM card and no improvement.  ATT so far is clue less.  This has been going on every since we got the new iphones which is 4 months.  The ATT web site also describes this same problem from several years ago.  Has anyone got better information?
    Thanks

  • Css3 animation does not work when triggerd by backing bean method

    Hi,
    I use Jdev 11.1.1.4 (but I guess the Jdev/ADF version does not matter in this case) and Firefox 15.0.1.
    I tested some parts of article https://blogs.oracle.com/groundside/entry/css_animations_the_panel_flip from Duncan Mills.
    The CSS3 animation for styleClass "rotateOut" works fine when I trigger it from mouse hover.
    The problem is that the animation does not work when I set the styleclass in a backing bean.
    In this case the UI component to rotate (in my case the calender component) changes immediatelly to the transition target without the transition-duration of 2 seconds and therefor there is no animation effect visible for the user.
    Here the backing bean code:
        public void doRotate() {
           afCalender.setStyleClass("rotateOut");
           AdfFacesContext.getCurrentInstance().addPartialTarget(getAfCalender());
        }Here the skin:
      .rotateOut {
        -moz-transition-property: -moz-transform;
        -moz-transition-delay: 2s;
        -moz-transform: rotateY(45deg);
        -moz-transition-timing-function: ease-in-out;
        -moz-transition-duration: 2s;
      .rotateReturn {
        -moz-transition-property: -moz-transform;
        -moz-transform: rotateY(0deg);
        -moz-transition-timing-function: ease-in-out;
        -moz-transition-duration: 2s;
      }In Duncan's article java script is used to change the style class.
    Does the CSS3 animation only work when java script is used to change the style class or shoud java in a backing bean also work?
    Any hints?
    regards
    Peter

    I have tested several other settings but no success.
    Any ideas?
    regards
    Peter

  • What can I do for the following situation: I think my insert slot for the headphones does not work; when I put in any cable that should and can go in all I hear is low frequent static sounds.

    What can I do for the following situation: I think my insert slot for the headphones does not work; when I put in any cable that should and can go in all I hear is low frequent static sounds.

    You might try talking to the Apple store manager and see if you don't get more help...you might also contact Apple.com/support and see if they can give you a contact with the Apple Italy offices.
    Sounds like you have two levels of failure, the first shop that did the repair and broke a wire, and the second that has disabled something else and isn't helping.
    Apple officially refurbished equipment is usually good quality.  Surprising this has happened but you need to press on with complaints and try for resolution.

  • HT201413 Device does not work when I connect it to your computer to the iTunes program update requests and then gives me an error No. 21

    Device does not work when I connect it to your computer to the iTunes program update requests and then gives me an error No. 21

    Device does not work when I connect it to my computer to the iTunes program update requests and then gives me an error No. 21

  • TS3276 My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    Sorry for the delay...
    I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
    I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
    Thanks for the help, anyway!!

  • Reply to all using ItemReply does not work when specifying messageid

    Hello everyone,
    I am trying to use the ItemReply token to perform a "Reply to All"
    action on a mail item with a known message identifier and include the
    original message text in the response. According to the documentation,
    the call should be:
    ItemReply(7;1;"message-id")
    Still, when I execute this token, apparently only a normal reply action
    is performed because only the original sender is listed as recipient.
    (The message text is properly included)
    However, when I manually select the message in the GroupWise client
    first and then execute the same call without specifying the message id,
    all recipients of the original mail are listed in "To:" as expected:
    ItemReply(7;1)
    Could it be that the "ReplyTo" parameter is ignored or does not work
    when a message id is specified as parameter? (Setting "IncludeText" to 0
    does not change anything)
    Thanks in advance and best regards,
    Peter Hofer

    Worth bumping this message. I find the exact same behaviour as mentioned 5 years ago. Using both GW8 and GW2012.
    According documentation, when MessageId is not specified it defaults to the command ItemReplyOpenItem(). I assume that the reason "Reply To all" works without a MessageID is because of that. Someone needs to give a look to ItemReply().

  • How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    Create a group and send mail
    http://www.dummies.com/how-to/content/how-to-create-a-basic-contact-group-in-mac -os-x-li.html
    http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
    Best.

  • My App Store does not work when trying to update applications

    My Apo store does not work when I try to update applications that need to be updated

    There are a number of other threads from people reporting a problem with a blank Updates tab in the App Store app - it looks like there is a problem at Apple's end which they need to fix.
    Some posts are suggesting that you if you go into the Purchased tab in the App Store app you might be able to update the apps from there, though you will need to scroll through the list to find those with updates and individually update them.

  • Siri does not work when used for calling a contact function

    Siri does not work when used for calling a contact function

    Very strange, try to turn off/on your iPhone. Or make a reset (home+power button)...
    If it continues try to restore it.

  • The remote does not work, when i turn the tv on I see the apple tv and the itune icon on the screen

    the remote on apple tv does not work,when i turn on the tv Isee the appletv and the itune icon on the screen.

    Did you do a software update?
    AppleTV is unable to start properly.  You need to connect to a computer running iTunes as detailed here:
    Apple TV (2nd and 3rd generation): Restoring your Apple TV

Maybe you are looking for