forked from science-ation/science-ation
- fix colliding class name
This commit is contained in:
parent
8aabd98fe0
commit
6a4645c770
2
sfiab.js
2
sfiab.js
@ -51,7 +51,7 @@ function notice_create(type,str,timeout)
|
|||||||
{
|
{
|
||||||
if(timeout == -1) timeout = 5000;
|
if(timeout == -1) timeout = 5000;
|
||||||
_notice_id++;
|
_notice_id++;
|
||||||
$("#notice_area").append("<div id=\"notice_"+_notice_id+"\" class=\"notice "+type+"\" >"+str+"</div>");
|
$("#notice_area").append("<div id=\"notice_"+_notice_id+"\" class=\"notice_all "+type+"\" >"+str+"</div>");
|
||||||
$("#notice_"+_notice_id).show('puff');
|
$("#notice_"+_notice_id).show('puff');
|
||||||
$("#notice_"+_notice_id).fadeTo('fast', 0.85);
|
$("#notice_"+_notice_id).fadeTo('fast', 0.85);
|
||||||
setTimeout("notice_delete("+_notice_id+")", timeout);
|
setTimeout("notice_delete("+_notice_id+")", timeout);
|
||||||
|
@ -323,7 +323,7 @@ div.notice_area {
|
|||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.notice_area div.notice {
|
div.notice_area div.notice_all {
|
||||||
padding: 0.1em 0;
|
padding: 0.1em 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
Reference in New Issue
Block a user