mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
removed loading spinner
This commit is contained in:
parent
3b5d429f87
commit
9ca764f493
3 changed files with 14 additions and 9 deletions
|
|
@ -51,6 +51,14 @@ keyStop: function(e, opt) {
|
|||
|
||||
* Updated jquery-terminal to v0.4.22.
|
||||
|
||||
* Refactore viewer module.
|
||||
|
||||
* Removed loading spinner by commenting jquery.fancybox.css block
|
||||
#fancybox-loading div {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: url('fancybox_loading.gif') center center no-repeat;
|
||||
}
|
||||
|
||||
2012.12.12, Version 0.1.8
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@ var CloudCommander, Util, DOM, CloudFunc, $;
|
|||
*/
|
||||
function getConfig(){
|
||||
return{
|
||||
/* function do her work
|
||||
* before FauncyBox shows
|
||||
*/
|
||||
afterLoad : $.fancybox.hideLoading,
|
||||
beforeShow : function(){
|
||||
DOM.Images.hideLoad();
|
||||
KeyBinding.unSet();
|
||||
|
|
@ -65,11 +63,10 @@ var CloudCommander, Util, DOM, CloudFunc, $;
|
|||
var lDir = cloudcmd.LIBDIRCLIENT + 'viewer/fancybox/',
|
||||
lFiles = [ lDir + 'jquery.fancybox.css',
|
||||
lDir + 'jquery.fancybox.js' ];
|
||||
|
||||
|
||||
DOM.anyLoadInParallel(lFiles, function(){
|
||||
|
||||
DOM.anyLoadOnLoad(lFiles, function(){
|
||||
console.timeEnd('fancybox load');
|
||||
pCallBack();
|
||||
Util.exec( pCallBack );
|
||||
})
|
||||
.cssSet({id:'viewer',
|
||||
inner : '#CloudViewer{' +
|
||||
|
|
|
|||
|
|
@ -90,13 +90,13 @@
|
|||
cursor: pointer;
|
||||
z-index: 8060;
|
||||
}
|
||||
|
||||
/*
|
||||
#fancybox-loading div {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: url('fancybox_loading.gif') center center no-repeat;
|
||||
}
|
||||
|
||||
*/
|
||||
.fancybox-close {
|
||||
position: absolute;
|
||||
top: -18px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue