ファンシーボックス2。
すべての「ボタンヘルパー」ボタンをタイトルに追加したいと思います。タイトルが左端に、ボタンが右端に配置されるようにします。
誰か教えてください、どうすればいいですか?
jquery.fancybox.css:
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-tmp
{
padding: 0;
margin: 0;
border: 0;
outline: none;
vertical-align: top;
}
.fancybox-wrap {
position: absolute;
top: 0;
left: 0;
z-index: 8020;
}
.fancybox-skin {
bottom: 15px;
position: relative;
background: DarkGreen;
color: #444;
text-shadow: none;
}
.fancybox-opened {
z-index: 8030;
}
.fancybox-outer, .fancybox-inner {
position: relative;
}
.fancybox-inner {
overflow: hidden;
}
.fancybox-image, .fancybox-iframe {
display: block;
width: 100%;
height: 100%;
}
.fancybox-image {
max-width: 100%;
max-height: 100%;
}
.fancybox-tmp {
position: absolute;
top: -99999px;
left: -99999px;
visibility: hidden;
max-width: 99999px;
max-height: 99999px;
overflow: visible !important;
}
.fancybox-overlay {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 8010;
}
.fancybox-title {
visibility: hidden;
font: 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
position: relative;
text-shadow: none;
z-index: 8050;
}
.fancybox-opened .fancybox-title {
visibility: visible;
}
.fancybox-title-inside-wrap {
position: relative;
padding-bottom: 5px;
font-weight: bold;
color: white;
text-align: left;
}
jquery.fancybox-buttons.css:
#fancybox-buttons {
display: none;
position: fixed;
right: 10px;
width: 100%;
z-index: 8050;
}
#fancybox-buttons ul {
display: block;
width: 133px;
height: 25px;
margin: 0 auto;
padding-right: 5px;
list-style: none;
}
#fancybox-buttons ul li {
float: left;
margin: 0;
padding: 0;
}
#fancybox-buttons a {
display: block;
width: 27px;
height: 25px;
text-indent: -9999px;
background-color: DarkGreen;
background-image: url('http://2.bp.blogspot.com/-5CNF6M2iOPM/UfVFckJ9jiI/AAAAAAAABjY/WT53trk2XUE/s1600/fancybox_buttons.png');
background-repeat: no-repeat;
outline: none;
}
#fancybox-buttons a:hover {
background-image: url('http://4.bp.blogspot.com/-M6nS5WXq-lI/UfVFcvlh7MI/AAAAAAAABjU/fMbwIP_esaQ/s1600/fancybox_buttons2.png');
background-color: ForestGreen;
}
#fancybox-buttons a.btnPrev {
background-position: -1px -3px;
}
#fancybox-buttons a.btnNext {
background-position: -31px -3px;
}
#fancybox-buttons a.btnPlay {
background-position: -1px -33px;
}
#fancybox-buttons a.btnPlayOn {
background-position: -31px -33px;
}
#fancybox-buttons a.btnToggle {
background-position: -1px -63px;
}
#fancybox-buttons a.btnToggleOn {
background-position: -31px -63px;
}
#fancybox-buttons a.btnClose {
height: 25px;
width: 25px;
background-position: -63px -3px;
background-color: DarkRed;
background-image: url('http://4.bp.blogspot.com/-M6nS5WXq-lI/UfVFcvlh7MI/AAAAAAAABjU/fMbwIP_esaQ/s1600/fancybox_buttons2.png');
}
#fancybox-buttons a.btnClose:hover {
background-color: Red;
}
#fancybox-buttons a.btnDisabled {
background-color: DarkGreen;
background-image: url('http://2.bp.blogspot.com/-5CNF6M2iOPM/UfVFckJ9jiI/AAAAAAAABjY/WT53trk2XUE/s1600/fancybox_buttons.png');
cursor: default;
}