removed loading spinner

This commit is contained in:
coderaiser 2012-12-25 10:40:46 -05:00
parent 3b5d429f87
commit 9ca764f493
3 changed files with 14 additions and 9 deletions

View file

@ -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

View file

@ -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{' +

View file

@ -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;