mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
/* Loading bars */
|
||||
|
||||
$(function() {
|
||||
"use strict";
|
||||
|
||||
$(".loadingbar-demo").loadingbar({
|
||||
direction: "left",
|
||||
done: function(data) {
|
||||
$.each(data.items, function(i, item) {
|
||||
$("<img/>").attr("src", item.media.m).prependTo($("#loading-frame"));
|
||||
if (i === 2) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$(function() {
|
||||
"use strict";
|
||||
|
||||
$(".loadingbar-demo-right").loadingbar({
|
||||
direction: "right",
|
||||
done: function(data) {
|
||||
$.each(data.items, function(i, item) {
|
||||
$("<img/>").attr("src", item.media.m).prependTo($("#loading-frame"));
|
||||
if (i === 2) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$(function() {
|
||||
"use strict";
|
||||
|
||||
$(".loadingbar-demo-down").loadingbar({
|
||||
direction: "down",
|
||||
done: function(data) {
|
||||
$.each(data.items, function(i, item) {
|
||||
$("<img/>").attr("src", item.media.m).prependTo($("#loading-frame"));
|
||||
if (i === 2) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$(function() {
|
||||
"use strict";
|
||||
|
||||
$(".loadingbar-demo-up").loadingbar({
|
||||
direction: "up",
|
||||
done: function(data) {
|
||||
$.each(data.items, function(i, item) {
|
||||
$("<img/>").attr("src", item.media.m).prependTo($("#loading-frame"));
|
||||
if (i === 2) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user