aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/messages/messages/list.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/messages/messages/list.php b/views/default/messages/messages/list.php
index 88d7f0ede..b6e681007 100644
--- a/views/default/messages/messages/list.php
+++ b/views/default/messages/messages/list.php
@@ -17,6 +17,13 @@
if (!empty($vars['object']) && is_array($vars['object'])) {
?>
+<!-- used to fade out the system messages after 3 seconds -->
+<script>
+ $(document).ready(function () {
+ $('.messages').animate({opacity: 1.0}, 3000) //this holds the div without change for 3 seconds
+ $('.messages').fadeOut('slow'); //fade it out
+ });
+</script>
<div class="messages">
<div class="messages-errors">