fancyboxiframeに2つのタイトルボックスを設定しようとしています。現在入手しているバージョン1.3.4を使用しています。
そしてこれは関連するソースコードです:
$(document).ready(function() {
$("a.group").fancybox({
'zoomSpeedIn' : 600,
'zoomSpeedOut' : 500,
'easingIn' : 'easeOutBack',
'easingOut' : 'easeInBack'
});
$("a.iframe").fancybox({
'titlePosition' : 'over',
'showCloseButton' : false,
'titleShow' : true,
'scrolling' :'no',
'width' : 650,
'height' : 660,
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe',
'hideOnOverlayClick': false,
'hideOnContentClick': false,
'enableEscapeButton': false
});
});
ただし、ライトボックスの上部にあるタイトルボックスを削除せずに、ライトボックスの下部に同じタイトルボックスを配置したいと思います。だから私はfancyboxcssに別のプロパティを作成しました:
.fancybox-title-over1 {
position: absolute;
bottom: 0;
left: 0;
color: #FFF;
text-align: left;
}
#fancybox-title-over1 {
padding: 10px;
background-image: url('mybottomtitlebackground.png');
display: block;
}
しかし、ライトボックスに表示する方法がわかりません。
よろしくお願いします!