fancybox把标题放在上面并留在那里 [英] fancybox put title on top and stay there
本文介绍了fancybox把标题放在上面并留在那里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Fancybox 2.0,我希望标题框显示在图像上方或图像顶部,而不是下方。
I'm working with Fancybox 2.0 and I want the titlebox to appear above the image or on top of the image, not below.
就在所有内容之上。
我试图让 fancybox-inner
样式位置:绝对
,但是 fancybox-wrap
的高度不会设置为绝对像素。
I tried to make the fancybox-inner
style position:absolute
, but then the height of the fancybox-wrap
wont be set to absolute pixels.
可能有人帮我实现这个目标?
Could someone help me achieve that?
推荐答案
最好也是最简单 - 使用帮手:
Best and simplest - using the helpers:
helpers : {
title : {
type: 'inside',
position : 'top'
}
}
这篇关于fancybox把标题放在上面并留在那里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文