AutoFading System Messages

Jul 1, 2013
AutoFading System Messages
  • The following will implement a jQuery autofade as shown here:

    • Download jQuery 1.7.1 from here. and place jquery-1.7.1.min.js in your template folder
    • Wrap a div around the jdoc call in your template's index.php:
    <div id="test">
        <jdoc:include type="message" />
    • Add this javascript right before </head>:
    Code (Javascript):
    <script type="text/javascript" src="jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
    $(function() {