Error jquery con slider
AUTOR PREGUNTA #1
function notificationBoxOutput(type, message) { if (type == "success") { $('.notificacion').removeClass('warning').addClass('success'); } if (type == "warning") { $('.notificacion').removeClass('success').addClass('warning'); } $('.notificacion').html('<b>' + type + ':</b> ' + message); $('.notificacion').slideDown().delay(3000).slideUp(); }
Y mi css en caso de que el error este aqui:
div.notificacion { top: 0px; left: 0px; width: 100%; position: fixed; z-index: 3; background: #333333; text-align: center; vertical-align: center; opacity:0.85; filter:alpha(opacity=85); display: none; } div.warning { background-color: #990000; display: block; } div.success { background: #009900; display: block; }
Gracias de antemano por toda la ayuda que me puedan brindar:
-
¿Tienes la misma pregunta? Yo también