|
|
|
@@ -729,10 +729,10 @@ function getYPosition(e){ |
|
|
|
function showTip(tip, type,left,top) { |
|
|
|
var $tip = $('#tipmsg'); |
|
|
|
var tipmsg = document.getElementById("tipmsg") |
|
|
|
var style="z-index:10024;top:" + top + "px;left:" + left + "px;position:absolute;width:200px;height:30px"; |
|
|
|
var style="z-index:10024;top:" + top + "px;left:" + left + "px;position:absolute;width:200px;height:60px;vertical-align:middle;"; |
|
|
|
console.log(style); |
|
|
|
tipmsg.style = style; |
|
|
|
var html ="<p style=\"height:30px; line-height:30px; width:200px; overflow:hidden;\">" + tip + "</p>" |
|
|
|
var html ="<p>" + tip + "</p>" |
|
|
|
$tip.stop(true).prop('class', 'alert alert-' + type).html(html).fadeIn(500).delay(2000).fadeOut(500); |
|
|
|
} |
|
|
|
|
|
|
|
|