Move preview titles to the top
This commit is contained in:
@@ -131,33 +131,42 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
$("a.fancybox").fancybox({
|
$("a.fancybox").fancybox({
|
||||||
'titleShow' : false,
|
'titleShow' : true,
|
||||||
'transitionIn' : 'elastic',
|
'transitionIn' : 'elastic',
|
||||||
'transitionOut' : 'elastic',
|
'transitionOut' : 'elastic',
|
||||||
'easingIn' : 'easeOutBack',
|
'easingIn' : 'easeOutBack',
|
||||||
'easingOut' : 'easeInBack',
|
'easingOut' : 'easeInBack',
|
||||||
'type' : 'image',
|
'type' : 'image',
|
||||||
'autoScale' : true
|
'autoScale' : true,
|
||||||
|
'onComplete': function() {
|
||||||
|
$("#fancybox-title").css({'top':'0px', 'bottom':'auto'});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("a.fancybox-staging").fancybox({
|
$("a.fancybox-staging").fancybox({
|
||||||
'titleShow' : true,
|
'titleShow' : true,
|
||||||
'transitionIn' : 'elastic',
|
'transitionIn' : 'elastic',
|
||||||
'transitionOut' : 'elastic',
|
'transitionOut' : 'elastic',
|
||||||
'easingIn' : 'easeOutBack',
|
'easingIn' : 'easeOutBack',
|
||||||
'easingOut' : 'easeInBack',
|
'easingOut' : 'easeInBack',
|
||||||
'type' : 'image',
|
'type' : 'image',
|
||||||
'autoScale' : true
|
'autoScale' : true,
|
||||||
|
'onComplete': function() {
|
||||||
|
$("#fancybox-title").css({'top':'0px', 'bottom':'auto'});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("a.fancybox-noscaling").fancybox({
|
$("a.fancybox-noscaling").fancybox({
|
||||||
'titleShow' : false,
|
'titleShow' : true,
|
||||||
'transitionIn' : 'elastic',
|
'transitionIn' : 'elastic',
|
||||||
'transitionOut' : 'elastic',
|
'transitionOut' : 'elastic',
|
||||||
'easingIn' : 'easeOutBack',
|
'easingIn' : 'easeOutBack',
|
||||||
'easingOut' : 'easeInBack',
|
'easingOut' : 'easeInBack',
|
||||||
'type' : 'image',
|
'type' : 'image',
|
||||||
'autoScale' : false
|
'autoScale' : false,
|
||||||
|
'onComplete': function() {
|
||||||
|
$("#fancybox-title").css({'top':'0px', 'bottom':'auto'});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("a.fancybox-iframe").fancybox({
|
$("a.fancybox-iframe").fancybox({
|
||||||
|
|||||||
Reference in New Issue
Block a user