New to Kendo UI for jQuery? Download free 30-day trial

Move Visible Notifications after Hiding Others


Product Progress® Kendo UI® Notification for jQuery
Operating System Windows 10 64bit
Visual Studio Version Visual Studio 2017
Preferred Language JavaScript


How can I move the remaining visible notifications after some have been hidden and empty spaces in the stack have been created?


The idea is to use static notification messages inside a positioned container. This approach creates the impression that popup notification messages are used. The position settings, which are normally applied to the Notification widget, have to be replaced by appropriate CSS styles that are applied to the container of the static messages.

The following example is based on the following API and widget functionality:

    #appendto {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 200px;
  <div id="example">
      <span id="staticNotification"></span>
      <button id="showNotifications">Show some notifications</button>
      <button id="hideNotifications">Hide all</button>
      <div id="appendto"></div>
        $(function() {
          // Initialize the Notification.
          var staticNotification = $("#staticNotification").kendoNotification({
            appendTo: "#appendto",
            stacking: "up"
          // Show Notification messages with variable hide timeout.
          function showNotifications() {
            for (var j = 0; j < 10; j++) {
                autoHideAfter: Math.ceil(Math.random() * 10000)
              var d = new Date();
    , 'HH:MM:ss.') +
                                      kendo.toString(d.getMilliseconds(), "000"), "info");
          // Show the handler.
          // Hide the handler.
          // Show Notification messages automatically.

See Also

In this article