You should assign a custom class to your bootbox-alert and change its width on the CSS:
jQuery:
bootbox.alert({
"message": "Success",
"className" : "my-custom-class",
"callback": function() {
console.log("Success callback");
}
});
CSS:
.my-custom-class .modal-dialog{
width:200px;
}
This will take your bootbox alert and size it down.
This is a jsFiddle with the fix you needed.
If you want all of the alerts to be smaller, just change the original modal-dialog
class:
.modal-dialog{
width:200px;
}
We are currently using Zend Framework 1 with Dojo forms, and are facing a recent problem with some users reporting bugs while using our forms on IE11: for example they are able to check multiple radio ...
We are currently using Zend Framework 1 with Dojo forms, and are facing a recent problem with some users reporting bugs while using our forms on IE11: for example they are able to check multiple radio ...
first of all just want to say that i'm not a programer but i'm trying to replicate a code and since my javascript is not the best i'm failing at it. The "animation" in css/java/wtv i'm trying to ...
first of all just want to say that i'm not a programer but i'm trying to replicate a code and since my javascript is not the best i'm failing at it. The "animation" in css/java/wtv i'm trying to ...
I'm using c3js to make a chart with row data and want to use specific colours. var chart = c3.generate({ data: { x:'x', rows: [ ['x','Winter 2007-2008','Winter 2008-...
I'm using c3js to make a chart with row data and want to use specific colours. var chart = c3.generate({ data: { x:'x', rows: [ ['x','Winter 2007-2008','Winter 2008-...
According to the wow.js documentation I can set the bottom offset at which the animation will trigger: wow = new WOW( { boxClass: 'wow', // default animateClass: 'animated'...
According to the wow.js documentation I can set the bottom offset at which the animation will trigger: wow = new WOW( { boxClass: 'wow', // default animateClass: 'animated'...