mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
minor changes
This commit is contained in:
parent
9e63fbceea
commit
debb8e161c
1 changed files with 13 additions and 9 deletions
|
|
@ -6,20 +6,24 @@ CloudCommander.Viewer = {};
|
|||
CloudCommander.Viewer.FancyBox = {
|
||||
load: function(){
|
||||
|
||||
var lInit_f = (function(pParent){
|
||||
return function(){
|
||||
$(".fancybox").fancybox({
|
||||
openEffect : 'none',
|
||||
closeEffect : 'none'
|
||||
});
|
||||
|
||||
pParent.set();
|
||||
};
|
||||
});
|
||||
|
||||
CloudCommander.cssLoad({
|
||||
src : 'http://fancyapps.com/fancybox/source/jquery.fancybox.css'
|
||||
});
|
||||
|
||||
|
||||
CloudCommander.jsload(
|
||||
'http://fancyapps.com/fancybox/source/jquery.fancybox.pack.js',
|
||||
function(){
|
||||
$(".fancybox").fancybox({
|
||||
openEffect : 'none',
|
||||
closeEffect : 'none'
|
||||
});
|
||||
|
||||
this.set();
|
||||
});
|
||||
lInit_f(this));
|
||||
|
||||
},
|
||||
set: function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue