This is just a quick tip I thought I throw out there. We have an application that applies a fade to a .alert class on all its pages. We have 2 pages that need to not fade one particular alert. Here is one way it can be handled.
- Add a class of .notfade to the alert that needs to stay put and not fade out:
<div class="alert alert-info nofade"></div>
- Place the following in $().ready():