Dienstag, 17. Januar 2017

ORACLE APEX 5.0.x FadeOut Sucess Message automaticly

APEX 5.0.x Simple Solution to fade out success message



Some know the Problem with the success message in APEX they dont want fadeout automaticly. I have found a simple soulution to made it.




1. You have the desition if you want it for all Pages or for a single page.
    Set it on Global Page (0) for all pages.
    Set it on the page were you ant to fadeout the message
    The steps are the same.

2. Create a dynamic action
 - Event:  Custom
 - Selection type: Javascript Expression
 - JavaScript Expression:


1
   $("#t_Alert_Success").length > 0


3. True Block
- Action: Execute JavaScript Code


1
2
3
  $( document ).ready(function() {
      $( "#t_Alert_Success" ).fadeIn( 300 ).delay( 1500 ).fadeOut( 400 );
  });

- Selection Type: jQuery Selector
- jQuery Selector: #t_Alert_Success
- Fire On Page Load: YES




Kommentare:

  1. Excellent!!!!... Thanks for posting...It was helpful to solve my issue

    AntwortenLöschen
    Antworten
    1. Hello Karkuvel Raja,
      that's nice to hear and I'm glad it helped you.
      greetings

      Löschen