(972) 864-8844   Email

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. For inline dismissal, use the alerts jQuery plugin.

Wrap any text and an optional dismiss button in .alert and one of the four contextual classes (e.g., .alert-success) for basic alert messages.

No default class

Alerts don't have default classes, only base and modifier classes. A default gray alert doesn't make too much sense, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.

Well done! You successfully read this important alert message.
Heads up! This alert needs your attention, but it's not super important.
Warning! Best check yo self, you're not looking too good.
Oh snap! Change a few things up and try submitting again.
<div class="alert alert-success">...</div>
<div class="alert alert-info">...</div>
<div class="alert alert-warning">...</div>
<div class="alert alert-danger">...</div>

Dismissable alerts

Build on any alert by adding an optional .alert-dismissable and close button.

Warning! Best check yo self, you're not looking too good.
<div class="alert alert-warning alert-dismissable">
  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>

Ensure proper behavior across all devices

Be sure to use the <button> element with the data-dismiss="alert" data attribute.

Use the .alert-link utility class to quickly provide matching colored links within any alert.

Well done! You successfully read this important alert message.
Heads up! This alert needs your attention, but it's not super important.
Warning! Best check yo self, you're not looking too good.
Oh snap! Change a few things up and try submitting again.
<div class="alert alert-success">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-info">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-warning">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-danger">
  <a href="#" class="alert-link">...</a>
</div>

Example alerts

Add dismiss functionality to all alert messages with this plugin.

Holy guacamole! Best check yo self, you're not looking too good.

Oh snap! You got an error!

Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.

Usage

Enable dismissal of an alert via JavaScript:

$(".alert").alert()

Markup

Just add data-dismiss="alert" to your close button to automatically give an alert close functionality.

<a class="close" data-dismiss="alert" href="#" aria-hidden="true">&times;</a>

Methods

$().alert()

Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade and .in class already applied to them.

.alert('close')

Closes an alert.

$(".alert").alert('close')

Events

Bootstrap's alert class exposes a few events for hooking into alert functionality.

Event Type Description
close.bs.alert This event fires immediately when the close instance method is called.
closed.bs.alert This event is fired when the alert has been closed (will wait for CSS transitions to complete).
$('#my-alert').bind('closed.bs.alert', function () {
  // do something…
})

Flickr Photo

Be safe with Allsafe Auto Insurance.

  • 972-864-8844
  • Mon - Fri  9:00am to 5:30pm
  • Saturday 9:00am to 4:00pm
  • 220 W Kingsley Rd Ste 414, Garland, TX 75041
  • info@allsafeautoinsurance.com
  • http://www.allsafeautoinsurance.com

Planar Client Options

Layout Style

  • Boxed
  • Wide

Header & Footer

Theme Preview

The design of this disc has proved a bit controversial but rolex replica uk remains effective. For some fun, we played around with various alternations to the rolex replica uk Sky-Dweller for a Watch Watch-If here. Taken as a whole, the open GMT disc is integrated about as well as one could hope, replica watches uk with a beveled edge window and a nice circular design that uniquely adds to the composition of the rolex replica sale watch. Instant classic? Perhaps not, but it is certainly Rolex. My favorite of the newer rolex replica uk Sky-Dweller models is the reference 326139 in 18k white gold with a black dial. The rolex replica GMT disc is silvered and the entire dial is rather replica watches sale legible. The red accents add a nicely sporty look, and this version of the Sky-Dweller comes on a matching black strap.
1baiser.com/escort/aix-en-provence