jQuery add variable -
I've found a script that equals the height of the divs (bootstrap) in a row, for example, 20's How can you add a new height to calculate?
Here is the script and JS field:
$ ('. OK, .alert'). Height (function () {var h = _max ($ (this) .closest ('. Line'). ('. Well, .alert'), function (elem, index, list) find {return $ (elem)) . height ();}); Refund $ (H). height ();});
Try the following snippet:
var HeightIncrement = 20; // Increase the increment you need var h = _.max ($ ('. Line'). ('.info, .alert'), find function (emil, index, list) {return $ (elem). height () ;}); Var maxHeight = $ (HK) height (); $ ('OK, .lert'). Height (function () {max height + height increase;}); In short, it is already necessary to calculate the general height ( maxHyight variable), and then run . Highlight (...) function with an increased normal height value
Comments
Post a Comment